/* =========================
   Universal
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: #C7C7C7;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: white;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container,
.contanier {
    width: 90%;
    margin: auto;
}

/* =========================
   Navbar
========================= */

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.nav-bar h3 {
    color: #fff;
    font-size: 32px;
    transition: .4s;
}

.nav-bar h3:hover {
    color: yellow;
}

.nav-bar .nav-list {
    display: flex;
    gap: 20px;
}

.nav-bar .nav-list a {
    font-size: 25px;
    transition: .4s;
}

.nav-bar .nav-list a:hover {
    color: yellow;
}


/* =========================
   Hero Section
========================= */

.contanierHero {
    width: 80%;
    margin: auto;
}

.contanierHero .Hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.contanierHero .Hero-section h2 {
    font-size: 65px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contanierHero .Hero-section .Left {
    flex: 1;
}

.contanierHero .Hero-section .Left p {
    font-size: 27px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #eaeaea;
    letter-spacing: .3px;
    line-height: 1.6;
}

.contanierHero .Hero-section .Contact {
    margin: 15px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contanierHero .Hero-section .Contact .btnhero {
    display: flex;
    align-items: center;
    background-color: #D3E97A;
    border-radius: 20px;
    padding: 5px 10px;
}

.contanierHero .Hero-section .Contact .btnhero h4 {
    width: 130px;
    text-align: center;
    color: black;
}

.contanierHero .Hero-section .Contact .LinkedIn {
    background-color: #1A1A1A;
    padding: 10px;
    border-radius: 50%;
}

.contanierHero .Hero-section .Right img {
    width: 800px;
    height: 600px;
    border-radius: 30px;
}

/* =========================
   Line
========================= */

.line {
    width: 100%;
    margin: 100px 0;
}

/* =========================
   Work Title
========================= */

.workTitle {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.workTitle h3 {
    font-size: 55px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.workTitle p {
    font-size: 27px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #eaeaea;
    letter-spacing: .3px;
    line-height: 1.6;
}

/* =========================
   Work Section
========================= */

.work {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.work .Left {
    margin: 40px 0;
    background-color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 860px;
    min-height: 500px;
    border-radius: 20px;
    padding: 20px;
}

.work .Left img {
    width: 85%;
    height: auto;
}

.work .RightForm {
    flex: 1;
    color: white;
    margin: 70px 0 35px;
}

.work .RightForm h4 {
    font-size: 50px;
    color: #fff;
}

.work .RightForm .Letter {
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #eaeaea;
    letter-spacing: .3px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.work .RightForm img {
    width: 100%;
}

.work .RightForm .info {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.work .RightForm .info h6 {
    font-size: 17px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.work .RightForm .info .PINFO {
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #eaeaea;
    letter-spacing: .3px;
    line-height: 1.6;
}

.work .RightForm .Demos {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.work .RightForm .Demos .links {
    display: flex;
    gap: 10px;
    text-decoration: underline;
}

/* =========================
   Buttons
========================= */

.btn {
    color: #D3E97A;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: .3s ease;
}

.btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #D3E97A;
}

.arrow {
    font-size: 14px;
}

.github svg {
    display: block;
}

/* =========================
   Project Icon Box
========================= */

.project-icon-box {
    background-color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 460px !important;
    min-width: 460px !important;
    max-width: 460px !important;
    min-height: 420px;
    border-radius: 24px;
    padding: 40px;
    flex-shrink: 0;
    border: 1px solid #222;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    margin: 40px 0;
}

.project-icon-box:hover {
    border-color: rgba(211, 233, 122, 0.3);
    box-shadow: 0 0 40px rgba(211, 233, 122, 0.05);
}

.project-icon-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.project-icon-inner svg {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 12px rgba(211, 233, 122, 0.2));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.project-icon-box:hover .project-icon-inner svg {
    filter: drop-shadow(0 0 24px rgba(211, 233, 122, 0.5));
    transform: scale(1.05);
}

.project-label {
    color: #D3E97A;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Alternate layout - right icon */
.work-reverse {
    flex-direction: row-reverse;
}

.project-line {
    margin: 60px 0;
}

/* =========================
   Carousel Dots
========================= */

.proj-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #444;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.proj-dot.active {
    background: #D3E97A;
    transform: scale(1.3);
}

/* =========================
   Skills Section
========================= */

.skills-section {
    padding: 20px 0 40px;
}

.skills-header {
    margin-bottom: 60px;
}

.skills-header h3 {
    font-size: 55px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.skills-header p {
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #eaeaea;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

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

.skill-category {
    background-color: #0f0f0f;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 28px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(211, 233, 122, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(211, 233, 122, 0.06);
}

.skill-category h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.skill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D3E97A;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(211, 233, 122, 0.6);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: #1A1A1A;
    color: #D3E97A;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(211, 233, 122, 0.2);
    letter-spacing: 0.3px;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    cursor: default;
}

.skill-tag:hover {
    background-color: rgba(211, 233, 122, 0.12);
    border-color: rgba(211, 233, 122, 0.6);
    transform: translateY(-1px);
}

/* =========================
   About Me
========================= */

.About {
    display: flex;
    gap: 150px;
    align-items: flex-start;
}

.About h3 {
    font-size: 70px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.About h5 {
    font-size: 37px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #EAEAEA;
    letter-spacing: .3px;
    line-height: 1.6;
}

.About p {
    font-size: 27px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #C7C7C7;
    letter-spacing: .3px;
    line-height: 1.6;
}

/* =========================
   More About Me Button
========================= */

.moreaboutme {
    color: #D3E97A;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: .3s ease;
    margin-top: 50px;
}

.moreaboutme::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #D3E97A;
}

.moreaboutme:hover {
    transform: translateY(-2px);
}

.lineafteraboutme {
    width: 100%;
    margin-top: 150px;
    margin-bottom: 50px;
}

/* =========================
   Contact
========================= */

.contact {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.contact .letscontact {
    flex: 1;
}

.contact .letscontact h3 {
    font-size: 70px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact .letscontact p {
    font-size: 27px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #C7C7C7;
    letter-spacing: .3px;
    line-height: 1.6;
}

.contact .letscontact h6 {
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #C7C7C7;
    letter-spacing: .3px;
    line-height: 1.6;
    margin-top: 120px;
}

.contact .letscontact .Social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* =========================
   Form
========================= */

.contact .forms {
    flex: 1;
    width: 100%;
}

.contact .forms form {
    display: flex;
    flex-direction: column;
}

.contact .forms label {
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    color: #C7C7C7;
    margin-bottom: 8px;
}

.contact .forms input,
.contact .forms textarea {
    width: 100%;
    background-color: #1A1A1A;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    padding: 12px;
    margin-bottom: 20px;
}

.contact .forms input {
    height: 50px;
}

.contact .forms textarea {
    min-height: 150px;
    resize: vertical;
}

.contact .forms button {
    margin: 20px 0;
    background-color: #D3E97A;
    color: black;
    width: 140px;
    border: none;
    border-radius: 15px;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: .4s;
}

.contact .forms button:hover {
    background-color: white;
    transform: translateY(-2px);
}

/* =========================
   Active Navigation Link
========================= */

.nav-bar .nav-list a.active {
    color: #D3E97A !important;
    position: relative;
}

.nav-bar .nav-list a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D3E97A;
}

/* =========================
   Custom Scrollbar
========================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #1A1A1A;
    border-radius: 10px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #D3E97A;
}

/* =========================
   Hero Contact Hover Effects
========================= */

.contanierHero .Hero-section .Contact a.btnhero {
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.contanierHero .Hero-section .Contact a.btnhero:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

.contanierHero .Hero-section .Contact a.LinkedIn {
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.contanierHero .Hero-section .Contact a.LinkedIn:hover {
    background-color: #D3E97A;
    transform: translateY(-2px);
}

.contanierHero .Hero-section .Contact a.LinkedIn img {
    transition: filter 0.3s ease;
}

.contanierHero .Hero-section .Contact a.LinkedIn:hover img {
    filter: brightness(0);
}

/* =========================
   Footer Social Hover Effects
========================= */

.contact .letscontact .Social a {
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-flex;
    padding: 12px;
    border-radius: 50%;
    background-color: #1A1A1A;
    align-items: center;
    justify-content: center;
}

.contact .letscontact .Social a:hover {
    transform: translateY(-4px);
    background-color: #D3E97A;
}

.contact .letscontact .Social a img {
    width: 20px;
    height: auto;
    transition: filter 0.3s ease;
}

.contact .letscontact .Social a:hover img {
    filter: brightness(0);
}

/* =========================
   Form Validation Styles
========================= */

.contact .forms form {
    position: relative;
}

.contact .forms input.input-error,
.contact .forms textarea.input-error {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 5px rgba(255, 77, 77, 0.2);
}

.error-message {
    color: #ff4d4d;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    margin-top: -15px;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}

/* =========================
   Success Toast Notification
========================= */

.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    animation: toast-slide-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(211, 233, 122, 0.3);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(211, 233, 122, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 380px;
}

.toast-icon {
    background-color: rgba(211, 233, 122, 0.15);
    color: #D3E97A;
    font-size: 18px;
    font-weight: bold;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-body {
    flex-grow: 1;
}

.toast-body h4 {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 3px 0;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.toast-body p {
    color: #C7C7C7;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #888888;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: 10px;
    transition: color 0.3s;
}

.toast-close:hover {
    color: #FFFFFF;
}

@keyframes toast-slide-in {
    from { transform: translateX(100%) translateY(-20px); opacity: 0; }
    to   { transform: translateX(0) translateY(0); opacity: 1; }
}

.toast-fadeout {
    animation: toast-fade-out 0.4s forwards ease-in-out;
}

@keyframes toast-fade-out {
    from { transform: translateY(0); opacity: 1; }
    to   { transform: translateY(-20px); opacity: 0; }
}

/* =========================
   Reveal Animations
========================= */

.reveal-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Responsive — Tablet
========================= */

@media (max-width: 992px) {
    .work { flex-direction: column; }
    .work-reverse { flex-direction: column; }
    .workTitle { flex-direction: column; }
    .About { flex-direction: column; gap: 40px; }
    .contact { flex-direction: column; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }

    .contanierHero .Hero-section { flex-direction: column; text-align: center; }
    .nav-bar { flex-direction: column; gap: 15px; }

    .contact .letscontact h3,
    .About h3 { font-size: 50px; }

    .About p,
    .contact .letscontact p { font-size: 22px; }

    .skills-header h3 { font-size: 40px; }

    .project-icon-box {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .contanierHero { width: 95%; }
    .nav-bar .nav-list { flex-wrap: wrap; justify-content: center; }
    .nav-bar h3 { font-size: 26px; }

    .contanierHero .Hero-section h2 { font-size: 40px; }
    .contanierHero .Hero-section .Left p { font-size: 18px; }

    .workTitle h3 { font-size: 40px; }
    .workTitle p { font-size: 18px; }

    .work .RightForm h4 { font-size: 32px; }
    .work .RightForm .Letter { font-size: 18px; }
    .work .RightForm .info { flex-direction: column; gap: 10px; }

    .About h3,
    .contact .letscontact h3 { font-size: 38px; }
    .About h5 { font-size: 24px; }
    .About p,
    .contact .letscontact p { font-size: 18px; }

    .moreaboutme { font-size: 18px; margin-left: 0; }
    .contact .forms label { font-size: 18px; }
    .contact .letscontact h6 { margin-top: 50px; }
    .lineafteraboutme { margin-top: 80px; }

    .skills-grid { grid-template-columns: 1fr; }
    .skills-header h3 { font-size: 32px; }
    .skills-header p { font-size: 18px; }

    .project-icon-inner svg { width: 70px; height: 70px; }
}

@media (max-width: 480px) {
    .contanierHero .Hero-section h2 { font-size: 30px; }
    .workTitle h3 { font-size: 30px; }
    .work .RightForm h4 { font-size: 24px; }
    .work .Left { min-height: 300px; }

    .About h3,
    .contact .letscontact h3 { font-size: 30px; }
    .About h5 { font-size: 20px; }
    .About p,
    .contact .letscontact p { font-size: 16px; }
    .contact .forms button { width: 100%; }
}