/* ----------------------------
   1. Global & Utility Styles (from about.css)
---------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Gilroy", sans-serif, Arial, Helvetica, sans-serif;
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.pageOne {
    position: relative;
    z-index: 1;
    padding: 0 important;
}

@font-face {
    font-family: "Gilroy";
    src: url("fonts/Gilroy-Light.otf");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Gilroy H";
    src: url("fonts/Gilroy-ExtraBold.otf");
}

body {
    background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}

.Work,
.second-page,
.third-page,
.last-page,
.About {
    padding: 1.5rem;
}

::selection {
    background-color: black;
    color: white;
}

/* ----------------------------
   2. Navigation & Mouse Follower
---------------------------- */

.mouse-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    opacity: 0.3;
    background: black;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.02s ease-out;
}

.bottom-nav a {
    text-decoration: none;
    color: black;
}

.nav-item span {
    position: relative;
    z-index: 2;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    transform: scale(1.05);
    color: #374151;
}

.nav-item:active {
    transform: scale(0.95);
}

.nav-item.active {
    background-color: transparent;
    color: #111827;
    box-shadow: none;
}

.nav-item.active span {
    color: #111827;
}

.nav-item::before {
    display: none;
}

.nav-item.active::before {
    display: none;
}

.nav-item:not(.active):hover {
    background-color: transparent;
}

.nav-item:focus {
    outline-offset: 2px;
}

/* ----------------------------
   3. First Page - About Section
---------------------------- */

.first-page {
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    z-index: 1;
}

.left {
    flex: 1;
    width: 80%;
}

.left h1 {
    font-size: 100px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}

.left p {
    font-size: 30px;
    letter-spacing: 1px;
}

.right {
    flex: 1;
    position: sticky;
    top: 0;
    height: auto;
}

.right img {
    margin-top: 20px;
    max-width: 90%;
    height: auto;
    object-fit: cover;
}

.anime-text-container {
    min-height: auto;
    position: relative;
    z-index: 1;
}

.word {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
    backdrop-filter: blur(2px);
}

/* ----------------------------
   4. Second Page - What I Do
---------------------------- */

.second-page {
    height: auto;
    display: flex;
    justify-content: flex-end;
    padding-right: 5vw;
}

.second-content {
    text-align: right;
}

.About .second-content {
    text-align: left;
}

.About .second-content h1:nth-of-type(2) {
    text-align: right;
}

.About .second-content p:nth-of-type(2) {
    text-align: right;
}

.About .second-content p:first-of-type {
    margin-bottom: 80px;
}

.second-page h1 {
    font-size: 100px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 20px;
}

.second-page p {
    font-size: 30px;
    letter-spacing: 1px;
}

/* ----------------------------
   5. Third Page - Say Hello
---------------------------- */
.last-page h1 {
    font-weight: normal;
    font-size: 180px;
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 150px;
}

.last-page a {
    color: black;
}

/* ----------------------------
   6. Project Filters (optional UI)
---------------------------- */

.project-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 5rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    position: relative;
}

.filter-btn.active {
    font-weight: bold;
}

/* ----------------------------
   7. Responsive Media Queries
---------------------------- */

@media (max-width: 1024px) {
    .top-nav {
        right: 30px !important;
    }

    .nav-item {
        padding: 10px 20px;
        font-size: 14px;
    }

    .name {
        font-size: 3.5rem !important;
    }

    .hero-description {
        font-size: 1.1rem !important;
        max-width: 350px !important;
    }

    .left h1 {
        font-size: 80px;
    }

    .left p {
        font-size: 20px;
        width: 90%;
        line-height: 1.5;
    }

    .second-page h1 {
        font-size: 60px;
    }

    .second-page p {
        font-size: 20px;
        width: 90%;
        line-height: 1.5;
    }

    .last-page h1 {
        font-size: 80px;
    }

    .grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .bottom-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .third-page h1 {
        font-size: 50px;
    }

    .project-filters {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .top-nav {
        position: absolute !important;
        top: 32px !important;
        right: 30px !important;
        left: auto !important;
        transform: none !important;
        display: flex;
        gap: 20px;
        background: none;
        backdrop-filter: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }

    .nav-item:not([data-id="contact"]) {
        display: none !important;
    }

    .nav-item {
        padding: 0;
        font-size: 12px;
        background: none;
        border: none;
        color: white;
    }

    .name {
        font-size: 2.5rem !important;
        text-align: left !important;
    }

    .hero-description {
        font-size: 1rem !important;
        max-width: 300px !important;
        margin-top: 15px !important;
    }

    .first-page {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .left,
    .right {
        width: 100%;
    }

    .left h1 {
        font-size: 50px;
        text-align: center;
        margin-bottom: 1rem;
    }

    .left p {
        font-size: 16px;
        width: 90%;
        margin: 0 auto;
        text-align: center;
        line-height: 1.6;
    }

    .right img {
        width: 100%;
        height: auto;
    }

    .second-page h1 {
        font-size: 40px;
        text-align: center;
        margin-bottom: 1rem;
    }

    .second-page p {
        font-size: 16px;
        width: 90%;
        margin: 0 auto;
        text-align: center;
        line-height: 1.6;
    }

    .About .second-page h1 {
        text-align: left;
    }

    .About .second-page p {
        text-align: left;
        margin: 0;
    }

    .last-page h1 {
        font-size: 60px;
        text-align: center;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bottom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .bottom-grid img {
        height: 150px;
    }

    .third-page {
        padding: 2rem 1rem;
    }

    .third-page h1 {
        font-size: 20px;
        text-align: left;
        margin-bottom: 2rem;
    }

    .project-filters {
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        font-size: 16px;
    }

    .project {
        padding: 1rem 0;
    }

    .project-title {
        font-size: 18px;
    }

    .project-description {
        font-size: 12px;
        max-width: 300px;
    }

    .nav-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .filter-btn {
        min-height: 44px;
        padding: 12px 20px;
    }

    .Work,
    .About,
    .third-page {
        padding: 1rem;
    }

    .project:hover {
        background-color: transparent;
        color: inherit;
        padding-left: 0;
    }

    .project:active {
        background-color: black;
        color: white;
        padding-left: 20px;
    }
}

.transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    pointer-events: none;
}

.transition-row {
    flex: 1;
    display: flex;
}

.transition-row.row-1 .block {
    transform-origin: top;
}

.transition-row.row-2 .block {
    transform-origin: bottom;
}

.block {
    transform-origin: top;
    flex: 1;
    background-color: black;
    transform: scaleY(1);
    will-change: transform;
    visibility: visible;
}

/* ----------------------------
   1. Global Base Styles
---------------------------- */

.pageOne {
    height: 100vh;
    width: 100%;
}

/* ----------------------------
   3. Utility / Misc Elements
---------------------------- */

::selection {
    background-color: black;
    color: white;
}

.project-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 5rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    position: relative;
}

.filter-btn.active {
    font-weight: bold;
}

/* ----------------------------
   4. Navigation
---------------------------- */

.bottom-nav {
    background-color: #f3f4f6;
    border-radius: 0;
    padding: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-item {
    position: relative;
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    outline: none;
    overflow: hidden;
}

.nav-item span {
    position: relative;
    z-index: 2;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    transform: scale(1.05);
    color: #374151;
}

.nav-item:active {
    transform: scale(0.95);
}

.nav-item.active {
    background-color: transparent;
    color: white;
    box-shadow: none;
}

.nav-item.active span {
    color: white;
}

.nav-item::before {
    display: none;
}

.nav-item.active::before {
    display: none;
}

.nav-item:not(.active):hover {
    background-color: transparent;
}

.nav-item:focus {
    outline-offset: 2px;
}

/* ----------------------------
   5. Hero Page
---------------------------- */

.hero-heading {
    margin: 0;
    margin-top: 2rem;
}

.name {
    font-size: 12.6vw;
    line-height: 0.8;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-page {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 2rem 2rem;
}

.right {
    width: 100%;
    text-align: center;
}

.right .text {
    font-size: 20px;
    margin: 220px auto 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
}

.right span {
    border: 1px solid black;
    border-radius: 20px;
    padding: 10px 14px;
}

.right a {
    text-decoration: none;
    color: black;
    display: flex;
}

.social {
    display: inline-block;
    margin-top: 10px;
    gap: 10px;
}

.socials {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.socials a {
    text-decoration: none;
}

/* ----------------------------
   6. Responsive Media Queries
---------------------------- */

@media (max-width: 1024px) {
    .right {
        padding-left: 100px;
    }

    .right .text {
        width: 70%;
    }

    .left .textbot {
        font-size: 18px;
        padding-left: 1rem;
    }
}

@media (max-width: 768px) {
    .name {
        font-size: 3rem;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem !important;
        max-width: 300px !important;
    }

    .hero-page {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 1rem;
    }

    .left,
    .right {
        width: 100%;
        padding: 0;
    }

    .right {
        padding-left: 0;
        text-align: center;
    }

    .right .text {
        margin-top: 20px;
        font-size: 1rem;
        width: 90%;
        margin: 20px auto 30px;
        text-align: center;
    }

    .right span {
        display: inline-block;
        margin: 0 auto;
    }

    .socials {
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    video {
        width: 100%;
        height: 100%;
    }

    .left .textbot {
        font-size: 16px;
        padding: 1rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-grid img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .top-nav {
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        transform: none !important;
        padding: 6px;
    }

    .nav-item:not([data-id="contact"]) {
        display: none !important;
    }

    .nav-item {
        padding: 6px 12px;
        font-size: 11px;
    }

    .name {
        font-size: 2rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        max-width: 280px !important;
        margin-top: 10px !important;
    }

    .left h1 {
        font-size: 40px;
    }

    .left p {
        font-size: 14px;
        width: 95%;
    }

    .second-page h1 {
        font-size: 35px;
    }

    .second-page p {
        font-size: 14px;
        width: 95%;
    }

    .last-page h1 {
        font-size: 50px;
    }

    .bottom-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .bottom-grid img {
        height: 120px;
    }

    .third-page h1 {
        font-size: 20px;
    }

    .project-filters {
        gap: 0;
        justify-content: center;
    }

    .filter-btn {
        font-size: 8px;
        padding: 1px 1px;
        letter-spacing: -2px;
    }

    #webBtn {
        margin-left: 2.5rem;
    }

    #articlesBtn {
        margin-right: 2.5rem;
    }

    #productBtn {
        display: none;
    }

    .project-title {
        font-size: 16px;
    }

    .project-description {
        font-size: 11px;
        max-width: 250px;
    }

    #contactModal {
        width: 90vw !important;
        right: -90vw !important;
    }

    #contactModal.active {
        right: 0 !important;
    }
}

.transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    pointer-events: none;
}

.transition-row {
    flex: 1;
    display: flex;
}

.transition-row.row-1 .block {
    transform-origin: top;
}

.transition-row.row-2 .block {
    transform-origin: bottom;
}

.block {
    transform-origin: top;
    flex: 1;
    background-color: black;
    transform: scaleY(1);
    will-change: transform;
    visibility: visible;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.video-wrapper video {
    width: 100%;
    height: 95%;
    object-fit: cover;
    display: block;
}

/* ----------------------------
   WORK.CSS CONTENT STARTS HERE
---------------------------- */

html {
    scroll-behavior: smooth;
}

.mouse-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    opacity: 0.3;
    background: black;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.02s ease-out;
}

.grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.left-large {
    grid-row: span 2;
}

.left-large {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.left-large img {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-out;
}

.left-large:hover img {
    transform: scale(1.1);
    transition: all 0.4s ease-out;
}

.left-large:hover .hover-text {
    opacity: 1;
}

.grid-container img {
    width: 100%;
    display: block;
    border-radius: 1px;
    object-fit: cover;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
    overflow: hidden;
}

.bottom-right {
    height: 390px;
    object-fit: cover;
}

.bottom-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1px;
    display: block;
    transition: transform 0.4s ease-out;
}

.bottom-grid img {
    transition: transform 0.4s ease-out;
}

.bottom-grid img:hover {
    transform: scale(1.1);
    transition: all 0.4s ease-out;
}

.effect {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.effect img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease-out;
}

.hover-text {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.effect:hover img {
    transform: scale(1.1);
}

.effect:hover .hover-text {
    opacity: 1;
}

.effect2 {
    position: relative;
    overflow: hidden;
    border-radius: 1px;
    height: 200px;
}

.effect2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
    display: block;
}

.effect2:hover img {
    transform: scale(1.1);
}

.hover-text2 {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    font-size: 2.9rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.effect2:hover .hover-text2 {
    opacity: 1;
}

.bottom-nav-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.nav-item span {
    position: relative;
    z-index: 2;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    transform: scale(1.05);
    color: #374151;
}

.nav-item:active {
    transform: scale(0.95);
}

.nav-item.active {
    background-color: transparent;
    color: #111827;
    box-shadow: none;
}

.nav-item.active span {
    color: #111827;
}

.nav-item::before {
    display: none;
}

.nav-item.active::before {
    display: none;
}

.nav-item:not(.active):hover {
    background-color: transparent;
}

.nav-item:focus {
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-grid img {
        height: 150px;
    }
}

.second-page {
    margin-top: 50px;
    width: 100%;
    height: 100%;
}

.second-page .left {
    margin: 0;
    justify-content: center;
    align-items: center;
}

.left h1 {
    font-size: 70px;
    margin-bottom: 30px;
    font-weight: 900;
}

.left p {
    margin-bottom: 40px;
    font-weight: 500;
}

.spa {
    border-radius: 35px;
    border: solid black 1px;
    padding: 10px 20px;
}

.third-page {
    margin-top: 70px;
}

.third-page h1 {
    font-size: 70px;
    margin-bottom: 30px;
}

.last-page {
    width: 100%;
    font-size: clamp(1rem, 8vw, 100px);
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    padding: 1rem;
    margin-bottom: 90px;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
}

.marquee {
    display: inline-flex;
    animation: scroll 20s linear infinite;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
}

.marquee span {
    display: inline-block;
    margin-right: 2rem;
    white-space: nowrap;
}

.marquee-container:active {
    cursor: grabbing;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.left,
.center,
.right {
    flex: 1;
    text-align: center;
    min-width: 100px;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

@media (max-width: 600px) {
    .last-page {
        flex-direction: column;
        font-size: 2.5rem;
        text-align: center;
    }

    .left,
    .center,
    .right {
        text-align: center !important;
        flex: none;
    }
}

.project {
    padding: 1.8rem 0;
    border-top: 1px solid #e5e5e5;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.project:hover {
    background-color: black;
    color: white;
    padding-left: 20px;
    transition: all 0.5s ease-out;
}

.project-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-info {
    flex: 1;
}

.project-arrow {
    margin-left: auto;
    margin-right: 20px;
}

.project-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 0.25rem;
}

.project-title {
    font-weight: 500;
    font-size: 20px;
}

.project-description {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-width: 400px;
    line-height: 1.4;
}

.project:hover .project-description {
    opacity: 1;
    transform: translateY(0);
    color: #ccc;
}

.hover-underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s;
}

.hover-underline:hover::after {
    width: 100%;
}

::selection {
    background-color: black;
    color: white;
}

.project-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 5rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    position: relative;
}

.filter-btn.active {
    font-weight: bold;
}

.transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    pointer-events: none;
}

.transition-row {
    flex: 1;
    display: flex;
}

.transition-row.row-1 .block {
    transform-origin: top;
}

.transition-row.row-2 .block {
    transform-origin: bottom;
}

.block {
    transform-origin: top;
    flex: 1;
    background-color: black;
    transform: scaleY(1);
    will-change: transform;
    visibility: visible;
}

@media (max-width: 768px) {

    .cursor,
    .mouse-follower {
        display: none !important;
    }

    .hover-text,
    .hover-text2,
    .project-description {
        display: none !important;
    }

    .left-large img {
        height: 200px;
        object-fit: cover;
    }

    .effect img {
        height: 150px;
        object-fit: cover;
    }
}

.physics-container {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    pointer-events: auto;
}

.object-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.object {
    position: absolute;
    width: max-content;
    font-size: 1.5rem;
    font-weight: 500;
    background-color: #25283b;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 10rem;
    cursor: grab;
    user-select: none;
    z-index: 2;
}

.object:active {
    cursor: grabbing;
}

@media (max-width: 768px) {
    .object-container {
        display: none;
    }

    .physics-container {
        height: auto;
    }
}

.physics-container .last-page {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    text-align: center;
    margin-top: 50px;
}

.physics-container .last-page a {
    text-decoration: underline;
    color: inherit;
    font-size: 2rem;
    display: inline-block;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.physics-container .last-page a:hover {
    transform: scale(1.05);
}

.contact-container {
    background: transparent;
    padding: 50px 30px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #222;
}

form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 500;
    color: #333;
}

form input,
form textarea {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: #f3f3f3;
    font-size: 14px;
    outline: none;
    resize: none;
    box-sizing: border-box;
}

form input:focus,
form textarea:focus {
    background: #e9e9e9;
}

form textarea {
    height: 120px;
    margin-bottom: 30px;
}

button[type="submit"] {
    width: 100%;
    margin-top: auto;
    margin-bottom: 30px;
    padding: 14px;
    background: #111;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #333;
}

#contactModal {
    display: block;
    position: fixed;
    right: -600px;
    top: 30vh;
    width: 600px;
    height: 70vh;
    background: white;
    z-index: 999;
    transition: right 0.3s ease;
}

#contactModal.active {
    right: 0 !important;
}

/* Custom Success Popup Styles */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    text-align: center;
    min-width: 300px;
    max-width: 400px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.success-popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.success-popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-popup-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: checkmark 0.6s ease-in-out 0.3s both;
}

.success-popup-icon::after {
    content: "✓";
    color: white;
    font-size: 30px;
    font-weight: bold;
}

.success-popup h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #111827;
    font-weight: 600;
}

.success-popup p {
    margin: 0 0 25px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
}

.success-popup-close {
    background: #111827;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.success-popup-close:hover {
    background: #374151;
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

@media (max-width: 480px) {
    .success-popup {
        min-width: 280px;
        max-width: 90vw;
        padding: 30px 20px;
    }

    .success-popup h3 {
        font-size: 20px;
    }

    .success-popup p {
        font-size: 14px;
    }
}