html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
    color: #172033;
}

.container {
    display: flex;
    gap: 20px;
    min-height: 100vh;
    padding: 20px;
}

/* SIDEBAR */

.sidebar {
    width: 23%;
    background: linear-gradient(160deg, #101a35, #182b52);
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid #29477a;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.18);
    position: sticky;
    top: 20px;
    height: fit-content;
    animation: slideLeft 0.8s ease;
}

.sidebar h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
}

.sidebar h3 {
    margin-top: 32px;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7dd3fc;
}

.sidebar p {
    color: #dbeafe;
    line-height: 1.8;
    font-size: 14px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    color: #dbeafe;
    padding: 7px 0;
    font-size: 14px;
}

.sidebar li::before {
    content: "•";
    color: #60a5fa;
    margin-right: 10px;
}

.sidebar a {
    color: #dbeafe;
    text-decoration: none;
}

.sidebar a:hover {
    color: #7dd3fc;
}

/* PROFILE IMAGE */

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #7dd3fc;
    margin-bottom: 25px;
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.25);
}

/* MAIN CONTENT */

.main-content {
    width: 77%;
    max-width: 1200px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    border: 1px solid #d9e4f5;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.1);
    animation: fadeUp 0.8s ease;
}

/* NAVIGATION */

.navigation {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.navigation a {
    color: #334155;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.navigation a:hover {
    color: #2563eb;
    background: #eff6ff;
    transform: translateY(-2px);
}

/* HERO */

.hero {
    max-width: 850px;
    margin-top: 40px;
    margin-bottom: 90px;
}

.hero-label {
    display: inline-block;
    padding: 9px 17px;
    border-radius: 30px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.08);
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -2px;
    background: linear-gradient(90deg, #172033, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.9;
    max-width: 800px;
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

button {
    padding: 14px 25px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.secondary-button {
    background: #ffffff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    box-shadow: none;
}

.secondary-button:hover {
    background: #eff6ff;
}

/* HEADINGS */

.main-content h2 {
    margin-top: 75px;
    margin-bottom: 30px;
    font-size: 32px;
    color: #172033;
    font-weight: 700;
}

.main-content h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.main-content p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
}

/* CONTENT SECTIONS */

.content-section {
    margin-bottom: 60px;
}

/* PROJECT GRID */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* PROJECT CARDS */

.project-card {
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    border: 1px solid #dbe5f3;
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.08);
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -35px;
    top: -35px;
    border-radius: 50%;
    background: #dbeafe;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #93c5fd;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.15);
}

.project-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #172033;
    position: relative;
}

.project-card p {
    line-height: 1.7;
}

/* TAGS */

.tag {
    display: inline-block;
    padding: 7px 13px;
    margin-right: 7px;
    margin-top: 12px;
    border-radius: 30px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

/* PROJECT DIVIDER */

.project-line {
    border: 0;
    height: 1px;
    margin: 25px 0;
    background: #dbe5f3;
}

/* FOOTER */

.footer {
    text-align: center;
    padding: 45px 20px;
    background: #101a35;
    border-top: 1px solid #29477a;
}

.footer p {
    margin: 6px 0;
    color: #cbd5e1;
    font-size: 13px;
}

/* ANIMATIONS */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* TABLET */

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 12px;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .main-content {
        width: 100%;
        padding: 35px 25px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .sidebar {
        padding: 30px 22px;
    }

    .main-content {
        padding: 28px 20px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 15px;
    }

    .main-content h2 {
        font-size: 28px;
    }

    .project-card {
        padding: 25px;
    }
}

/* =========================================================
   PREMIUM BLOG DESIGN
   ========================================================= */

.blog-hero {
    max-width: 850px;
    margin-top: 50px;
    margin-bottom: 70px;
}

.blog-hero h1 {
    font-size: 58px;
    line-height: 1.15;
    letter-spacing: -2px;
    margin: 20px 0;
    color: #172033;
}

.blog-hero h1 span {
    display: block;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blog-hero p {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.9;
    color: #64748b;
}

.section-label {
    display: inline-block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* FEATURED ARTICLE */

.featured-article {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    padding: 40px;
    border-radius: 28px;
    background: linear-gradient(135deg, #101a35, #1c3470);
    border: 1px solid #29477a;
    box-shadow: 0 25px 60px rgba(30, 64, 175, 0.18);
    overflow: hidden;
    position: relative;
    margin-bottom: 90px;
}

.featured-content {
    position: relative;
    z-index: 2;
}

.article-category {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 30px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 700;
}

.featured-article .article-category {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #93c5fd;
}

.featured-article h2 {
    color: #ffffff;
    font-size: 34px;
    line-height: 1.3;
    margin: 22px 0;
}

.featured-article h2::after {
    display: none;
}

.featured-article p {
    color: #dbeafe;
    line-height: 1.8;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 25px 0;
    color: #bfdbfe;
    font-size: 13px;
}

.article-button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 12px;
    background: #ffffff;
    color: #1d4ed8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.article-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* FEATURED VISUAL */

.featured-visual {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-core {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0 0 50px rgba(96, 165, 250, 0.35);
    z-index: 3;
    animation: pulseCore 3s ease-in-out infinite;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(147, 197, 253, 0.35);
    border-radius: 50%;
}

.orbit-one {
    width: 230px;
    height: 230px;
    animation: rotateOrbit 12s linear infinite;
}

.orbit-two {
    width: 310px;
    height: 150px;
    transform: rotate(45deg);
    animation: rotateOrbitReverse 15s linear infinite;
}

/* INSIGHTS HEADER */

.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 35px;
}

.insights-header h2 {
    margin-top: 12px;
    margin-bottom: 0;
}

.insights-header p {
    max-width: 420px;
    margin: 0;
}

/* ARTICLE GRID */

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 90px;
}

.article-card {
    padding: 30px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #dbe5f3;
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.07);
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: #93c5fd;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.12);
}

.article-number {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 42px;
    font-weight: 800;
    color: #eef4ff;
}

.article-card h3 {
    position: relative;
    font-size: 22px;
    line-height: 1.4;
    margin: 22px 0 15px;
    color: #172033;
}

.article-card p {
    font-size: 14px;
    line-height: 1.8;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5edf7;
}

.article-footer span {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.article-footer a {
    color: #2563eb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

/* THINKING SECTION */

.thinking-section {
    padding: 55px 40px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f1f7ff, #f8f5ff);
    border: 1px solid #dbe5f3;
    margin-bottom: 80px;
}

.thinking-section h2 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.thinking-section > p {
    max-width: 700px;
}

.thinking-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 35px;
}

.thinking-card {
    padding: 25px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dbe5f3;
    transition: 0.3s;
}

.thinking-card:hover {
    transform: translateY(-5px);
    border-color: #93c5fd;
}

.thinking-card strong {
    color: #2563eb;
    font-size: 13px;
}

.thinking-card h3 {
    margin: 15px 0 8px;
    color: #172033;
}

.thinking-card p {
    font-size: 13px;
    line-height: 1.7;
}

/* CTA */

.blog-cta {
    text-align: center;
    padding: 65px 35px;
    border-radius: 28px;
    background: linear-gradient(135deg, #101a35, #253d79);
    color: #ffffff;
    margin-bottom: 40px;
}

.blog-cta > span {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.blog-cta h2 {
    color: #ffffff;
    max-width: 700px;
    margin: 20px auto;
    font-size: 34px;
}

.blog-cta h2::after {
    display: none;
}

.blog-cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #dbeafe;
}

.blog-cta .article-button {
    background: #ffffff;
}

/* BLOG ANIMATIONS */

@keyframes pulseCore {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotateOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateOrbitReverse {
    from {
        transform: rotate(45deg);
    }

    to {
        transform: rotate(-315deg);
    }
}

/* BLOG TABLET */

@media (max-width: 900px) {

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-visual {
        min-height: 240px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .thinking-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insights-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* BLOG MOBILE */

@media (max-width: 600px) {

    .blog-hero h1 {
        font-size: 42px;
    }

    .blog-hero p {
        font-size: 15px;
    }

    .featured-article {
        padding: 28px;
    }

    .featured-article h2 {
        font-size: 27px;
    }

    .featured-visual {
        min-height: 210px;
    }

    .visual-core {
        width: 120px;
        height: 120px;
    }

    .orbit-one {
        width: 190px;
        height: 190px;
    }

    .orbit-two {
        width: 240px;
        height: 120px;
    }

    .thinking-section {
        padding: 35px 22px;
    }

    .thinking-grid {
        grid-template-columns: 1fr;
    }

    .blog-cta {
        padding: 45px 25px;
    }

    .blog-cta h2 {
        font-size: 27px;
    }
}

/* =========================================================
   VERSION 2 - PREMIUM MOBILE OPTIMIZATION
   ========================================================= */

@media (max-width: 900px) {

    .container {
        flex-direction: column;
        gap: 15px;
        padding: 12px;
    }

    .sidebar {
        width: auto;
        position: relative;
        top: 0;
        padding: 30px 25px;
        border-radius: 20px;
    }

    .main-content {
        width: auto;
        max-width: none;
        padding: 35px 25px;
        border-radius: 20px;
    }

    .profile-image {
        width: 130px;
        height: 130px;
    }

    .navigation {
        margin-bottom: 40px;
    }

    .hero {
        margin-top: 25px;
        margin-bottom: 60px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 16px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .thinking-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE DEVICES
   ========================================================= */

@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    .container {
        padding: 8px;
        gap: 10px;
    }

    .sidebar {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .sidebar h2 {
        font-size: 24px;
    }

    .profile-image {
        width: 110px;
        height: 110px;
        margin-bottom: 18px;
    }

    .main-content {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .navigation {
        gap: 6px;
        margin-bottom: 35px;
    }

    .navigation a {
        padding: 8px 13px;
        font-size: 13px;
    }

    .hero {
        margin-top: 20px;
        margin-bottom: 55px;
    }

    .hero-label {
        font-size: 11px;
        padding: 8px 13px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons button {
        width: 100%;
    }

    .main-content h2 {
        font-size: 27px;
        margin-top: 55px;
    }

    .main-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .project-card {
        padding: 24px;
        border-radius: 18px;
    }

    .project-card h3 {
        font-size: 18px;
    }

    .tag {
        padding: 6px 11px;
        margin-right: 5px;
        font-size: 11px;
    }

    /* BLOG */

    .blog-hero {
        margin-top: 25px;
        margin-bottom: 50px;
    }

    .blog-hero h1 {
        font-size: 40px;
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .blog-hero p {
        font-size: 15px;
    }

    .featured-article {
        padding: 25px;
        border-radius: 20px;
        margin-bottom: 60px;
    }

    .featured-article h2 {
        font-size: 25px;
    }

    .featured-article p {
        font-size: 14px;
    }

    .featured-visual {
        min-height: 190px;
    }

    .visual-core {
        width: 105px;
        height: 105px;
        font-size: 12px;
    }

    .orbit-one {
        width: 170px;
        height: 170px;
    }

    .orbit-two {
        width: 220px;
        height: 110px;
    }

    .insights-header {
        margin-bottom: 25px;
    }

    .article-grid {
        gap: 15px;
        margin-bottom: 60px;
    }

    .article-card {
        padding: 24px;
        border-radius: 18px;
    }

    .article-card h3 {
        font-size: 19px;
    }

    .article-card p {
        font-size: 13px;
    }

    .article-number {
        font-size: 32px;
        right: 18px;
    }

    .thinking-section {
        padding: 30px 20px;
        border-radius: 20px;
        margin-bottom: 55px;
    }

    .thinking-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .thinking-card {
        padding: 20px;
    }

    .blog-cta {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .blog-cta h2 {
        font-size: 25px;
    }

    .blog-cta p {
        font-size: 14px;
    }

    .footer {
        padding: 30px 15px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .main-content {
        padding: 24px 15px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .blog-hero h1 {
        font-size: 34px;
    }

    .main-content h2 {
        font-size: 24px;
    }

    .featured-article h2 {
        font-size: 22px;
    }

}

/* =========================================================
   FUTURISTIC DARK MODE
   ========================================================= */

.theme-toggle {
    padding: 10px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #ffffff;
    color: #2563eb;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: none;
    margin-top: 0;
}

.theme-toggle:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}


/* DARK THEME */

body.dark-mode {
    background: linear-gradient(135deg, #08111f, #111c35);
    color: #e5eefc;
}

body.dark-mode .main-content {
    background: rgba(15, 27, 48, 0.96);
    border-color: #243b63;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

body.dark-mode .navigation a {
    color: #dbeafe;
}

body.dark-mode .navigation a:hover {
    color: #7dd3fc;
    background: rgba(37, 99, 235, 0.15);
}

body.dark-mode .theme-toggle {
    background: #172a4b;
    border-color: #35598e;
    color: #93c5fd;
}

body.dark-mode .theme-toggle:hover {
    background: #20385f;
}


/* DARK TEXT */

body.dark-mode .main-content h1,
body.dark-mode .main-content h2,
body.dark-mode .main-content h3 {
    color: #f1f5f9;
}

body.dark-mode .main-content p {
    color: #a9bad2;
}


/* DARK PROJECT CARDS */

body.dark-mode .project-card {
    background: linear-gradient(145deg, #14233d, #101c31);
    border-color: #29446e;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

body.dark-mode .project-card:hover {
    border-color: #4f8bd6;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.2);
}

body.dark-mode .project-card h3 {
    color: #f1f5f9;
}

body.dark-mode .project-card p {
    color: #a9bad2;
}

body.dark-mode .project-line {
    background: #29446e;
}

body.dark-mode .tag {
    background: rgba(37, 99, 235, 0.14);
    border-color: #31598f;
    color: #93c5fd;
}


/* DARK HERO */

body.dark-mode .hero-label {
    background: rgba(37, 99, 235, 0.15);
    border-color: #31598f;
    color: #93c5fd;
}

body.dark-mode .hero p {
    color: #a9bad2;
}


/* DARK BLOG */

body.dark-mode .article-card {
    background: linear-gradient(145deg, #14233d, #101c31);
    border-color: #29446e;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

body.dark-mode .article-card:hover {
    border-color: #4f8bd6;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2);
}

body.dark-mode .article-card h3 {
    color: #f1f5f9;
}

body.dark-mode .article-card p {
    color: #a9bad2;
}

body.dark-mode .article-footer {
    border-color: #29446e;
}

body.dark-mode .article-footer span {
    color: #94a9c4;
}

body.dark-mode .article-footer a {
    color: #7dd3fc;
}

body.dark-mode .article-number {
    color: #1b3154;
}


/* DARK THINKING SECTION */

body.dark-mode .thinking-section {
    background: linear-gradient(135deg, #101d32, #1a1935);
    border-color: #29446e;
}

body.dark-mode .thinking-card {
    background: #14233d;
    border-color: #29446e;
}

body.dark-mode .thinking-card:hover {
    border-color: #4f8bd6;
}

body.dark-mode .thinking-card h3 {
    color: #f1f5f9;
}

body.dark-mode .thinking-card p {
    color: #a9bad2;
}


/* DARK BLOG HERO */

body.dark-mode .blog-hero h1 {
    color: #f1f5f9;
}

body.dark-mode .blog-hero p {
    color: #a9bad2;
}


/* DARK SIDEBAR */

body.dark-mode .sidebar {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}


/* SMOOTH THEME TRANSITION */

body,
.main-content,
.project-card,
.article-card,
.thinking-section,
.thinking-card,
.navigation a,
.theme-toggle {
    transition:
        background 0.35s ease,
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* =========================================================
   PREMIUM CONTACT SECTION
   ========================================================= */

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    margin-top: 90px;
    margin-bottom: 50px;
    padding: 45px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f1f7ff, #f8f5ff);
    border: 1px solid #dbe5f3;
}

.contact-intro h2 {
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.2;
    color: #172033;
}

.contact-intro h2::after {
    display: none;
}

.contact-intro p {
    font-size: 15px;
    line-height: 1.8;
}

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.contact-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #dbe5f3;
}

.contact-highlight strong {
    color: #2563eb;
    font-size: 13px;
}

.contact-highlight span {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}


/* CONTACT CARD */

.contact-card {
    padding: 30px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #dbe5f3;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #dbe5f3;
    border-radius: 10px;
    background: #f8fbff;
    color: #172033;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    outline: none;
    transition: 0.3s;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #60a5fa;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.contact-submit {
    width: 100%;
    margin-top: 5px;
    padding: 15px;
}


/* HERO ACTION LINKS */

.hero-action {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 12px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    color: #ffffff;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    transition: 0.3s;
}

.hero-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.secondary-action {
    background: #ffffff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    box-shadow: none;
}

.secondary-action:hover {
    background: #eff6ff;
}


/* DARK MODE CONTACT */

body.dark-mode .contact-section {
    background: linear-gradient(135deg, #101d32, #1a1935);
    border-color: #29446e;
}

body.dark-mode .contact-intro h2 {
    color: #f1f5f9;
}

body.dark-mode .contact-intro p {
    color: #a9bad2;
}

body.dark-mode .contact-highlight {
    background: #14233d;
    border-color: #29446e;
}

body.dark-mode .contact-highlight span {
    color: #cbd5e1;
}

body.dark-mode .contact-card {
    background: #14233d;
    border-color: #29446e;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

body.dark-mode .form-group label {
    color: #cbd5e1;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #0f1c31;
    border-color: #29446e;
    color: #f1f5f9;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: #7186a2;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #60a5fa;
    background: #101f37;
}

body.dark-mode .secondary-action {
    background: #14233d;
    border-color: #35598e;
    color: #93c5fd;
}


/* CONTACT RESPONSIVE */

@media (max-width: 900px) {

    .contact-section {
        grid-template-columns: 1fr;
        padding: 35px;
    }

}


@media (max-width: 600px) {

    .contact-section {
        padding: 25px 18px;
        border-radius: 20px;
        gap: 25px;
    }

    .contact-intro h2 {
        font-size: 29px;
    }

    .contact-card {
        padding: 22px;
        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-action {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

}

/* =========================================================
   PREMIUM BLOG / INSIGHTS PAGE
   ========================================================= */

.blog-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fbff, #eef4ff);
}


/* BLOG NAVIGATION */

.blog-navigation {
    max-width: 1250px;
    margin: 0 auto;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.blog-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #172033;
    font-size: 17px;
    font-weight: 700;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.blog-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-nav-links a {
    padding: 9px 16px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.blog-nav-links a:hover {
    color: #2563eb;
    background: #ffffff;
    transform: translateY(-2px);
}


/* BLOG HERO */

.blog-hero {
    max-width: 1050px;
    margin: 60px auto 70px;
    padding: 0 30px;
}

.blog-hero h1 {
    max-width: 850px;
    margin: 20px 0;
    font-size: 62px;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #172033;
    background: linear-gradient(
        90deg,
        #172033,
        #2563eb,
        #7c3aed
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blog-hero p {
    max-width: 760px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.9;
}


/* BLOG CONTAINER */

.blog-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 30px 70px;
}


/* FEATURED ARTICLE */

.featured-article {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    min-height: 390px;
    padding: 45px;
    border-radius: 28px;
    background: linear-gradient(
        135deg,
        #ffffff,
        #f3f7ff
    );
    border: 1px solid #dbe5f3;
    box-shadow: 0 25px 60px rgba(30, 64, 175, 0.1);
    overflow: hidden;
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    display: inline-block;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.featured-content h2 {
    max-width: 720px;
    margin: 15px 0 18px;
    font-size: 38px;
    line-height: 1.25;
    color: #172033;
}

.featured-content p {
    max-width: 700px;
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-top: 22px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

.read-button {
    display: inline-block;
    width: fit-content;
    margin-top: 25px;
    padding: 13px 20px;
    border-radius: 11px;
    background: linear-gradient(
        90deg,
        #2563eb,
        #4f46e5
    );
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    transition: 0.3s;
}

.read-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}


/* FUTURISTIC VISUAL */

.featured-visual {
    position: relative;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-core {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(
        135deg,
        #172033,
        #2563eb
    );
    color: #ffffff;
    box-shadow:
        0 0 0 15px rgba(37, 99, 235, 0.06),
        0 0 0 35px rgba(37, 99, 235, 0.04),
        0 25px 50px rgba(37, 99, 235, 0.25);
    z-index: 2;
}

.visual-core span {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.visual-core strong {
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.3;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 50%;
    animation: blogOrbit 8s linear infinite;
}

.orbit-one {
    width: 250px;
    height: 120px;
    transform: rotate(25deg);
}

.orbit-two {
    width: 280px;
    height: 150px;
    transform: rotate(-35deg);
    animation-duration: 11s;
}

@keyframes blogOrbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* CATEGORY AREA */

.insight-categories {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 55px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #dbe5f3;
}

.category-title {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.category-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.category-button {
    padding: 8px 14px;
    border: 1px solid #dbe5f3;
    border-radius: 20px;
    background: #ffffff;
    color: #64748b;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.category-button:hover,
.category-button.active {
    color: #2563eb;
    border-color: #93c5fd;
    background: #eff6ff;
}


/* ARTICLES HEADER */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 12px 0 0;
    color: #172033;
    font-size: 32px;
}

.section-heading p {
    max-width: 400px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}


/* ARTICLE GRID */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    position: relative;
    padding: 28px;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #dbe5f3;
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.06);
    overflow: hidden;
    transition: 0.35s;
}

.article-card::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    top: -55px;
    right: -55px;
    border-radius: 50%;
    background: #eff6ff;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: #93c5fd;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.12);
}

.article-number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
}

.article-card h3 {
    margin: 15px 0;
    max-width: 280px;
    color: #172033;
    font-size: 19px;
    line-height: 1.4;
}

.article-card p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 25px;
    color: #94a3b8;
    font-size: 11px;
}

.article-link {
    margin-top: 15px;
    color: #2563eb;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}


/* BLOG CTA */

.blog-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 70px;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        #101a35,
        #1d3470
    );
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
}

.blog-cta h2 {
    margin: 12px 0;
    color: #ffffff;
    font-size: 30px;
}

.blog-cta p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
}

.blog-cta .section-label {
    color: #7dd3fc;
}


/* DARK MODE */

body.dark-mode .blog-page {
    background: linear-gradient(
        135deg,
        #0b1220,
        #111b31
    );
}

body.dark-mode .blog-brand {
    color: #f1f5f9;
}

body.dark-mode .blog-nav-links a {
    color: #cbd5e1;
}

body.dark-mode .blog-nav-links a:hover {
    color: #93c5fd;
    background: #14233d;
}

body.dark-mode .blog-hero h1 {
    background: linear-gradient(
        90deg,
        #f1f5f9,
        #60a5fa,
        #a78bfa
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.dark-mode .blog-hero p {
    color: #9fb0c8;
}

body.dark-mode .featured-article {
    background: linear-gradient(
        135deg,
        #111d32,
        #172642
    );
    border-color: #29446e;
}

body.dark-mode .featured-content h2 {
    color: #f1f5f9;
}

body.dark-mode .featured-content p {
    color: #a9bad2;
}

body.dark-mode .article-meta {
    color: #94a3b8;
}

body.dark-mode .insight-categories {
    border-color: #29446e;
}

body.dark-mode .category-button {
    background: #14233d;
    border-color: #29446e;
    color: #a9bad2;
}

body.dark-mode .category-button:hover,
body.dark-mode .category-button.active {
    color: #93c5fd;
    background: #192f51;
    border-color: #41699e;
}

body.dark-mode .section-heading h2 {
    color: #f1f5f9;
}

body.dark-mode .section-heading p {
    color: #9fb0c8;
}

body.dark-mode .article-card {
    background: #14233d;
    border-color: #29446e;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

body.dark-mode .article-card::before {
    background: #1b3152;
}

body.dark-mode .article-card h3 {
    color: #f1f5f9;
}

body.dark-mode .article-card p {
    color: #a9bad2;
}

body.dark-mode .article-footer {
    color: #7186a2;
}


/* BLOG RESPONSIVE */

@media (max-width: 900px) {

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-visual {
        min-height: 260px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insight-categories {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-list {
        justify-content: flex-start;
    }

}


@media (max-width: 600px) {

    .blog-navigation {
        padding: 20px;
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-nav-links {
        width: 100%;
        flex-wrap: wrap;
    }

    .blog-hero {
        margin-top: 35px;
        padding: 0 20px;
    }

    .blog-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .blog-hero p {
        font-size: 14px;
    }

    .blog-container {
        padding: 0 20px 50px;
    }

    .featured-article {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .featured-content h2 {
        font-size: 29px;
    }

    .featured-visual {
        min-height: 220px;
    }

    .visual-core {
        width: 125px;
        height: 125px;
    }

    .orbit-one {
        width: 200px;
        height: 100px;
    }

    .orbit-two {
        width: 220px;
        height: 120px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        min-height: 300px;
    }

    .blog-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
    }

}

/* =========================================================
   FINAL MOBILE & TABLET FINE-TUNING
   ========================================================= */


/* TABLET */

@media (max-width: 900px) {

    .container {
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
        gap: 15px;
    }

    .sidebar {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        position: relative;
        top: 0;
    }

    .main-content {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        margin: 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 52px;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* MAIN CONTAINER */

    .container {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: auto;
        padding: 10px;
        gap: 10px;
        box-sizing: border-box;
    }


    /* SIDEBAR */

    .sidebar {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 30px 22px;
        border-radius: 20px;
        position: relative;
        top: 0;
    }

    .profile-image {
        width: 130px;
        height: 130px;
    }


    /* MAIN CONTENT */

    .main-content {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        margin: 0;
        padding: 28px 20px;
        border-radius: 20px;
    }


    /* NAVIGATION */

    .navigation {
        margin-bottom: 40px;
        gap: 6px;
    }

    .navigation a {
        padding: 8px 13px;
        font-size: 13px;
    }


    /* HERO */

    .hero {
        width: 100%;
        max-width: 100%;
        margin-top: 25px;
        margin-bottom: 60px;
    }

    .hero-label {
        font-size: 11px;
        padding: 8px 13px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.12;
        letter-spacing: -1px;
        word-break: normal;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.75;
    }


    /* BUTTONS */

    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-buttons button {
        width: 100%;
        box-sizing: border-box;
    }


    /* HEADINGS */

    .main-content h2 {
        margin-top: 55px;
        margin-bottom: 25px;
        font-size: 27px;
    }

    .main-content p {
        font-size: 15px;
        line-height: 1.8;
    }


    /* CONTENT SECTIONS */

    .content-section {
        margin-bottom: 45px;
    }


    /* PROJECTS */

    .projects-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
    }

    .project-card {
        width: 100%;
        box-sizing: border-box;
        padding: 24px;
        margin: 0;
    }

    .project-card h3 {
        font-size: 18px;
    }

    .project-card p {
        font-size: 14px;
    }


    /* TAGS */

    .tag {
        padding: 7px 11px;
        margin-right: 5px;
        font-size: 11px;
    }


    /* FOOTER */

    .footer {
        width: 100%;
        box-sizing: border-box;
        padding: 30px 18px;
    }

    .footer p {
        font-size: 11px;
        line-height: 1.7;
    }


    /* =====================================================
       BLOG MOBILE
       ===================================================== */

    .blog-page {
        width: 100%;
        overflow-x: hidden;
    }

    .blog-navigation {
        width: 100%;
        box-sizing: border-box;
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-nav-links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .blog-nav-links a {
        padding: 8px 12px;
    }

    .blog-hero {
        width: 100%;
        box-sizing: border-box;
        margin: 35px 0 50px;
        padding: 0 20px;
    }

    .blog-hero h1 {
        font-size: 40px;
        line-height: 1.12;
        letter-spacing: -1px;
    }

    .blog-hero p {
        font-size: 14px;
        line-height: 1.8;
    }

    .blog-container {
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px 50px;
    }


    /* FEATURED BLOG */

    .featured-article {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 27px 21px;
        border-radius: 20px;
    }

    .featured-content h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .featured-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .featured-visual {
        min-height: 210px;
    }


    /* BLOG CATEGORIES */

    .insight-categories {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 45px 0;
        gap: 15px;
    }

    .category-list {
        width: 100%;
        justify-content: flex-start;
    }

    .category-button {
        font-size: 10px;
        padding: 7px 11px;
    }


    /* BLOG SECTION HEADING */

    .section-heading {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .section-heading p {
        font-size: 13px;
    }


    /* BLOG CARDS */

    .articles-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .article-card {
        min-height: 280px;
        padding: 24px;
        border-radius: 18px;
    }

    .article-card h3 {
        font-size: 18px;
    }

    .article-card p {
        font-size: 13px;
        line-height: 1.75;
    }


    /* BLOG CTA */

    .blog-cta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 28px 22px;
        margin-top: 50px;
    }

    .blog-cta h2 {
        font-size: 27px;
    }

    .blog-cta p {
        font-size: 13px;
    }

    .blog-cta .read-button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

}

/* =========================================================
   PREMIUM CONTACT FORM
   ========================================================= */

.contact-section {
    margin-top: 90px;
    padding: 45px;
    border-radius: 26px;
    background: linear-gradient(
        135deg,
        #f8fbff,
        #eef4ff
    );
    border: 1px solid #dbe5f3;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.08);
}

.contact-intro {
    max-width: 720px;
    margin-bottom: 35px;
}

.contact-intro h2 {
    margin-top: 12px;
    margin-bottom: 15px;
    font-size: 34px;
    color: #172033;
}

.contact-intro p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #172033;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    outline: none;
    transition: 0.3s;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.contact-submit {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        #2563eb,
        #4f46e5
    );
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
    transition: 0.3s;
}

.contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.form-note {
    margin-top: 15px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.6;
}


/* CONTACT DARK MODE */

body.dark-mode .contact-section {
    background: linear-gradient(
        135deg,
        #111d32,
        #172642
    );
    border-color: #29446e;
}

body.dark-mode .contact-intro h2 {
    color: #f1f5f9;
}

body.dark-mode .contact-intro p {
    color: #a9bad2;
}

body.dark-mode .form-group label {
    color: #cbd5e1;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #0f1b30;
    border-color: #29446e;
    color: #f1f5f9;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #60a5fa;
}


/* CONTACT MOBILE */

@media (max-width: 600px) {

    .contact-section {
        margin-top: 60px;
        padding: 28px 20px;
        border-radius: 20px;
    }

    .contact-intro h2 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-submit {
        width: 100%;
    }

}

/* =========================================
   PREMIUM SUBMISSION PAGE
   ========================================= */

.submit-hero {
    margin-bottom: 55px;
}

.submission-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #f7faff);
    border: 1px solid #dbe5f3;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.10);
}

.submission-card form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #172033;
    font-size: 14px;
    font-weight: 600;
}

.optional {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #d6e0ef;
    border-radius: 12px;
    background: #ffffff;
    color: #172033;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 280px;
    resize: vertical;
    line-height: 1.8;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
    transform: translateY(-1px);
}

.form-group select {
    cursor: pointer;
}

.submission-note {
    margin: 25px 0;
    padding: 20px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    background: #eff6ff;
}

.submission-note strong {
    display: block;
    margin-bottom: 7px;
    color: #1e40af;
    font-size: 14px;
}

.submission-note p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.contact-submit {
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.20);
    transition: all 0.3s ease;
}

.contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.28);
}

.contact-submit:active {
    transform: translateY(-1px);
}

.submit-footer {
    text-align: center;
    margin-top: 35px;
}

.submit-footer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.submit-footer a:hover {
    text-decoration: underline;
}


/* =========================================
   SUBMISSION PAGE - DARK MODE
   ========================================= */

body.dark-mode .submission-card {
    background: linear-gradient(145deg, #111c35, #16233f);
    border-color: #29477a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

body.dark-mode .form-group label {
    color: #e2e8f0;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #0f172a;
    border-color: #334b73;
    color: #f8fafc;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: #64748b;
}

body.dark-mode .submission-note {
    background: #172554;
    border-left-color: #60a5fa;
}

body.dark-mode .submission-note strong {
    color: #93c5fd;
}

body.dark-mode .submission-note p {
    color: #cbd5e1;
}

body.dark-mode .submit-footer a {
    color: #60a5fa;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .submission-card {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group textarea {
        min-height: 240px;
    }

    .submit-hero {
        margin-bottom: 40px;
    }
}