* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Source Serif 4", serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #007bff;
    --secondary-color: #1fbde9;
    --background-color: #f3f6f9;
    --text-color: #0b325b;
    --text-color: #000;
    --primary-color-dark: #0056b3;
}

body {
    background-color: #f3f6f9;
    height: 100vh;
    overflow: auto;
}

body.home {
    overflow: hidden;
}

.layout {
    width: 70rem;
    margin: 0 auto;
    max-width: 100%;
}

.whatsapp-btn {
    background: linear-gradient(90deg, #25d366, #128c22) !important;
}

header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 1000;
}

header.home {
    position: fixed;
    left: 0;
    top: 0;
    background: transparent;
}

header.home .logo {
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 2rem;
}

header.home nav {
    background: #fff1;
    backdrop-filter: blur(10px);
    border-radius: 2rem;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

header nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    padding: 1rem;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

header nav ul .ai-chat-link a {
    background: linear-gradient(135deg, #ffdd00, #ff4fd8, #7a5cff);
    color: #fff !important;
    border-radius: 2rem;
    padding: 5px 1rem;
    margin-left: 1rem;
    position: relative;
    z-index: 1;
}

header nav ul .ai-chat-link a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffdd00, #ff4fd8, #7a5cff);
    border-radius: 2rem;
    opacity: 0.5;
    animation: bubble 2s infinite;
    z-index: -1;
}

@keyframes bubble {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

header.home nav ul li a {
    color: #fff;
    padding: 1rem;
}

header.home nav ul li a:hover {
    color: var(--primary-color);
}

header nav ul li a.active {
    color: var(--primary-color);
}

header .layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .layout .buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

header .layout .buttons a {
    // text-transform: capitalize;
}

header .layout .buttons .btn {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 0.7rem 2rem;
    text-decoration: none;
    border-radius: 2rem;
    transition: background-color 0.3s ease;
}

header.home .layout .buttons .btn {
    padding: 1rem 2rem;
}

header .menu-btn {
    display: none;
}

header .more-links {
    position: relative;
}

header .more-links .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    min-width: 150px;
    z-index: 1000;
}

header .more-links:hover .dropdown {
    display: flex;
    align-items: start;
    padding: 0.8rem;
    gap: 0.5rem;
}

header .more-links .dropdown li {
    width: 100%;
}

header .more-links .dropdown li a {
    padding: 5px 10px;
    color: #000;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero .layout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
}

.hero .layout h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
}

.hero .layout h1 span {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.hero .layout p {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    width: 70%;
}

.hero .layout .buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero .layout .btn {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 2rem;
    transition: background-color 0.3s ease;
    text-transform: capitalize;
}

.hero .layout .btn-2 {
    background: #fff;
    color: var(--primary-color);
    padding: 1rem 2rem;
}

.scroll-down,
.scroll-up {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #fff;
    padding: 1rem;
    background: #fff1;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    animation: bounce 2s infinite;
}

.scroll-up {
    color: #000;
    background: #0001;
    animation: bounce 2s infinite reverse;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -30px);
    }

    60% {
        transform: translate(-50%, -15px);
    }
}

section {
    min-height: calc(100vh - 8.5rem);
}

footer {
    color: #fff;
}

.home-footer {
    background: transparent;
    padding: 1rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.home-footer .layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    max-width: 100%;
}

.home-footer ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.home-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workspaces {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
}

.workspaces h1 {
    color: var(--text-color);
}

.workspaces ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.workspaces ul li {
    border: 1px solid #ccc8;
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 5px 10px #ccc5;
    overflow: hidden;
}

.workspaces ul li a {
    width: 100%;
    padding: 1rem;
    display: block;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s ease;
    background: #fff;
}

.account-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.account-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 12px;
    border: 1px solid #ccc8;
}

.account-card p {
    color: var(--text-color);
    text-align: center;
}

.account-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.account-card h1 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.account-card form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.btn-login {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.btn-login:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.error {
    color: #d93025;
    background: #fce8e8;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: center;
}

.success {
    color: #137333;
    background: #e6f4ea;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: center;
}

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: #131314;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #e3e3e3;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 25px 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    width: 200px;
    max-width: 400px;
    min-width: min-content;
    border-color: #8e918f;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 10px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 0;
    flex-grow: 0;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #13131461;
    border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
    background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: white;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: white;
    opacity: 8%;
}

/* Profile Page Styles */
.profile-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.profile-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
    border: 1px solid #ccc8;
}

.profile-avatar {
    font-size: 5rem;
    color: var(--primary-color);
    line-height: 1;
}

.profile-card h2 {
    color: var(--text-color);
    font-size: 1.75rem;
    margin: 0;
}

.profile-role {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 0.35rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.profile-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
}

.detail-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-label i {
    color: var(--primary-color);
}

.detail-value {
    color: #495057;
    font-size: 0.95rem;
    word-break: break-all;
}

.profile-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.profile-actions .btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.private-projects {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.project-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.project-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.empty-state,
.upgrade-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.empty-state i,
.upgrade-card i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.empty-state h3,
.upgrade-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.role-0 {
    background: #ffc107;
    color: #000;
}

.role-1 {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: white;
}

.btn-outline {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)) !important;
    color: #fff !important;
}

.profile .items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.profile .items a {
    display: block;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.profile .items a:hover {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-color: var(--primary-color);
    color: #fff;
}

.list-page .layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 0;
}

.list-page h1 {
    color: var(--text-color);
    font-size: 2.5rem;
}

.list-page ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.list-page ul li {
    border: 1px solid #ccc8;
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 5px 10px #ccc5;
    overflow: hidden;
}

.list-page ul li a {
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s ease;
    background: #fff;
    text-transform: capitalize;
}

.aichat-container {
    display: flex;
}

.aichat-container #sidebar-right-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: transparent;
    border: none;
    color: #000;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 1001;
    display: none;
}

.aichat-container aside {
    width: 250px;
    background: #f8f9fa;
    padding: 1rem;
    border-right: 1px solid #e9ecef;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.aichat-container aside hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 1rem 0;
}

.aichat-container aside .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.aichat-container aside .head button {
    background: transparent;
    border: none;
    color: #000;
    font-size: 1.25rem;
    cursor: pointer;
}

.aichat-container aside .head .new-chat {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 0.5rem 0;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    border: none;
    width: 100%;
    cursor: pointer;
}

.aichat-container aside .body {
    height: 100%;
    overflow-y: auto;
}

.aichat-container aside .body .chat-list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aichat-container aside .body .chat-list .chat-item {
    display: block;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.aichat-container aside .body .chat-list .chat-item:hover {
    background: #ccc2;
    border-color: var(--primary-color);
}

.aichat-container aside .foot {
    display: flex;
    justify-content: space-between;
}

.aichat-container aside .foot button {
    background: transparent;
    border: none;
    color: #000;
    font-size: 1.25rem;
    cursor: pointer;
}

.aichat-container main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    justify-content: space-between;
    align-items: center;
    width: 50rem;
    margin: auto;
    padding: 2rem 0;
}

.aichat-container main .messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    width: 100%;
    height: calc(100% - 4rem);
    overflow: auto;
}

.aichat-container main .messages .message .ai,
.aichat-container main .messages .message .user {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    overflow: hidden;
    width: fit-content;
}

.aichat-container main .messages .message .user {
    float: right;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
}

.aichat-container main .messages .message .content {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
}

.aichat-container main .input {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1.5rem;
    box-shadow: inset 0 8px 10px rgba(0, 0, 0, 0.05);
}

.aichat-container main .input textarea {
    background: transparent;
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    width: 100%;
    resize: none;
}

.aichat-container main .input button {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    border: none;
    cursor: pointer;
    height: fit-content;
}

.aichat-container main .input button:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.welcome-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
    text-align: center;
}

.welcome-content i {
    font-size: 3rem;
    color: var(--primary-color);
    /* Cyan theme */
    margin-bottom: 1rem;
}

.welcome-content h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.welcome-content p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.welcome-hints {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.welcome-hints span {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-hints code {
    background: #1a1a2e;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid #333;
    color: #00cfda;
    font-size: 0.9rem;
}

.tool {
    padding: 5rem 0;
}

.tool button {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tool button:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.tool input,
.tool textarea {
    outline-color: var(--primary-color);
}

/* Portfolio */

.portfolio .layout {
    display: flex;
    gap: 2rem;
    padding: 4rem 0;
}

.portfolio .layout aside {
    height: fit-content;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 2rem;
}

.portfolio .layout aside img {
    border-radius: 50%;
    padding: 1rem;
    border: 1px solid #ccc8;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.portfolio .layout aside .social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    row-gap: 1.5rem;
    margin-top: 1rem;
    height: fit-content;
}

.portfolio .layout aside .social-links a {
    display: flex;
    border-radius: 50%;
    padding: 1rem;
    border: 1px solid #ccc8;
    width: fit-content;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.2s linear;
}

.portfolio .layout aside .social-links a:hover {
    background: #f8f9fa;
    border: 1px solid #ccc5;
    scale: 0.8;
}

.portfolio .layout aside .social-links img {
    border-radius: 5px;
    padding: 0;
    border: none;
    box-shadow: none;
    height: 1.5rem;
    margin-bottom: 0;
    height: 1.5rem;
    transition: 0.2s linear;
}

.portfolio .layout aside .social-links a:hover img {
    scale: 1.2;
}

.portfolio .layout aside .see-social-link {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 2rem;
}

.portfolio .layout main h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portfolio .layout main p,
.portfolio .layout main h2 {
    margin-bottom: 1rem;
}

.portfolio .layout main .section {
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
    padding-top: 1rem;
}

.portfolio .layout main .section.skills p span {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #e9ecef;
    background: #fff;
    border-radius: 5px;
    margin: 5px;
}

.portfolio .layout main h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.portfolio .layout main ul {
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.portfolio .layout main a {
    color: var(--primary-color);
}

.blogs {
    padding: 5rem 0;
}

.blogs h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blogs .blogs-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.blogs .blog-card {
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.blogs .blog-card .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blogs a {
    text-decoration: none;
    color: var(--text-color);
}

.blogs .blog-card h2 {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.blogs .blog-card .author-details {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.blogs .blog-card .author-details .author-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 0.5rem;
    object-fit: cover;
}

.blogs .blog-card .author-details div {
    display: flex;
    flex-direction: column;
}

.blogs .blog-card .author-details div strong {
    font-size: 0.9rem;
}

.blogs .blog-card .author-details div small {
    font-size: 0.7rem;
    color: #666;
}

.blogs .blog-card .blog-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.blogs .blog-card a.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog {
    padding: 5rem 0;
}

.blog figure img,
.blog #desc img:nth-child(1) {
    width: 100%;
    min-height: fit-content;
}

.blog h1 {
    color: var(--text-color);
    font-size: 2.5rem;
}

.blog .layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog .layout .details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog .layout .details .auther {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog .layout .details .auther .author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.blog .layout .details .auther h5 {
    font-size: 1.5rem;
    margin: 0;
}

.blog .layout .details .auther .btn {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.blog .layout .details .date h5 {
    font-size: 1.1rem;
    color: #666;
}

.blog .layout #desc img {
    width: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.blog .layout p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.blog .layout ul {
    list-style: disc;
    margin-left: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.blog .layout ol {
    list-style: decimal;
    margin-left: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.blog .layout li {
    margin-bottom: 0.5rem;
}

.subscribe-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: none;
    background: rgba(0, 0, 0, 0.5);
}

.subscribe-popup .popup-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: fit-content;
    max-width: 400px;
    margin: auto;
    background: #fff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1002;
}

.subscribe-popup .popup-content h2 {
    color: var(--text-color);
    font-size: 1.75rem;
}

.subscribe-popup .popup-content p {
    color: #666;
    font-size: 1rem;
}

.subscribe-popup .popup-content input {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-popup .popup-content input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.subscribe-popup .popup-content .close-btn {
    background: transparent;
    color: red;
    font-size: 1.25rem;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    border: none;
    cursor: pointer;
}

.subscribe-popup .popup-content .subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

/* Contact Section Styling */
section.contact {
    padding: 60px 20px;
    background-color: #f8f9fa;
    color: #333;
}

section.contact h1 {
    /* Matching your logo's blue */
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

section.contact p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

section.contact .contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 8px;
}

section.contact .contact-info p {
    margin: 0;
    font-size: 0.95rem;
}

section.contact .contact-info a {
    color: #00a0dc;
    text-decoration: none;
}

/* Form Styling */
section.contact .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 600px;
    max-width: 100%;
    margin: auto;
}

section.contact .contact-form input,
section.contact .contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

section.contact .contact-form input:focus,
section.contact .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 160, 220, 0.1);
}

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

section.contact .contact-form button {
    background-color: var(--primary-color);
    /* Matching AI Chat button style */
    color: white;
    padding: 14px;
    border: none;
    border-radius: 30px;
    /* Rounded like your header buttons */
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s transform 0.2s;
}

section.contact .contact-form button:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

/* Responsive Fix */
@media (max-width: 600px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

section.reveal {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

section.reveal h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

section.reveal .items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

section.reveal .items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.sitemap {
    padding: 5rem 0;
}

.sitemap h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.sitemap p {
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
}

.sitemap .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

@media (max-width: 600px) {
    .sitemap .grid {
        grid-template-columns: 1fr;
    }
}

.sitemap .grid h2 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sitemap .grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sitemap .grid ul li a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* Common Styling for Legal & About Pages */
.privacy-policy,
.about,
.terms {
    padding: 4rem 0;
}

.privacy-policy .content-text,
.about .content-text,
.terms .content-text {
    margin-top: 2rem;
    line-height: 1.8;
    color: #444;
}

/* Headings Styling */
.privacy-policy h3,
.about h3,
.terms h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

/* Typography & Lists */
.privacy-policy p,
.about p,
.terms p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.privacy-policy ul,
.about ul,
.terms ul {
    display: block;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-policy li,
.about li,
.terms li {
    list-style: disc;
    margin-bottom: 0.5rem;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

/* Important Text Highlight */
.privacy-policy strong,
.about strong,
.terms strong {
    color: var(--primary-color);
}

/* 404 Page Container Styling */
.pg-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    /* Yeh page ko center mein rakhega aur footer ko neeche push karega */
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Ya jo bhi aapka global font ho */
    padding: 20px;
    background-color: #ffffff;
}

/* Bada 404 Heading */
.pg-404 h1 {
    font-size: 8rem;
    /* Kafi bada aur bold text */
    font-weight: 800;
    margin: 0;
    line-height: 1;
    /* Aapke logo ka primary blue color */
    color: #0076f6;
    letter-spacing: -2px;
}

/* Page Not Found text */
.pg-404 h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333333;
    /* Dark grey text jo 'My Projects' heading se match kare */
    margin-top: 10px;
}

/* Home Link/Button Styling */
.pg-404 h2 a {
    color: #0076f6;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Home link par hover effect */
.pg-404 h2 a:hover {
    background-color: #0076f6;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive adjustment choti screens ke liye */
@media (max-width: 576px) {
    .pg-404 h1 {
        font-size: 5rem;
    }

    .pg-404 h2 {
        font-size: 1.2rem;
    }
}

.socials {
    padding: 4rem 0;
    max-width: calc(100% - 40px);
    margin: auto;
}

.socials .layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.socials .social-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.socials .social-links a {
    display: flex;
    border-radius: 50%;
    padding: 1rem;
    border: 1px solid #ccc8;
    width: fit-content;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.2s linear;
    height: 60px;
}

.socials .social-links a:hover {
    background: #f8f9fa;
    border: 1px solid #ccc5;
    scale: 0.8;
}

.insta-followers{
    padding: 4rem 0;
}

.insta-followers .layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insta-followers .layout .accounts {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.insta-followers .layout .accounts .card{
    background: white;
    border-radius: 1.5rem;
    padding: 1rem;
    padding-right: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    text-align: center;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.insta-followers .layout .accounts .card img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.insta-followers .layout .accounts .card .name{
    color: var(--text-color);
    font-weight: 600;
}


footer {
    background: #000;
    padding: 1rem 0;
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 1000;
}

footer .layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    max-width: 100%;
}

.footer .layout p {
    color: #fff;
    margin: 0;
}

.footer .layout ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.footer .layout ul li {
    color: #fff;
    font-weight: 600;
}

.footer .layout ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .layout ul li a:hover {
    color: var(--primary-color);
}