 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 html,
 body {
     height: 100%;
 }

 .hidden {
     display: none !important;
 }



 @keyframes spin {
     to {
         transform: rotate(360deg);
     }
 }

 .animate-spin {
     animation: spin 1s linear infinite;
 }

 body {
     font-family: 'Libre Baskerville', serif;
     background-color: #f4f7fa;
     color: #2c3e50;
     line-height: 1.6;
     display: flex;
     flex-direction: column;
     min-height: 100vh;
     background-image: linear-gradient(rgba(200, 200, 200, 0.05) 3px, transparent 3px),
         linear-gradient(90deg, rgba(200, 200, 200, 0.05) 3px, transparent 3px);
     background-size: 30px 30px;
 }

 .page-content {
     flex: 1 0 auto;
 }

 .container {
     max-width: 800px;
     margin: 0 auto;
     padding: 2rem;
     text-align: center;
     margin-top: 20px;
     width: 100%;
     
 }

 /* .container {
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
} */

.message-container {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 15px;
}

.input-area {
    display: flex;
    flex-direction: column;
}

.message-input {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    font-size: 16px;
    color: #333;
    min-height: 120px;
    line-height: 1.5;
    overflow-y: auto !important; 
}

.message-input::placeholder {
    color: #777;
}

.message-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.left-controls {
    display: flex;
    gap: 8px;
}

.control-button {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: none;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.model-selector {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    font-weight: medium;
    cursor: pointer;

    
}

.fa-caret-down{

    margin-left: 10px;
}

.model-dropdown {
    margin-left: 5px;
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

.send-button {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: none;
    background-color: #f97316;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Attachment styling */
.attachment-container {
    width: 100%;
    background-color: rgb(250, 249, 249);
    border-radius: 0 0 8px 8px;
    border: 1px solid #e0e0e0;
    border-top: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 15px;
    margin-top: -1px; /* Creates a seamless connection */
    display: none; /* Hidden by default */
}

.attachment {
    display: flex;
    align-items: center;
}

.attachment-icon {
    width: 20px;
    height: 20px;
    color: #666;
    margin-right: 10px;
    flex-shrink: 0;
}

.attachment-details {
    flex: 1;
    min-width: 0;
}

.attachment-name {
    font-size: 13px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attachment-meta {
    font-size: 11px;
    color: #666;
}

.attachment-remove {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    color: #666;
    cursor: pointer;
    opacity: 0.7;
    flex-shrink: 0;
    margin-left: 10px;
}

.attachment-remove:hover {
    opacity: 1;
}

.pasted-label {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 10px;
}

/* File input styling */
.file-input {
    display: none;
}


.send-button svg {
    width: 18px;
    height: 18px;
    display: block;
    margin: auto;
}


.send-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.file-upload-input {
    display: none;
}





 .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    /* Reduce the gap between nav items for a more compact look */
    gap: 0.5rem;
}

.nav-logo {
    height: 50px;
    margin-right: 0.5rem;
    
}


.webLogo {
    height: 100%;
}
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}



.text-part {
  
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 100px;
    color: #0a6666;
    letter-spacing: 0.05em;
}



.text-n {
    margin-left: -25px; /* Add more space between SVG and N */
}

.logo {
    transform: rotate(20deg);
    transform-origin: center;
    margin: 0 5px;
}

.logo svg {
    width: 108px;
    height: 108px;
}

.logo-path {
    fill: none;
    stroke: #0a6666;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw 3s linear infinite;
}

.circle-node {
    fill: white;
    stroke: #0a6666;
    stroke-width: 8.2;
    r: 8;
}

.inner-line {
    fill: none;
    stroke: #0a6666;
    stroke-width: 10;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: draw-line 3s linear infinite;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}
 .nav-button {
     background: #3498db;
     color: white;
     padding: 0.5rem 1rem;
     border-radius: 8px;
     border: none;
     cursor: pointer;
     font-weight: 600;
     transition: background-color 0.3s;
 }

 .nav-button:hover {
     background-color: #2980b9;
 }

 /* .nav-buttons {
     display: flex;
     gap: 1rem;
 } */

 .signin-btn {
     background: none;
     border: 2px solid #3498db;
     color: #3498db;
     padding: 0.5rem 1rem;
     border-radius: 8px;
     cursor: pointer;
     font-weight: 600;
     transition: background-color 0.3s, color 0.3s;
 }

 .signin-btn:hover {
     background-color: #3498db;
     color: white;
 }



 .getstarted-btn {
     background: linear-gradient(135deg, #3498db, #2ecc71);
     color: white;
     padding: 0.5rem 1rem;
     border-radius: 8px;
     border: none;
     cursor: pointer;
     font-weight: 600;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s, box-shadow 0.3s;
 }

 .getstarted-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
 }

 .main-title {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: #2c3e50;
     
 }

 .subtitle {
     font-size: 1.1rem;
     color: #7f8c8d;
     margin-bottom: 2rem;
 }

.fa-discord{

    color: #5865F2;
}

 /* .search-container {


     width: 100%;
     margin-bottom: 1.5rem;
     position: relative;
     height: 180px;
     
 }

 .search-input {
     width: 100%;
     min-height: 100px;

     border: none;
     font-size: 1.2rem;
     background-color: transparent;
     outline: none;
     color: #2c3e50;
     padding: 1rem;

     padding-bottom: 60px;

     resize: none;
     border-radius: 10px;
     box-sizing: border-box;
     scrollbar-width: none;

     -ms-overflow-style: none;
 }

 .search-input::-webkit-scrollbar {
     display: none;

 }


 #searchForm {

     border-radius: 20px;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
     border: 1px solid gray;
     background-color: white;
 }

 .attachment-btn {
     position: absolute;
     bottom: 0.1rem;
     left: 1rem;
     background: none;
     border: none;
     cursor: pointer;
     padding: 3px;
     color: #7f8c8d;
 }

 .send-button {
     position: absolute;
     bottom: 0.1rem;
     right: 1rem;
     background-color: #f15a22;
     color: white;
     border: none;
     width: 40px;
     height: 40px;
     border-radius: 5px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     transition: background-color 0.3s, transform 0.2s;
 }

 .send-button:hover {
     background-color: #ff6b3d;
     transform: scale(1.05);
 }

 .send-button svg {
     width: 20px;
     height: 20px;
 }



 .model-selector {
     position: absolute;
     bottom: 0.04rem;
     right: 4.5rem;
     background-color: #f4f7fa;
     border: 1px solid #e0e0e0;
     border-radius: 5px;
     padding: 0.25rem;
     font-size: 0.75rem;
     cursor: pointer;
     color: #7f8c8d;
     padding: 10px;
 } */

 .hamburger-menu {
     display: none;
     flex-direction: column;
     cursor: pointer;
     z-index: 1001;
 }

 .hamburger-line {
     width: 25px;
     height: 3px;
     background-color: #2c3e50;
     margin: 3px 0;
     transition: all 0.3s ease;
 }

 .mobile-menu {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(255, 255, 255, 0.98);
     z-index: 1000;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     transition: all 0.3s ease;
 }

 .mobile-menu-item {
     display: block;
     padding: 1rem;
     margin: 0.5rem 0;
     text-align: center;
     font-size: 1.2rem;
     font-weight: 600;
     color: #2c3e50;
     text-decoration: none;
     transition: color 0.3s;
 }

/* Style update for nav items to make them more compact */
.nav-item {
    color: rgb(92, 91, 91);
    font-weight: bold;
    padding: 0.5rem 0.7rem;
    transition: color 0.2s;
    position: relative;
}

/* Add subtle hover effect */
.nav-item:hover {
    color: #33A2C6;
}

/* Optional: Add a subtle separator between nav items */
.nav-items-group {
    display: flex;
    align-items: center;
    border-left: 1px solid #e0e0e0;
    padding-left: 0.5rem;
    margin-left: 0.5rem;
}

.nav-buttons {
    display: flex;
    gap: 0.8rem; /* Slightly reduce the gap between buttons */
}

 .mobile-menu-item:hover {
     color: #3498db;
 }

 .hamburger-menu.active .hamburger-line:nth-child(1) {
     transform: rotate(45deg) translate(5px, 5px);
 }

 .hamburger-menu.active .hamburger-line:nth-child(2) {
     opacity: 0;
 }

 .hamburger-menu.active .hamburger-line:nth-child(3) {
     transform: rotate(-45deg) translate(7px, -6px);
 }

 .site-footer {
     flex-shrink: 0;
     text-align: center;
     padding: 1rem;
     color: #6b7280;
     font-size: 0.8rem;
 }

 .site-footer a {
     color: #3498db;
     text-decoration: none;
 }

 a {
     text-decoration: none;
 }

 .resume-preview,
 #resumeField {


     width: 100%;
     text-align: left;

 }

 .pdf-box {
     display: flex;
     justify-content: space-between;
     align-items: center;

     padding: 8px 12px;
     border-radius: 8px;
     margin-bottom: 12px;
     max-width: 450px;
 }

 .pdf-box i {
     color: #e74c3c;
 }



 .pdf-box .file-name {

     font-size: 0.85rem;
 }

 .pdf-box .close-btn {
     background: none;
     border: none;
     color: #bbb;
     font-size: 18px;
     cursor: pointer;
     margin-left: 20px;
 }

 .pdf-box .close-btn:hover {
     color: white;
 }

 /* Features section */
 .features-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    cursor: pointer;
}
.feature-item {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid lightgray;
}
.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}
.feature-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}
.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
}

.progress-container {
    background-color: #2a2a2a;
}

/* Progress bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f4f7fa;
    z-index: 9999;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.2s ease;
}

 @media (max-width: 768px) {
    
    .nav-item{

        display: none;
    }


     .nav-buttons {
         display: none;
     }

     .hamburger-menu {
         display: flex;
     }

     .features-section {
        flex-direction: column;
        align-items: center;
    }
    .feature-item {
        width: 80%;
    }
 }

 @media (max-width: 537px) {
     .webLogo2 {
         width: 100%;
         height: 100%;
     }

     .features-section {
        flex-direction: column;
        align-items: center;
    }
    .feature-item {
        width: 100%;
    }
 }

 @media(max-width: 414px){

    .text-part{

        font-size: 50px;

    }

    .logo svg{

        width: 60px;
        height: 60px;

    }

    .text-n{


        margin-left: -15px;
    }


 }