@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;700&display=swap');

/* =========================================================
   ORIGINAL LAYOUT - OFF WHITE THEME + LIGHTING EFFECTS
   Light Blue & Dark Green Color Palette
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-color: #FAFAF7;          /* Warm Cream - used by Awwwards winners */
    --second-bg-color: #F2F2ED;   /* Soft warm grey */
    --card-bg: #FFFFFF;
    --text-color: #1C1C1E;        /* Deep Charcoal */
    --text-muted: #6B7280;        /* Warm Grey */
    --main-color: #7C3AED;        /* Electric Violet - top portfolio accent */
    --accent-color: #F59E0B;      /* Amber Gold */
    --glass-border: rgba(124, 58, 237, 0.18);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

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

body {
    background: var(--bg-color);
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

#tsparticles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: var(--bg-color);
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    position: relative;
    z-index: 2;
}

/* Section Headings */
.heading {
    text-align: center;
    font-size: 4.5rem;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    display: inline-block;
    background: var(--main-color);
    border: 1px solid rgba(124, 58, 237, 0.35);
    padding: 0.6rem 2.5rem;
    border-radius: 8px;
    width: 100%;
}

.heading span {
    color: #ddd6fe;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
}

.header.sticky {
    padding: 1.5rem 9%;
    box-shadow: 0 5px 24px rgba(124, 58, 237, 0.08);
}

.logo {
    font-size: 2.8rem;
    color: var(--text-color);
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    cursor: default;
    letter-spacing: 2px;
    position: relative;
}

.logo span {
    color: var(--main-color);
}

.logo:hover {
    animation: glitch 0.3s linear infinite;
}

@keyframes glitch {
    0%   { transform: translate(0) }
    20%  { transform: translate(-2px, 2px) }
    40%  { transform: translate(-2px, -2px) }
    60%  { transform: translate(2px, 2px) }
    80%  { transform: translate(2px, -2px) }
    100% { transform: translate(0) }
}

/* Navbar tabs with lighting effect on hover */
.navbar a {
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-left: 4rem;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

/* Underline lighting animation */
.navbar a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--main-color);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.8), 0 0 20px rgba(124, 58, 237, 0.4);
    transition: width 0.35s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    text-shadow: 0 0 16px rgba(124, 58, 237, 0.45);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.hero-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-color);
}

.hero-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span.multiple-text {
    color: var(--main-color);
}

.hero-content h1 {
    font-size: 5.8rem;
    font-weight: 900;
    margin: 1rem 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 1.7rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

/* Social icons */
.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 8px;
    font-size: 2.2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.social-media a:hover {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

/* Yasio style uniform slide up animation component */
.yasio-slide {
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.yasio-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

/* Base buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 6px;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: .2rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    transition: 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.4s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.2);
    transform: scale(1.05);
}

/* Hero image */
.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img .blob-wrapper {
    position: relative;
    width: 28vw;
    min-width: 300px;
    aspect-ratio: 3 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(124, 58, 237, 0.04);
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

.hero-img .blob-wrapper:hover,
.hero-img .blob-wrapper:focus {
    border-color: rgba(124, 58, 237, 0.7);
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, 0.12),
        0 0 40px rgba(124, 58, 237, 0.3),
        0 16px 48px rgba(124, 58, 237, 0.2);
}

.hero-img .blob {
    display: none;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.hero-img .blob-wrapper:hover img {
    transform: scale(1.05);
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    background: var(--second-bg-color);
    border-top: 1px solid rgba(124, 58, 237, 0.06);
    border-bottom: 1px solid rgba(124, 58, 237, 0.06);
}

.about-img img {
    width: 35vw;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.12);
}

.about-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content h3 {
    font-size: 2.6rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    border-left: 3px solid var(--main-color);
    padding-left: 1.5rem;
}

.about-content p {
    font-size: 1.6rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* =========================================================
   SKILLS SECTION
   ========================================================= */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.skill-box {
    background: var(--card-bg);
    padding: 4rem 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(124, 58, 237, 0.08);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.skill-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--main-color), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.skill-box:hover::before {
    transform: translateX(100%);
}

.skill-box:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}

.skill-box i {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 2rem;
    transition: none;
}


.skill-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1px;
    color: var(--text-color);
}

.skill-box p {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================================
   PROJECTS SECTION
   ========================================================= */
.projects {
    background: var(--second-bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 3rem;
}

.portfolio-box {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    border: none;
    aspect-ratio: 4/3;
    background: #111;
}

.portfolio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.85;
}

.portfolio-box:hover img {
    transform: scale(1.08);
    opacity: 0.6;
}

.portfolio-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-box:hover .portfolio-layer {
    background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(124, 58, 237, 0.6) 60%, rgba(0,0,0,0.3) 100%);
}

.portfolio-layer h4 {
    font-size: 2.2rem;
    font-family: 'DM Sans', sans-serif;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    font-weight: 800;
    transform: translateY(40px);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-box:hover .portfolio-layer h4 {
    transform: translateY(0);
}

.portfolio-layer p {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.85);
    max-width: 90%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.05s;
}

.portfolio-box:hover .portfolio-layer p {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.portfolio-box:hover .portfolio-layer a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.portfolio-layer a:hover {
    background: #fff;
    color: var(--main-color);
    transform: scale(1.05) translateY(0);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.portfolio-layer a i {
    font-size: 1.8rem;
    color: inherit;
}

/* =========================================================
   ARTICLES SECTION
   ========================================================= */
.articles {
    background: var(--bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.articles-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(36rem, 1fr)); 
    gap: 2.8rem; 
    max-width: 1200px;
    margin: 0 auto;
}
.article-card { 
    background: #fff; 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.06); 
    text-decoration: none; 
    color: inherit; 
    display: flex; 
    flex-direction: column; 
    border: 1px solid rgba(124, 58, 237, 0.08);
}
.article-card:hover { 
    box-shadow: 0 8px 30px rgba(0,0,0,0.12); 
}
.card-image { 
    height: 200px; 
    position: relative; 
    overflow: hidden; 
}
.card-image .overlay { 
    position: absolute; 
    inset: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 5rem; 
}
.card-body { 
    padding: 2.4rem; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    text-align: left;
}
.card-category { 
    display: inline-block; 
    padding: 0.4rem 1.2rem; 
    border-radius: 12px; 
    font-size: 1.2rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    margin-bottom: 1.2rem; 
    width: fit-content; 
    font-family: 'Inter', sans-serif;
}
.card-title { 
    font-size: 2rem; 
    font-weight: 700; 
    line-height: 1.4; 
    margin-bottom: 1rem; 
    font-family: 'Inter', sans-serif; 
    color: #1a1a2e; 
}
.card-excerpt { 
    font-size: 1.4rem; 
    line-height: 1.6; 
    color: #6b7280; 
    flex: 1; 
    font-family: 'Inter', sans-serif; 
}
.card-footer { 
    padding: 1.6rem 2.4rem; 
    border-top: 1px solid #f3f4f6; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}
.card-date { 
    font-size: 1.2rem; 
    color: #9ca3af; 
    font-family: 'Inter', sans-serif;
}
.card-read { 
    font-size: 1.2rem; 
    color: #0f5132; 
    font-weight: 600; 
    font-family: 'Inter', sans-serif;
}

.cat-global-trade { background: #ecfeff; color: #0891b2; }
.bg-global-trade { background: linear-gradient(135deg, #ecfeff, #cffafe); }

.cat-technology { background: #f5f3ff; color: #7c3aed; }
.bg-technology { background: linear-gradient(135deg, #f5f3ff, #ede9fe); }

.cat-supply-chain { background: #ecfdf5; color: #059669; }
.bg-supply-chain { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services {
    background: var(--second-bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 3rem;
}

.services-box {
    background: rgba(124, 58, 237, 0.04);  /* Soft violet tint */
    backdrop-filter: none;
    border: 1px solid rgba(124, 58, 237, 0.1);
    padding: 4rem 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.services-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--main-color), var(--accent-color));
    transition: width 0.4s ease;
}

.services-box:hover::after {
    width: 100%;
}

.services-box:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(124, 58, 237, 0.07);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}

.services-box i {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    transition: none;
}


.services-box h3 {
    font-size: 2.4rem;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    color: var(--text-color);
}

.services-box p {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact {
    background: var(--bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--card-bg);
    padding: 4rem;
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.1);
    box-shadow: var(--shadow);
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 1.8rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: 6px;
    margin: .8rem 0;
    border: 1px solid rgba(124, 58, 237, 0.12);
    transition: all 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.contact form .input-box input {
    width: 48.5%;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 15px rgba(0, 119, 204, 0.2);
    outline: none;
}

.contact form textarea {
    resize: none;
    height: 20rem;
}

.contact form .btn {
    margin-top: 2rem;
    width: 100%;
    cursor: pointer;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 3rem 9%;
    background: var(--second-bg-color);
    border-top: 1px solid rgba(124, 58, 237, 0.08);
}

.footer-text p {
    font-size: 1.6rem;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 6px;
    transition: all 0.4s ease;
}

.footer-iconTop a:hover {
    background: var(--main-color);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--main-color);
}

.footer-iconTop a:hover i {
    color: #fff;
}

/* =========================================================
   CHATBOT
   ========================================================= */
.ai-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 2px;
    z-index: 10;
    pointer-events: none;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.85; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 3rem;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    background: #1ebe5e;
}

.whatsapp-float i {
    font-size: 2.8rem;
    color: #fff;
}



.chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 35px;
    height: 60px;
    width: 60px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--main-color);
    border: none;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.chatbot-toggler:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.chatbot-toggler i {
    position: absolute;
    font-size: 2.4rem;
    color: #fff;
    transition: all 0.3s ease;
}

.chatbot-toggler .bx-x {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.show-chatbot .chatbot-toggler .bx-message-dots {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.show-chatbot .chatbot-toggler .bx-x {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.chat-popup {
    position: fixed;
    bottom: 105px; right: 35px;
    width: 38rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(129, 140, 248, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.5) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.show-chatbot .chat-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: var(--main-color);
    color: #fff;
}

.chat-header i.glow-icon {
    font-size: 3rem;
    color: #fff;
}

.chat-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}

.chat-header p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
}

.status-online {
    color: #86efac;
    font-weight: 600;
}

.chat-header-actions {
    margin-left: auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-header-actions span {
    cursor: pointer;
    font-size: 2rem;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.chat-header-actions span:hover {
    color: #fff;
}

.chat-box {
    height: 38rem;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--bg-color);
}

.chat-box::-webkit-scrollbar { width: 6px; }
.chat-box::-webkit-scrollbar-thumb {
    background: rgba(129, 140, 248, 0.2);
    border-radius: 10px;
}

.chat-message {
    max-width: 82%;
    font-size: 1.5rem;
    line-height: 1.6;
    animation: fadeUp 0.25s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chat-message.incoming { align-self: flex-start; }
.chat-message.outgoing { align-self: flex-end; }

.chat-message .message-bubble {
    padding: 1.3rem 1.8rem;
    border-radius: 12px;
    font-size: 1.5rem;
    line-height: 1.6;
}

.incoming .message-bubble {
    background: rgba(129, 140, 248, 0.08);
    color: var(--text-color);
    border: 1px solid rgba(129, 140, 248, 0.12);
    border-bottom-left-radius: 4px;
}

.outgoing .message-bubble {
    background: var(--main-color);
    color: #fff;
    font-weight: 600;
    border-bottom-right-radius: 4px;
}

.message-name {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    padding-left: 0.3rem;
}

.chat-input-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.07);
    background: var(--card-bg);
}

.chat-input-area input {
    flex: 1;
    background: var(--bg-color);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: 8px;
    padding: 1.2rem 1.8rem;
    font-size: 1.5rem;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

.chat-input-area input:focus {
    border-color: var(--main-color);
    outline: none;
}

.send-btn {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 8px;
    background: var(--main-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.send-btn:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

/* =========================================================
   PROJECT MODAL
   ========================================================= */
.project-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.project-modal-overlay.active {
    display: flex;
}

.project-modal-box {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(129, 140, 248, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    width: 90vw;
    max-width: 1200px;
    height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(129, 140, 248, 0.1);
    background: var(--bg-color);
}

.modal-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-open-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 6px;
    background: transparent;
    border: 1px solid rgba(129, 140, 248, 0.15);
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.modal-open-btn:hover {
    color: var(--main-color);
    border-color: var(--main-color);
}

.modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 6px;
    background: transparent;
    border: 1px solid rgba(129, 140, 248, 0.15);
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

#modal-iframe {
    flex: 1;
    width: 100%;
    border: none;
}

.glass-card {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(129, 140, 248, 0.12);
    border-radius: 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    html { font-size: 55%; }
}

@media (max-width: 991px) {
    .header { padding: 2rem 3%; }
    section { padding: 10rem 3% 2rem; }
    .footer { padding: 2rem 3%; }
    .hero { flex-direction: column-reverse; }
    .about { flex-direction: column; }
    .about-img img { width: 70vw; }
    .hero-img .blob-wrapper {
        width: 80vw;
        height: auto;
        aspect-ratio: 3 / 4;
        margin-top: 4rem;
    }
    .contact form .input-box input { width: 100%; }
}

@media (max-width: 768px) {
    #menu-icon { display: block; }
    .navbar {
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: rgba(250, 250, 247, 0.98);
        border-top: 1px solid rgba(124, 58, 237, 0.08);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        display: none;
    }
    .navbar.active { display: block; }
    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    .chat-popup { width: calc(100vw - 4rem); right: 2rem; }
}

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