@font-face {
    font-family: '29LT Azahar Text';
    src: url('../fonts/29LT Azahar Text AL.otf') format('opentype');
}

@font-face {
    font-family: 'Asemic-Regular';
    src: url('../fonts/Asemic-Regular.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

*::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

body {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    color: #000;
    background-color: #fff;
}

.content {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* This ensures equal columns */
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.content-column-1,
.content-column-2 {
    padding: 30px;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    width: 50vw;
}

.content-column-1 {
    padding-right: 50px;
    padding-left: 50px;
    color: #000;
}

.content-column-2 {
    padding-left: 50px;
    padding-right: 50px;
    direction: rtl;
    text-align: right;
    background-color: #000;
    color: #fff;
}

/* Headings and Paragraphs */
.content-column-1 h1,
.content-column-2 h1 {
    font-size: 36px;
    margin: 20px 0 30px;
    text-align: center;
    line-height: 1.4;
}

.content-column-1 h2,
.content-column-2 h2 {
    font-size: 28px;
    margin: 20px 0 30px;
    text-align: center;
    line-height: 1.4;
}

.content-column-1 p,
.content-column-2 p {
    margin: 20px 0;
    font-style: normal;
    padding: 0 30px;
}

/* Specific Paragraphs */
.content-column-1 p:first-child,
.content-column-1 p:nth-child(2),
.content-column-1 p:nth-child(3),
.content-column-2 p:first-child,
.content-column-2 p:nth-child(2),
.content-column-2 p:nth-child(3) {
    text-align: center;
    font-size: 33px;
    margin-bottom: 30px;
    padding: 0;
}

/* Custom Tag: indent */
indent {
    display: block;
    margin: 20px 0;
    font-style: normal;
    font-family: '29LT Azahar Text', Arial, sans-serif;
    padding: 0 50px;
}

.content-column-1 indent {
    color: #000;
    direction: ltr;
    margin-left: 30px;
}

.content-column-2 indent {
    color: #fff;
    direction: rtl;
    text-align: right;
    margin-right: 30px;
}

/* Additional Columns */
.content-column-3,
.content-column-4 {
    background-color: #000;
    color: #fff;
    font-size: 20px;
    padding: 0 20px;
    font-family: '29LT Azahar Text';
}

.content-column-3 p,
.content-column-4 p {
    font-style: italic;
    margin-top: 0;
}

.content-column-3 indent,
.content-column-4 indent {
    margin-left: 90px;
    margin-top: 15px;
    color: #fff;
}

.landing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000000;
    text-align: center;
}

.landing-title {
    font-size: 140px;
    font-family: '29LT Azahar Text', Arial, sans-serif;
    text-decoration: none;
    color: #ff0000;
    text-align: center;
    line-height: 1.09;
    transition: color 0.7s ease, letter-spacing 2s ease;
    margin-top: -200px;
    opacity: 0;
    animation: initialFadeIn 2s ease-out forwards, subtleFloat 4s ease-in-out infinite 4s;
}

.landing-title:hover {
    color: #cc0000;
    letter-spacing: 5px;
    transition: color 0.7s ease, letter-spacing 2s ease;
}

/* Landing Page Circle */
.landing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000000;
}

.circle-link {
    text-decoration: none;
    display: block;
}

.black-circle {
    width: 150px;
    height: 150px;
    background-color: #f00;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.black-circle:hover {
    transform: scale(1.1);
}

/* Navigation Dots */
.nav-dots {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
}

.nav-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #f00;
    border-radius: 80%;
    pointer-events: auto;
    transition: transform 0.3s ease;
    z-index: 2001;
}

.nav-dot::after {
    content: attr(data-title);
    position: absolute;
    font-family: '29LT Azahar Text', serif;
    font-size: 14px;
    color: #ff0000;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    transform-origin: center;
}

.nav-dot.top-left::after {
    top: 100%;
    left: 50%;
    transform: translateY(20px) translateX(-50%) rotate(-90deg);
}

.nav-dot.top-right::after {
    top: 100%;
    right: 50%;
    transform: translateY(20px) translateX(50%) rotate(-90deg);
}

.nav-dot.bottom-left::after {
    bottom: 140%;
    left: 50%;
    transform: translateY(-20px) translateX(-50%) rotate(-90deg);
}

.nav-dot.bottom-right::after {
    bottom: 100%;
    right: 50%;
    transform: translateY(-25px) translateX(50%) rotate(-90deg);
}

.nav-dot:hover::after {
    opacity: 1;
}

.nav-dot:hover {
    transform: scale(1.2);
}

.nav-dot.top-left {
    top: 20px;
    left: 20px;
}

.nav-dot.top-right {
    top: 20px;
    right: 20px;
}

.nav-dot.bottom-left {
    bottom: 20px;
    left: 20px;
}

.nav-dot.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Selection Styling */
::selection {
    background: #f00;
    color: #000000;
}

::-moz-selection {
    background: #f00;
    color: #fff;
}

/* Typography Animations */
@keyframes randomFontChange {
    0%, 100% {
        font-family: '29LT Azahar Text', Arial, sans-serif;
    }
}

@keyframes textColorChange {
    0%, 100% { color: #fff; }
    50% { color: #f00; }
}

@keyframes letterSpacingWave {
    0% {
        letter-spacing: normal;
    }
    50% {
        letter-spacing: 5px;
    }
    100% {
        letter-spacing: normal;
    }
}

@keyframes randomFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-2px); }
    50% { transform: translateY(2px) rotate(1deg); }
    75% { transform: translateY(-2px) rotate(-2deg); }
}

/* Apply Hover & Font Animations */
.content-column-1 h1,
.content-column-1 h2,
.content-column-1 p,
.content-column-2 h1,
.content-column-2 h2,
.content-column-2 p,
.content-column-2 indent {
    animation: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
}

.content-column-2 h1,
.content-column-2 h2,
.content-column-2 p {
    animation: randomFloat2 8s ease-in-out infinite;
}

.content-column-1 h1:hover,
.content-column-1 h2:hover,
.content-column-1 p:hover,
.content-column-2 h1:hover,
.content-column-2 h2:hover,
.content-column-2 p:hover,
.content-column-2 indent:hover {
    animation: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
    letter-spacing: normal !important;
}

/* New index-title and index-subtitle styles */
.index-title {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 60px;
    color: #f00;
    text-align: center;
    animation: subtleFloat 4s ease-in-out infinite;
}

.index-subtitle {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 28px;
    text-align: center;
    color: #000;
    margin-top: 20px;
}

/* subtleFloat animation */
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

#index-toggle {
    display: none;
}

.index-container {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1.5s ease;
    background-color: #000;
}

.landing-container {
    opacity: 1;
    transition: opacity 1.5s ease;
    z-index: 10;
}

/* On toggle: fade out landing, fade in index */
#index-toggle:checked ~ .landing-container {
    opacity: 0;
    pointer-events: none;
}

#index-toggle:checked ~ .index-container {
    opacity: 1;
    pointer-events: all;
    z-index: 5;
}

/* Default red circle cursor */
body, button, input, textarea, select, label, .circle-link, .black-circle {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30"><circle cx="15" cy="15" r="15" fill="red"/></svg>') 15 15, auto;
  }
  
  /* Hovering on hyperlinks: black circle with red stroke */
  a:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30"><circle cx="15" cy="15" r="13" fill="black" stroke="red" stroke-width="2"/></svg>') 15 15, pointer;
  }
  
  .intro-content {
    max-width: 960px;
    margin: 80px auto;
    padding: 0 40px;
    direction: ltr;
    text-align: left;
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 22px;
    line-height: 1.5;
}

.intro-content p {
    margin-bottom: 20px;
}

/* Add this new class for index page specific styling */
.index-content {
    background-color: #000;
    width: 100%;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.quad-layout {
    display: grid;
    grid-template-columns: 0.4fr 4.1fr 4.1fr 0.4fr;
    gap: 5px;
    padding: 0 0 80px 0;
    margin-top: -80px;
    align-items: start;
    width: 100%;
}

.diagonal-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: visible;
    padding: 0 50px;
    box-sizing: border-box;  /* Added to ensure padding is included in width */
    width: 100%;  /* Ensure column takes full width of its grid cell */
}

.left-diagonal {
    margin-right: -70px;
    margin-left: 70px;  /* Increased to match the visual effect of the right side */
    justify-content: flex-start;
}

.right-diagonal {
    margin-left: -70px;
    justify-content: flex-end;
}

.diagonal-text {
    font-family: '29LT Azahar Text', serif;
    font-size: 15px;
    line-height: 30px;
    transform: rotate(45deg);
    transform-origin: left center;
    white-space: nowrap;
    color: #ff0000;
    width: max-content;
    opacity: 0;
    animation: slideInDiagonal 1s ease forwards;
    animation-timeline: scroll();
    animation-range: entry 10% cover 80%;
}

.right-diagonal .diagonal-text {
    transform: rotate(-45deg);
    transform-origin: right center;
    text-align: right;
    align-self: flex-end;
    width: max-content;
    opacity: 0;
    animation: slideInDiagonalRight 1s ease forwards;
    animation-timeline: scroll();
    animation-range: entry 10% cover 80%;
}

.text-column {
    font-family: '29LT Azahar Text', serif;
    font-size: 19px;
    line-height: 1.48;
    color: #ffffff;
    padding: 20px;
    margin: 5px;
    height: auto;
    overflow: visible;
}

.text-column p {
    margin: 0;
    padding: 0;
    opacity: 0;
    animation: fadeInText 1s ease forwards;
    animation-timeline: scroll();
    animation-range: entry 10% cover 70%;
}

.text-column:nth-child(3) { /* This targets the second text column */
    direction: rtl;
    text-align: right;
}

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

/* Add sequential delays for paragraphs */
.text-column p:nth-child(1) { animation-delay: 0.2s; }
.text-column p:nth-child(2) { animation-delay: 0.4s; }
.text-column p:nth-child(3) { animation-delay: 0.6s; }
.text-column p:nth-child(4) { animation-delay: 0.8s; }
.text-column p:nth-child(5) { animation-delay: 1.0s; }
.text-column p:nth-child(6) { animation-delay: 1.2s; }
.text-column p:nth-child(7) { animation-delay: 1.4s; }
.text-column p:nth-child(8) { animation-delay: 1.6s; }

.quad-layout {
    grid-template-columns: 0.6fr 3.4fr 3.4fr 0.6fr;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3.4fr) minmax(0, 3.4fr) minmax(0, 2fr);
    gap: 22px;
}
.text-column,
.diagonal-column {
    padding: 0;
}

.bottom-diagonal-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: -50px;
    padding: 20px 0;
}

.bottom-diagonal-column {
    display: -webkit-box;
    flex-direction: row;
    gap: 16px;
    overflow: visible;
    width: auto;
    justify-content: center;
    margin-top: 100px;
    align-items: center;
    margin-right: 20px;
}

.bottom-diagonal-text {
    font-family: '29LT Azahar Text', serif;
    font-size: 14px;
    transform: rotate(-45deg);
    white-space: nowrap;
    color: #ff0000;
    width: 20px;
    margin-top: -90px;
    padding: 0 0px;
}

/* Unseen page specific styles */
.unseen-container .bottom-diagonal-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 150px;
    margin-bottom: 200px;
    padding: 20px 0;
}

.unseen-container .bottom-diagonal-column {
    display: -webkit-box;
    flex-direction: row;
    gap: 26px;
    overflow: visible;
    width: auto;
    justify-content: center;
    margin-top: 350px;
    align-items: center;
    transform: translateX(-180%);  /* Center the column */
    position: relative;
    left: 50%;  /* Center the column */
}

.unseen-container .bottom-diagonal-text {
    font-family: 'Asemic-Regular', Arial, sans-serif;
    font-size: 80px;
    transform: rotate(-45deg);
    white-space: nowrap;
    color: #000000;
    width: 10px;
    margin-top: -100px;
    padding: 0 0px;
    animation: none !important;
}

.top-diagonal-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    padding: 30px 0;
}

.top-diagonal-column {
    display: -webkit-box;
    flex-direction: row;
    gap: 16px;
    overflow: visible;
    width: auto;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.top-diagonal-text {
    font-family: '29LT Azahar Text', serif;
    font-size: 14px;
    transform: rotate(-45deg);
    white-space: nowrap;
    color: #ff0000;
    width: 20px;
    margin-top: -90px;
    padding: 0 0px;
    animation: letterSpacingWave 15s ease-in-out infinite;
}

/* Random durations and delays for each line */
.top-diagonal-text:nth-child(1) { animation-duration: 12s; animation-delay: 0s; }
.top-diagonal-text:nth-child(2) { animation-duration: 18s; animation-delay: 1.5s; }
.top-diagonal-text:nth-child(3) { animation-duration: 14s; animation-delay: 0.7s; }
.top-diagonal-text:nth-child(4) { animation-duration: 16s; animation-delay: 2.3s; }
.top-diagonal-text:nth-child(5) { animation-duration: 15s; animation-delay: 0.2s; }
.top-diagonal-text:nth-child(6) { animation-duration: 19s; animation-delay: 1.8s; }
.top-diagonal-text:nth-child(7) { animation-duration: 14.5s; animation-delay: 0.5s; }
.top-diagonal-text:nth-child(8) { animation-duration: 17.5s; animation-delay: 2.1s; }
.top-diagonal-text:nth-child(9) { animation-duration: 15.5s; animation-delay: 0.9s; }
.top-diagonal-text:nth-child(10) { animation-duration: 18.5s; animation-delay: 1.2s; }

@keyframes letterSpacingWave {
    0% {
        letter-spacing: normal;
    }
    50% {
        letter-spacing: 5px;
    }
    100% {
        letter-spacing: normal;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes slideInDiagonal {
    from {
        opacity: 100;
        transform: translateX(-100px) rotate(45deg);
    }
    to {
        opacity: 100;
        transform: translateX(0) rotate(45deg);
    }
}

@keyframes slideInDiagonalRight {
    from {
        opacity: 100;
        transform: translateX(100px) rotate(-45deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(-45deg);
    }
}

/* Add sequential delays for each line */
.diagonal-text:nth-child(1) { animation-delay: 0.2s; }
.diagonal-text:nth-child(2) { animation-delay: 0.4s; }
.diagonal-text:nth-child(3) { animation-delay: 0.6s; }
.diagonal-text:nth-child(4) { animation-delay: 0.8s; }
.diagonal-text:nth-child(5) { animation-delay: 1.0s; }
.diagonal-text:nth-child(6) { animation-delay: 1.2s; }
.diagonal-text:nth-child(7) { animation-delay: 1.4s; }
.diagonal-text:nth-child(8) { animation-delay: 1.6s; }
.diagonal-text:nth-child(9) { animation-delay: 1.8s; }
.diagonal-text:nth-child(10) { animation-delay: 2.0s; }
.diagonal-text:nth-child(11) { animation-delay: 2.2s; }
.diagonal-text:nth-child(12) { animation-delay: 2.4s; }
.diagonal-text:nth-child(13) { animation-delay: 2.6s; }
.diagonal-text:nth-child(14) { animation-delay: 2.8s; }
.diagonal-text:nth-child(15) { animation-delay: 3.0s; }
.diagonal-text:nth-child(16) { animation-delay: 3.2s; }
.diagonal-text:nth-child(17) { animation-delay: 3.4s; }
.diagonal-text:nth-child(18) { animation-delay: 3.6s; }
.diagonal-text:nth-child(19) { animation-delay: 3.8s; }
.diagonal-text:nth-child(20) { animation-delay: 4.0s; }
.diagonal-text:nth-child(21) { animation-delay: 4.2s; }
.diagonal-text:nth-child(22) { animation-delay: 4.4s; }
.diagonal-text:nth-child(23) { animation-delay: 4.6s; }
.diagonal-text:nth-child(24) { animation-delay: 4.8s; }
.diagonal-text:nth-child(25) { animation-delay: 5.0s; }
.diagonal-text:nth-child(26) { animation-delay: 5.2s; }
.diagonal-text:nth-child(27) { animation-delay: 5.4s; }
.diagonal-text:nth-child(28) { animation-delay: 5.6s; }
.diagonal-text:nth-child(29) { animation-delay: 5.8s; }
.diagonal-text:nth-child(30) { animation-delay: 6.0s; }
.diagonal-text:nth-child(31) { animation-delay: 6.2s; }
.diagonal-text:nth-child(32) { animation-delay: 6.4s; }
.diagonal-text:nth-child(33) { animation-delay: 6.6s; }
.diagonal-text:nth-child(34) { animation-delay: 6.8s; }
.diagonal-text:nth-child(35) { animation-delay: 7.0s; }
.diagonal-text:nth-child(36) { animation-delay: 7.2s; }
.diagonal-text:nth-child(37) { animation-delay: 7.4s; }
.diagonal-text:nth-child(38) { animation-delay: 7.6s; }
.diagonal-text:nth-child(39) { animation-delay: 7.8s; }
.diagonal-text:nth-child(40) { animation-delay: 8.0s; }

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        text-shadow: 0 0 0 rgba(255, 0, 0, 0);
    }
    50% {
        opacity: 0.5;
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(255, 0, 0, 0);
    }
}

@keyframes initialFadeIn {
    0% {
        opacity: 0;
        text-shadow: 0 0 0 rgba(255, 0, 0, 0);
    }
    50% {
        opacity: 0.5;
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(255, 0, 0, 0);
    }
}

.moving-text-container {
    width: 100%;
    overflow: hidden;
    background-color: #000;
    padding: 20px 0;
    position: relative;
    margin-top: 20px;
}

.moving-text {
    display: inline-flex;
    white-space: nowrap;
    animation: moveText 80s linear infinite;
    gap: 0;
    margin: 0 -5px;
    will-change: transform;
}

.moving-text span {
    font-family: '29LT Azahar Text', serif;
    font-size: 16px;
    color: #ff0000;
    padding: 0 4px;
    letter-spacing: 0.2px;
    margin: 0 -2px;
}

@keyframes moveText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Simple Page Fade Transition */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Apply fade to main content areas */
.content,
.content-column-1,
.content-column-2,
.unseen-container,
.landing-container,
.index-container,
.about-container {
    animation: fadeIn 0.8s ease-out;
}

/* Remove all animations from Farsi content */
.content-column-2 {
    animation: none !important;
    transform: none !important;
    text-orientation: mixed !important;
    writing-mode: horizontal-tb !important;
}

.content-column-2 h1,
.content-column-2 h2,
.content-column-2 p,
.content-column-2 indent {
    animation: none !important;
    transform: none !important;
    text-orientation: mixed !important;
    writing-mode: horizontal-tb !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
    direction: rtl;
}

.content-column-2 h1:hover,
.content-column-2 h2:hover,
.content-column-2 p:hover,
.content-column-2 indent:hover {
    animation: none !important;
    transform: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
    letter-spacing: normal !important;
}

/* Override any existing animations */
@keyframes resetFarsiContent {
    from, to {
        transform: none;
        rotate: 0deg;
    }
}

.content-column-2 * {
    animation: resetFarsiContent 0s !important;
    transform: none !important;
    text-orientation: mixed !important;
    writing-mode: horizontal-tb !important;
}

/* Fix distorted Farsi headers in interview page */
.interview-container .content-column-2 h1,
.interview-container .content-column-2 h2 {
    font-size: 46px;
    margin: 20px 0 30px;
    text-align: center;
    line-height: 1.2;
    animation: none !important;
    transform: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
    direction: rtl;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
}

.interview-container .content-column-2 h2 {
    font-size: 33px;
    margin-bottom: 100px;
}

.interview-container .content-column-2 h1:hover,
.interview-container .content-column-2 h2:hover {
    animation: none !important;
    transform: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
    letter-spacing: normal !important;
}

/* Remove font changing hover effect from English text */
.interview-container .content-column-1 h1:hover,
.interview-container .content-column-1 h2:hover,
.interview-container .content-column-1 p:hover {
    animation: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
    letter-spacing: normal !important;
}

.interview-container .content-column-1 h1,
.interview-container .content-column-1 h2,
.interview-container .content-column-1 p {
    animation: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
}

/* Remove all font switching effects from English text */
.content-column-1 h1,
.content-column-1 h2,
.content-column-1 p,
.content-column-1 indent {
    animation: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
}

.content-column-1 h1:hover,
.content-column-1 h2:hover,
.content-column-1 p:hover,
.content-column-1 indent:hover {
    animation: none !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
    letter-spacing: normal !important;
}

/* Override any existing font animations */
@keyframes resetEnglishText {
    from, to {
        font-family: '29LT Azahar Text', Arial, sans-serif;
    }
}

.content-column-1 * {
    animation: resetEnglishText 0s !important;
    font-family: '29LT Azahar Text', Arial, sans-serif !important;
}

/* About page diagonal text styles */
:root {
    --diagonal-text-offset: -20%; /* Default offset */
}

/* Base styles for all diagonal sections */
.about-diagonal {
    position: absolute;
    z-index: 1000;
    width: 100%;
    animation: fadeIn 0.8s ease-out;
}

/* Individual section styles - each can be adjusted independently */
.diagonal-section-1 {
    top: 15%;
    left: 46%;
    transform: translate(calc(-50% + var(--diagonal-text-offset)), -50%);
    animation-delay: 0.2s;
}

.diagonal-section-2 {
    top: 25%;
    left: 46%;
    transform: translate(calc(-50% + var(--diagonal-text-offset)), -50%);
    animation-delay: 0.4s;
}

.diagonal-section-3 {
    top: 35%;
    left: 55%;
    transform: translate(calc(-50% + var(--diagonal-text-offset)), -50%);
    animation-delay: 0.6s;
}

.diagonal-section-4 {
    top: 45%;
    left: 65%;
    transform: translate(calc(-50% + var(--diagonal-text-offset)), -50%);
    animation-delay: 0.8s;
}

.diagonal-section-5 {
    top: 55%;
    left: 80%;
    transform: translate(calc(-50% + var(--diagonal-text-offset)), -50%);
    animation-delay: 1.0s;
}

.diagonal-section-6 {
    top: 75%;
    left: 70%;
    transform: translate(calc(-50% + var(--diagonal-text-offset)), -50%) rotate(45deg);
    animation-delay: 1.2s;
}

.diagonal-section-6 .top-diagonal-text {
    transform: rotate(-45deg);
}

.about-diagonal .top-diagonal-text {
    color: #000;
    font-size: 14px;
    transform: rotate(-45deg);
    letter-spacing: normal;
    animation: none !important;
    white-space: nowrap;
}

.about-diagonal .top-diagonal-column {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow: visible;
    width: auto;
    justify-content: center;
    align-items: center;
}

/* About page container */
.about-container {
    width: 100%;
    min-height: 200vh;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 500px;
    max-width: 100vw;
    overflow-y: auto;
}

/* Base styles for circular text containers */
.circular-text-container-1,
.circular-text-container-2,
.circular-text-container-3,
.circular-text-container-4 {
    position: absolute;
    z-index: 1;
    overflow: visible;
    max-width: 100vw;  /* Ensure containers don't exceed viewport width */
}

/* First circular text */
.circular-text-container-1 {
    top: -10%;
    right: 6%;
    width: 900px;
    height: 900px;
}

.circular-text-1 {
    width: 100%;
    height: 100%;
    animation: spin-1 60s linear infinite;
}

.circular-text-1 text {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 16px;
    fill: #ff0000;
}

.circular-text-1 textPath {
    dominant-baseline: middle;
}

/* Second circular text */
.circular-text-container-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 2;
}

.circular-text-2 {
    width: 100%;
    height: 100%;
    animation: spin-2 60s linear infinite;
}

.circular-text-2 text {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 23px;
    fill: #ff0000;
}

.circular-text-2 textPath {
    dominant-baseline: middle;
}

/* Third circular text (bottom left) */
.circular-text-container-3 {
    position: absolute;
    bottom: -65%;
    left: -4%;
    width: 900px;
    height: 900px;
    z-index: 1;
}

.circular-text-3 {
    width: 120%;
    height: 100%;
    animation: spin-3 45s linear infinite;
    position: absolute;
    top: 5%;
    left: 0%;
    transform: translate(-50%, -50%);
}

.circular-text-3 text {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 16px;
    fill: #ff0000;
}

.circular-text-3 textPath {
    dominant-baseline: middle;
}

/* Fourth circular text (bottom left, smaller) */
.circular-text-container-4 {
    position: absolute;
    bottom: -20%;
    left: -16%;
    width: 800px;
    height: 740px;
    z-index: 2;
}

.circular-text-4 {
    width: 200%;
    height: 118%;
    animation: spin-4 70s linear infinite;
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(-50%, -50%);
}

.circular-text-4 text {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 16px;
    fill: #ff0000;
}

.circular-text-4 textPath {
    dominant-baseline: middle;
}

/* Individual spin animations */
@keyframes spin-1 {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes spin-2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-3 {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes spin-4 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Left Diagonal text section */
.left-diagonal-section {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 50px;
    padding: 30px 0;
    z-index: 1000;
    pointer-events: none;
    bottom: 0;
    right: 0;
    height: auto;
    max-width: 100vw;  /* Ensure section doesn't exceed viewport width */
}

.left-diagonal-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: visible;
    width: auto;
    justify-content: center;
    align-items: flex-start;
    margin-right: 50px;
    padding-bottom: 300px;
    max-width: calc(100vw - 100px);  /* Prevent column from causing overflow */
}

.left-diagonal-text {
    font-family: '29LT Azahar Text', serif;
    font-size: 16px;
    line-height: 0.6;  /* Decreased line height */
    transform: rotate(-45deg);
    white-space: nowrap;
    color: #000000;
    width: auto;
    padding: 0 0px;
    opacity: 1;
    z-index: 1001;
    margin-bottom: 10px;  /* Decreased margin */
    transform-origin: left center;
}

.diagonal-section-7 {
    position: absolute;
    bottom: -45%;
    right: 0;
    transform: none;
    animation: none;
    padding-bottom: 300px;
    min-height: 800px;
    height: auto;
}

/* Random durations and delays for left diagonal text */
.left-diagonal-text:nth-child(1) { animation-duration: 12s; animation-delay: 0s; }
.left-diagonal-text:nth-child(2) { animation-duration: 18s; animation-delay: 1.5s; }
.left-diagonal-text:nth-child(3) { animation-duration: 14s; animation-delay: 0.7s; }
.left-diagonal-text:nth-child(4) { animation-duration: 16s; animation-delay: 2.3s; }
.left-diagonal-text:nth-child(5) { animation-duration: 15s; animation-delay: 0.2s; }
.left-diagonal-text:nth-child(6) { animation-duration: 19s; animation-delay: 1.8s; }
.left-diagonal-text:nth-child(7) { animation-duration: 14.5s; animation-delay: 0.5s; }
.left-diagonal-text:nth-child(8) { animation-duration: 17.5s; animation-delay: 2.1s; }
.left-diagonal-text:nth-child(9) { animation-duration: 15.5s; animation-delay: 0.9s; }
.left-diagonal-text:nth-child(10) { animation-duration: 18.5s; animation-delay: 1.2s; }
.left-diagonal-text:nth-child(11) { animation-duration: 13s; animation-delay: 0.3s; }
.left-diagonal-text:nth-child(12) { animation-duration: 17s; animation-delay: 1.7s; }
.left-diagonal-text:nth-child(13) { animation-duration: 14s; animation-delay: 0.6s; }
.left-diagonal-text:nth-child(14) { animation-duration: 16.5s; animation-delay: 2.0s; }
.left-diagonal-text:nth-child(15) { animation-duration: 15.2s; animation-delay: 0.8s; }

/* Apply fade to all about page elements */
.about-container,
.about-container *,
.circular-text-container-1,
.circular-text-container-3,
.circular-text-1,
.circular-text-3,
.left-diagonal-section,
.left-diagonal-column {
    animation: fadeIn 0.8s ease-out;
}

/* Remove fade from last diagonal text */
.left-diagonal-text {
    animation: none;
}

/* Ensure animations don't conflict */
.circular-text-1,
.circular-text-3 {
    animation: fadeIn 0.8s ease-out, spin-1 60s linear infinite;
}

.circular-text-3 {
    animation: fadeIn 0.8s ease-out, spin-3 45s linear infinite;
}

/* Additional text column styles */
.text-column:last-child {
    position: absolute;
    bottom: -45%;
    right: -10%;
    width: 800px;
    font-family: '29LT Azahar Text', serif;
    font-size: 16px;
    line-height: 1.2;
    color: #000000;
    z-index: 1000;
}

.text-column:last-child p {
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Add sequential delays for paragraphs */
.text-column:last-child p:nth-child(1) { animation-delay: 0.2s; }
.text-column:last-child p:nth-child(2) { animation-delay: 0.4s; }
.text-column:last-child p:nth-child(3) { animation-delay: 0.6s; }
.text-column:last-child p:nth-child(4) { animation-delay: 0.8s; }
.text-column:last-child p:nth-child(5) { animation-delay: 1.0s; }

/* Right text column styles */
.right-text-column {
    position: absolute;
    bottom: -35%;
    right: 20%;
    width: 500px;
    font-family: '29LT Azahar Text', serif;
    font-size: 16px;
    line-height: 1.4;
    color: #000000;
    z-index: 1000;
}

.right-text-column p {
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    max-width: 100%;  /* This will make paragraphs take full width of the column */
}

/* Add sequential delays for paragraphs */
.right-text-column p:nth-child(1) { animation-delay: 0.2s; }
.right-text-column p:nth-child(2) { animation-delay: 0.4s; }
.right-text-column p:nth-child(3) { animation-delay: 0.6s; }
.right-text-column p:nth-child(4) { animation-delay: 0.8s; }
.right-text-column p:nth-child(5) { animation-delay: 1.0s; }

/* Credits Box Styles */
.credits-box {
    position: absolute;
    bottom: -50%;
    right: 21%;
    width: 500px;
    color: #000000;
    font-family: '29LT Azahar Text', serif;
    z-index: 1000;
    height: auto;  /* Added to ensure proper height calculation */
    transform: translateZ(0);  /* Added to force GPU acceleration */
}

.credits-title {
    padding: 25px 20px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.credits-title:hover {
    color: #ff0000;
}

/* Remove toggle icon styles */
.toggle-icon {
    display: none;
}

.credits-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;  /* Shortened transition time */
    padding: 0 20px;
    transform-origin: top;
    will-change: max-height;
    backface-visibility: hidden;  /* Added to prevent flickering */
    -webkit-backface-visibility: hidden;
}

.credits-content.active {
    max-height: 500px;  /* Reduced from 1000px to be more precise */
}

.credits-content p {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;  /* Shortened animation time */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.credits-content p:first-child {
    margin-top: 5px;
}

/* Add sequential delays for paragraphs */
.credits-content p:nth-child(1) { animation-delay: 0.1s; }
.credits-content p:nth-child(2) { animation-delay: 0.2s; }
.credits-content p:nth-child(3) { animation-delay: 0.3s; }
.credits-content p:nth-child(4) { animation-delay: 0.4s; }
.credits-content p:nth-child(5) { animation-delay: 0.5s; }
.credits-content p:nth-child(6) { animation-delay: 0.6s; }

/* Interview page circular text */
.interview-circular-text-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 400px;
    z-index: 1000;
    pointer-events: none;
}

.interview-circular-text {
    width: 100%;
    height: 100%;
    animation: interviewSpin linear;
    animation-timeline: scroll();
    animation-range: entry 0% cover 100%;
}

.interview-circular-text text {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 45px;
    fill: #ff0000;
}

.interview-circular-text textPath {
    dominant-baseline: middle;
}

@keyframes interviewSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Unseen page specific styles */
.unseen-container {
    width: 100%;
    position: relative;
    min-height: 130vh;  /* Adjusted to accommodate the circular text */
    overflow: visible;
}

.unseen-container .content-column-1 {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.unseen-container .content-column-1 h1 {
    width: 100%;
    padding: 120px 120px !important;
    margin: 0 !important;
    text-align: justify !important;
    font-size: 60px;
    line-height: 0.6;
    box-sizing: border-box;
    position: relative;
    left: 0;
    transform: none;
    font-family: 'Asemic-Regular', Arial, sans-serif !important;
}

/* Remove all diagonal text styles */
.unseen-container .top-diagonal-section,
.unseen-container .top-diagonal-column,
.unseen-container .top-diagonal-text {
    display: none;
}

.unseen-container .content-column-1 h2 {
    width: 100%;
    max-width: 100%;
    padding: 30px 50px !important;  /* Added !important to override other styles */
    text-align: center;
    margin: 20px 0 30px !important;  /* Added !important to override other styles */
    font-size: 36px;
    line-height: 1.4;
    box-sizing: border-box;
    position: relative;  /* Added to ensure proper positioning */
    left: 0;  /* Reset any positioning */
    transform: none;  /* Reset any transforms */
}

.unseen-container .content-column-1 h1 {
    padding: 0 50px;
}

.unseen-title {
    display: block;
    width: 100%;
    padding: 90px 90px !important;
    margin: 40px 50 !important;
    text-align: center;
    font-size: 28px;
    line-height: 1.4;
    box-sizing: border-box;
    position: relative;
    left: 0;
    transform: none;
}

.unseen-container .top-diagonal-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 200px;
    margin-bottom: 100px;
    padding: 30px 0;
    position: relative;
    bottom: 0;
    transform: translateY(50%);  /* Move section down to center */
}

.unseen-container .top-diagonal-column {
    display: flex;
    flex-direction: row;
    gap: 0;  /* Removed gap completely */
    overflow: visible;
    width: auto;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    transform: translateY(100px);  /* Added transform to adjust overall position */
}

.unseen-container .top-diagonal-text {
    font-family: 'Asemic-Regular', Arial, sans-serif;
    font-size: 88px;
    transform: rotate(-45deg) translateY(-100px);  /* Added translateY to pull lines up */
    white-space: nowrap;
    color: #000000;
    width: auto;
    margin-top: -350px;  /* Much larger negative margin to bring lines very close */
    padding: 0 0px;
    animation: none !important;
    position: relative;  /* Added position relative */
}

/* Remove all animation-related styles */
.unseen-container .top-diagonal-text:nth-child(n) {
    animation: none !important;
}

.unseen-container .bottom-diagonal-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 150px;
    margin-bottom: 200px;
    padding: 20px 0;
}

.unseen-container .bottom-diagonal-column {
    display: -webkit-box;
    flex-direction: row;
    gap: 26px;
    overflow: visible;
    width: auto;
    justify-content: center;
    margin-top: 350px;
    align-items: center;
    transform: translateX(-180%);  /* Center the column */
    position: relative;
    left: 50%;  /* Center the column */
}

.unseen-container .bottom-diagonal-text {
    font-family: 'Asemic-Regular', Arial, sans-serif;
    font-size: 70px;
    transform: rotate(-45deg);
    white-space: nowrap;
    color: #000000;
    width: 10px;
    margin-top: -100px;
    padding: 0 0px;
    animation: none !important;
}

/* Unseen page circular text */
.unseen-container .circular-text-container-1,
.unseen-container .circular-text-container-3 {
    position: absolute;
    z-index: 1;
    overflow: visible;
    max-width: 100vw;
}

.unseen-container .circular-text-container-1 {
    bottom: -65%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translateX(-50%);
}

.unseen-container .circular-text-1 {
    width: 100%;
    height: 100%;
    animation: spin-1 60s linear infinite;
}

.unseen-container .circular-text-1 text {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 14px;  /* Reduced from 16px */
    fill: #ff0000;
}

.unseen-container .circular-text-1 textPath {
    dominant-baseline: middle;
}

.unseen-container .circular-text-container-3 {
    position: absolute;
    bottom: -50%;
    left: -4%;
    width: 900px;
    height: 900px;
    z-index: 1;
}

.unseen-container .circular-text-3 {
    width: 120%;
    height: 100%;
    animation: spin-3 45s linear infinite;
    position: absolute;
    top: 5%;
    left: 0%;
    transform: translate(-50%, -50%);
}

.unseen-container .circular-text-3 text {
    font-family: '29LT Azahar Text', Arial, sans-serif;
    font-size: 16px;
    fill: #ff0000;
}

.unseen-container .circular-text-3 textPath {
    dominant-baseline: middle;
}

.unseen-container .content-column-1[contenteditable="true"] {
    outline: none;  /* Remove default focus outline */
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30"><circle cx="15" cy="15" r="15" fill="red"/></svg>') 15 15, auto;  /* Red dot cursor */
}

.unseen-container .content-column-1[contenteditable="true"]:focus {
    outline: none;  /* Remove outline when focused */
}

.unseen-container .content-column-1[contenteditable="true"] h1 {
    outline: none;  /* Remove outline from h1 */
    cursor: text;  /* Show text cursor */
    caret-color: transparent;  /* Hide default caret */
    position: relative;  /* For positioning the custom cursor */
}

.unseen-container .content-column-1[contenteditable="true"] h1::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 80px;
    background-color: #ff0000;
    animation: blink 1s step-end infinite;
    pointer-events: none;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    30% { opacity: 0; }
}

.unseen-container .content-column-1[contenteditable="true"] h1:focus {
    outline: none;  /* Remove outline when focused */
}

/* Custom cursor styles */
.unseen-container .content-column-1[contenteditable="true"]::selection,
.unseen-container .content-column-1[contenteditable="true"] h1::selection {
    background-color: rgba(255, 0, 0, 0.2);  /* Light red background for selection */
}

/* Force cursor shape */
.unseen-container .content-column-1[contenteditable="true"] h1 {
    caret-shape: block !important;
    caret-width: 30px !important;
}

.unseen-container .editable-section {
    outline: none;
    cursor: text;
    caret-color: transparent;
    position: relative;
}

.unseen-container .editable-section h1 {
    outline: none;
    cursor: text;
    caret-color: transparent;
    position: relative;
}

.unseen-container .editable-section h1::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 80px;
    background-color: #ff0000;
    animation: blink 1s step-end infinite;
    pointer-events: none;
}

.unseen-container .static-section {
    padding-top: 10px;  /* Control space between sections */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    30% { opacity: 0; }
}

.unseen-container .editable-section h1:focus {
    outline: none;
}

/* Custom cursor styles */
.unseen-container .editable-section::selection,
.unseen-container .editable-section h1::selection {
    background-color: rgb(255, 0, 0);
}

/* Unseen page circular text - completely separate */
.unseen-container .unseen-circular-text {
    position: absolute;
    bottom: -20%;
    left: 50%;
    width: 420px;
    height: 420px;
    z-index: 2;
    transform: translateX(-50%);
}

.unseen-container .unseen-circular-text text {
    font-family: 'Asemic-Regular', Arial, sans-serif;
    font-size: 22px;
    fill: #ff0000;
}

/* Text Control Variables */
:root {
    --text-line-height: 0.6;
    --text-font-size: 50px;
    --text-letter-spacing: 0px;
}

/* Line Height Slider Control */
.line-height-control {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.line-height-control input[type="range"] {
    -webkit-appearance: none;
    width: 110px;
    height: 4px;
    background: #ff0000;
    border-radius: 2px;
    outline: none;
}

.line-height-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: #ff0000;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.line-height-control input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Apply variables to both sections */
.unseen-container .content-column-1 h1 {
    line-height: var(--text-line-height);
    font-size: var(--text-font-size);
    letter-spacing: var(--text-letter-spacing);
}

/* Update slider styles to use CSS variables */
#lineHeightSlider {
    accent-color: #ff0000;
}

#lineHeightSlider::-webkit-slider-thumb {
    accent-color: #ff0000;
}

#fontSizeSlider {
    accent-color: #ff0000;
}

#fontSizeSlider::-webkit-slider-thumb {
    accent-color: #ff0000;
}

#letterSpacingSlider {
    accent-color: #ff0000;
}

#letterSpacingSlider::-webkit-slider-thumb {
    accent-color: #ff0000;
}
  
  