/*------------------------------------*\
  #ANIMATED BACKGROUND
\*------------------------------------*/
#animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
    pointer-events: none;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    pointer-events: none;
    will-change: auto;
}

/*------------------------------------*\
  #BASE STYLES
\*------------------------------------*/
html {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}

a {
    text-decoration: none;
}

body {
    position: relative;
    min-height: 100vh;
    background: transparent;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    background-color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input:focus,
textarea:focus,
button:focus,
.nav-connect:focus,
.hero-connect:focus,
.hero-resume:focus {
    outline: 2px solid #8360c3;
    outline-offset: 4px;
    box-shadow: 0 0 8px #8360c3;
}

input,
textarea,
button,
.nav-connect,
.hero-connect,
.hero-resume {
    transition: box-shadow 0.3s ease, outline 0.3s ease;
}

input,
textarea {
    background-color: #1c1c1c;
    color: #fff;
    border: 1px solid #444;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
    box-shadow: 0 0 0 1000px #1c1c1c inset !important;
    -webkit-text-fill-color: #fff !important;
}

input,
textarea,
input:-webkit-autofill,
textarea:-webkit-autofill {
    transition: background-color 0s ease-in-out, color 0s ease-in-out;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(264deg, #3f8974 -5.09%, #7156b0 106.28%);
    border-radius: 10px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(264deg, #2ebf91 -5.09%, #8360c3 106.28%);
    box-shadow: 0 0 6px rgba(131, 96, 195, 0.25);
}

.selectable-text {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/*------------------------------------*\
  #LAYOUT
\*------------------------------------*/
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 7% 20px 10%;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    transform: translateZ(0);
}

header {
    padding-top: 1.2%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 60px 20px;
}

.hero-action {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.about-section {
    margin: 60px 10% 150px 10%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
    color: #ccc;
}

.counters {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.projects-section {
    margin: 20px 10% 50px 10%;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-section {
    margin: 160px 10% 50px 10%;
    background-color: transparent;
    text-align: center;
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s ease;
}

.portfolio-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.contact-section {
    padding: 60px 10%;
    background-color: transparent;
    color: #fff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-left,
.contact-right {
    flex: 1;
    min-width: 300px;
    padding: 0 30px;
    padding-left: 40px;
    padding-right: 10px;
}

.contact-right form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-section {
    background-color: transparent;
    padding: 60px 10%;
    color: white;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section hr {
    border: 0.5px solid #444;
    margin: 40px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/*------------------------------------*\
  #COMPONENTS
\*------------------------------------*/
a,
button,
.project-card,
.portfolio-item,
.social-icons a,
.profile-img,
.about-img,
.section-title,
.bar,
.counters,
.talk-header,
.submit-btn,
.say-hello,
.hero-resume {
    transition: color 0.3s, background-color 0.3s, transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo span {
    color: rgb(39, 182, 165);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 50px;
    font-size: 16px;
}

.nav-menu li {
    cursor: pointer;
}

.nav-menu li a {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    text-decoration: none;
    color: #fff;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #3e829f;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a:active::after {
    width: 100%;
}

.nav-menu li a.active-link {
    color: #2ebf91;
}

.nav-connect {
    padding: 15px 20px;
    border-radius: 50px;
    background: linear-gradient(264deg, #2ebf91 -5.09%, #8360c3 106.28%);
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.nav-connect:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #8360c3;
}

.profile-img {
    margin-top: 30px;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-img:hover {
    transform: scale(1.08);
    text-shadow: 0 0 2px #8360c3;
}

.hero h1 {
    text-align: center;
    width: 80%;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 20px;
}

.hero h1 span {
    background: linear-gradient(to right, #2ebf91, #8360c3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    width: 70%;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 15px;
    color: #ccc;
}

.hero-connect,
.hero-resume {
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

.hero-connect {
    background: linear-gradient(264deg, #2ebf91 -5.09%, #8360c3 106.28%);
    color: white;
    border: 0px solid transparent;
}

.hero-resume {
    border: 2px solid #fff;
    background: transparent;
    color: white;
}

.hero-connect:hover {
    border: 2px solid white;
    box-shadow: 0 0 20px #8360c3;
}

.hero-resume:hover {
    border-color: #3e829f;
    transform: scale(1.05);
}

a.hero-connect,
a.hero-resume,
a.nav-connect {
    text-decoration: none;
    display: inline-block;
}

.section-title {
    font-size: 45px;
    text-align: center;
    font-weight: 700;
    margin: 80px 0 50px;
}

.section-title span {
    background: linear-gradient(to right, #8360c3, #2ebf91);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.section-title:hover {
    transform: scale(1.08);
}

.about-img {
    width: 260px;
    border-radius: 15px;
}

.about-img:hover {
    transform: scale(1.08);
    text-shadow: 0 0 2px #8360c3;
}

.skills {
    margin-top: 20px;
}

.skills p {
    margin: 10px 0 5px;
    font-weight: 600;
}

.skill-label:active {
    transform: scale(0.95);
    color: #2ebf91;
}

.skill-label {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.skill-label:hover {
    transform: scale(1.08);
    background: linear-gradient(to right, #8360c3, #2ebf91);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px rgba(180, 21, 255, 0.4);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.bar {
    background: #333;
    border-radius: 10px;
    overflow: hidden;
    height: 10px;
}

.bar:hover {
    transform: scale(1.03);
    color: #8360c3;
    text-shadow: 0 0 10px #8360c3;
}

.fill {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #8360c3, #2ebf91);
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.fill.animated {
    transition: width 1.5s ease-in-out;
}

.counters h3 {
    font-size: 24px;
}

.counters span {
    font-size: 32px;
    color: #2ebf91;
}

.counters:hover {
    transform: scale(1.02);
    text-shadow: 0 0 2px #8360c3;
}

.project-card {
    background-color: #1e1d1a;
    border: 2px solid #ffffff40;
    border-radius: 12px;
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    height: 205px;
    overflow: hidden;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(28, 123, 248, 0.2);
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.gradient-text {
    background: linear-gradient(to right, #8360c3, #2ebf91);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
}

.project-card p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.4em;
    max-height: 2.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    display: box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.project-card a {
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    border-bottom: none;
    outline: none;
}

.project-card a:hover,
.project-card a:focus {
    color: #3e829f;
    border-bottom: none;
    text-decoration: none;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    outline: none;
}

.explore-link {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
    transition: color 0.3s ease;
}

.project-card-link:hover .explore-link {
    color: #3e829f;
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-btn {
    background: #121212;
    color: #e0e0e0;
    border: 1px solid #ffffff1a;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(28, 123, 248, 0.2)
}

.page-btn:hover,
.page-btn.active {
    background: linear-gradient(264deg, #2ebf91 -5.09%, #8360c3 106.28%);
    color: #fff;
    border-color: #2ebf91;
    transform: scale(1.03);
    box-shadow: 0 3px 6px rgba(28, 123, 248, 0.2)
}

.page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.page-btn:focus {
    outline: none;
    box-shadow: none;
}

.portfolio-item {
    background: #1f1e1b;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(40, 100, 180, 0.2);
}

.portfolio-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

.portfolio-item p {
    padding: 10px 15px;
    font-size: 14px;
    color: #ccc;
}

.contact-section .section-title {
    text-align: center;
    font-size: 45px;
    margin-bottom: 60px;
}

.contact-left h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-left h3 span {
    background: linear-gradient(to right, #2ebf91, #8360c3);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.contact-left ul {
    list-style: none;
    margin-top: 20px;
}

.contact-left ul li {
    margin: 10px 0;
    font-size: 16px;
}

.contact-right input,
.contact-right textarea {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.submit-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(to right, #2ebf91, #8360c3);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#form-status {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #8360c3;
}

.footer-left h2 {
    font-size: 30px;
    font-weight: 700;
}

.footer-left p {
    max-width: 400px;
    color: #ccc;
    margin-top: 10px;
}

.footer-bottom p {
    font-size: 14px;
    color: #aaa;
}

.footer-links a {
    margin-left: 20px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #3e829f;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2ebf91, #8360c3);
    border-radius: 50%;
    padding: 10px;
}

.social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.talk-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.talk-header svg {
    flex-shrink: 0;
}

.talk-header h3 {
    font-size: 22px;
    color: white;
    margin: 0;
}

.talk-header h3 span {
    color: #2ebf91;
}

.talk-header:hover {
    transform: scale(1.02);
    text-shadow: 0 0 02px;
}

.say-hello {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(264deg, #2ebf91 -5.09%, #8360c3 106.28%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: 0;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
}

.say-hello .hello-icon {
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.say-hello:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(212, 63, 255, 0.5);
}

.say-hello:hover .hello-icon {
    transform: scale(1.2) rotate(5deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    align-items: flex-end;
}

.hamburger .bar {
    height: 2.5px;
    background: linear-gradient(90deg, #2ebf91, #8360c3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger .bar:nth-child(1) {
    width: 24px;
}

.hamburger .bar:nth-child(2) {
    width: 18px;
}

.hamburger .bar:nth-child(3) {
    width: 24px;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    width: 26px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    width: 26px;
}

.terms-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: rgba(22, 21, 19, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;

    padding: 20px;
}

.terms-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.close-terms-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.close-terms-btn:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px #2ebf91);
}

.close-terms-btn:focus {
    outline: none;
    box-shadow: none;
}

.terms-overlay .section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px 0;
    flex-shrink: 0;
}

.terms-content-wrapper {
    width: 90%;
    max-width: 1400px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px 40px 20px 50px;
    background: transparent;
    border: none;
    box-shadow: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.terms-content-wrapper::-webkit-scrollbar {
    display: none;
}

.terms-content-wrapper h3 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.terms-content-wrapper h3::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    flex-shrink: 0;
}

.terms-content-wrapper p {
    font-size: 15px;
    color: #d0d0d0;
    line-height: 1.7;
    padding-left: 38px;
    margin-bottom: 20px;
    text-align: justify;
}

.terms-content-wrapper a {
    color: #3e829f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-content-wrapper a:hover {
    color: #2ebf91;
    text-decoration: underline;
}

.terms-content-wrapper h3:nth-of-type(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M15 9.354a4 4 0 1 0 0 5.292'%3E%3C/path%3E%3C/svg%3E");
}

.terms-content-wrapper h3:nth-of-type(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='6'%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='2'%3E%3C/circle%3E%3C/svg%3E");
}

.terms-content-wrapper h3:nth-of-type(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.72'%3E%3C/path%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.72-1.72'%3E%3C/path%3E%3C/svg%3E");
}

.terms-content-wrapper h3:nth-of-type(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'%3E%3C/path%3E%3C/svg%3E");
}

.terms-content-wrapper h3:nth-of-type(5)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'%3E%3C/ellipse%3E%3Cpath d='M21 12c0 1.66-4 3-9 3s-9-1.34-9-3'%3E%3C/path%3E%3Cpath d='M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5'%3E%3C/path%3E%3C/svg%3E");
}

.terms-content-wrapper h3:nth-of-type(6)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'%3E%3C/line%3E%3Cpolygon points='22 2 15 22 11 13 2 9'%3E%3C/polygon%3E%3C/svg%3E");
}

.terms-content-wrapper h3:nth-of-type(7)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E");
}

.terms-content-wrapper h3:nth-of-type(8)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 11 12 14 22 4'%3E%3C/polyline%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'%3E%3C/path%3E%3C/svg%3E");
}

.terms-content-wrapper h3:nth-of-type(9)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232ebf91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}

/*------------------------------------*\
  #PRELOADER (ALTERNATIVE STYLE)
\*------------------------------------*/
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #161513;
    z-index: 9999;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, #8360c3, #2ebf91, transparent);
    animation: shimmer 1.5s infinite linear;
}

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

    100% {
        transform: translateX(100%);
    }
}

/*------------------------------------*\
  #UTILITIES / HELPERS
\*------------------------------------*/
.mobile-only {
    display: none;
}

.about-section.visible,
.projects-section.visible,
.portfolio-section.visible {
    opacity: 1;
    transform: translateY(0);
}


/*------------------------------------*\
  #ANIMATIONS
\*------------------------------------*/
@keyframes pulseBounce {

    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    50% {
        transform: scale(1.1) translateY(-2px);
        opacity: 0.85;
    }
}

.chat-icon {
    animation: pulseBounce 1.6s ease-in-out infinite;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.2) translateY(-3px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*------------------------------------*\
  #MEDIA QUERIES
\*------------------------------------*/
@media (max-width: 768px) {
    .mobile-only {
        display: block;
        padding-top: 10px;
        border-top: 1px solid #ffffff1a;
    }

    .mobile-only a {
        color: #ccc;
        font-size: 14px;
        text-decoration: underline;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        margin: 20px 6%;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero h1 {
        width: 100%;
        font-size: 28px;
    }

    .hero p {
        width: 90%;
        font-size: 14px;
    }

    .hero-action {
        flex-direction: column;
        gap: 15px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-text {
        width: 90%;
    }

    .contact-left,
    .contact-right {
        padding: 0 10px;
    }

    .contact-container,
    .footer-top {
        flex-direction: column;
    }

    .footer-right {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        display: none;
    }

    .say-hello {
        display: none !important;
    }

    .about-section .section-title,
    .terms-overlay .section-title {
        font-size: 40px;
        margin: 50px 0 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-left {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
        padding: 20px;
        border-radius: 12px;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-connect {
        display: none;
    }
}

@media (max-width: 600px) {
    .page-btn {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 6px;
    }

    .pagination-container {
        gap: 8px;
        margin-top: 30px;
        padding: 0 10px;
    }
}

@media (max-width: 992px) {

    .projects-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .projects-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .terms-content-wrapper {
        padding: 20px 15px;
    }

    .terms-content-wrapper p {
        padding-left: 0;
        text-align: left;
    }

    .terms-overlay .section-title {
        font-size: 28px;
    }
}