/* Responsive Sidebar Styles */
@media screen and (max-width: 1230px) {
    .nav-ribbon {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: calc(20px + 2vw) calc(15px + 1vw);
        transition: all 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: clamp(12px, 2vh, 25px);
        margin: 0;
        padding: 0;
        list-style: none;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: clamp(10px, 2vh, 20px) clamp(15px, 3vw, 25px);
        color: #fff;
        text-decoration: none;
        font-size: clamp(14px, 2.5vw, 18px);
        font-weight: 500;
        letter-spacing: 0.5px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        background: rgba(0, 255, 255, 0.1);
        border-color: rgba(0, 255, 255, 0.3);
        color: #00ffff;
        transform: translateX(5px);
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    }
}

/* Tablet-specific adjustments */
@media screen and (max-width: 768px) {
    .nav-ribbon {
        width: min(100%, 300px);
        right: -100%;
        padding: calc(25px + 3vh) calc(15px + 2vw);
    }

    .nav-links {
        gap: clamp(15px, 2.5vh, 30px);
    }

    .nav-links li a {
        font-size: clamp(15px, 3vw, 20px);
        padding: clamp(12px, 2.5vh, 22px) clamp(18px, 3.5vw, 28px);
    }
}

/* Small mobile adjustments */
@media screen and (max-width: 480px) {
    .nav-ribbon {
        width: 100%;
        padding: calc(20px + 4vh) calc(12px + 3vw);
    }

    .nav-links {
        gap: clamp(12px, 2vh, 20px);
    }

    .nav-links li a {
        font-size: clamp(14px, 4vw, 16px);
        padding: clamp(10px, 2vh, 18px) clamp(15px, 4vw, 25px);
    }
}

/* Extra small screens */
@media screen and (max-width: 320px) {
    .nav-ribbon {
        padding: calc(15px + 3vh) calc(10px + 2vw);
    }

    .nav-links li a {
        font-size: clamp(13px, 3.5vw, 15px);
        padding: clamp(8px, 1.5vh, 15px) clamp(12px, 3vw, 20px);
    }
}

/* Add these keyframes at the start of the file */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Neural Network Lines */
.neural-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 195, 255, 0.1) 0%, transparent 8%),
        radial-gradient(circle at 70% 60%, rgba(0, 195, 255, 0.1) 0%, transparent 8%),
        radial-gradient(circle at 40% 80%, rgba(0, 195, 255, 0.1) 0%, transparent 8%);
    z-index: 1;
}

/* Glowing Text Effect */
.header-text p, .header-text-h1 h1 {
    text-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
    position: relative;
}

.header-text-h1 h1 {
    background: linear-gradient(45deg, #fff, #0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* Add glowing dots */
.header-text::before,
.header-text::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #0ff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.header-text::before {
    left: -20px;
    top: 50%;
}

.header-text::after {
    right: -20px;
    top: 50%;
}

/* --------------------------------------------HOME PAGE----------------------------------------- */

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #000000;
    color: #FFFFFF;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

#header {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        45deg,
        #000000,
        #1a1a2e,
        #16213e,
        #0f3460,
        #1a1a2e,
        #000000
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 195, 255, 0.03) 3px,
        rgba(0, 195, 255, 0.03) 3px
    );
    pointer-events: none;
    z-index: 2;
}

/* AI Circuit Pattern */
#header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
    z-index: 1;
}

/* Floating AI Elements */
.ai-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.ai-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 195, 255, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite, pulse 4s ease-in-out infinite;
}

.ai-element:nth-child(1) {
    top: 20%;
    left: 15%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.ai-element:nth-child(2) {
    top: 60%;
    right: 20%;
    width: 100px;
    height: 100px;
    animation-delay: -2s;
}

.ai-element:nth-child(3) {
    top: 30%;
    right: 30%;
    width: 80px;
    height: 80px;
    animation-delay: -4s;
}

.container{
    padding: 10px max(5%, 20px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-wrapper.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.logo {
    width: clamp(150px, 18vw, 250px);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: clamp(25px, 3vw, 40px);
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(0, 195, 255, 0.5));
    transform: scale(1.02);
}

.nav-ribbon {
    position: relative;
    padding: 10px 30px;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.1),
        rgba(255, 0, 255, 0.1)
    );
    backdrop-filter: blur(10px);
    border-radius: 0 0 0 50px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: clamp(35px, 5vw, 45px);
    height: clamp(35px, 5vw, 45px);
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: clamp(15px, 2vw, 25px);
    position: relative;
    z-index: 1002;
    transition: all 0.3s ease;
}

.menu-icon .dots {
    display: flex;
    flex-direction: column;
    gap: clamp(3px, 0.5vw, 5px);
    align-items: center;
    justify-content: center;
}

.menu-icon .dots span {
    width: clamp(3px, 0.5vw, 5px);
    height: clamp(3px, 0.5vw, 5px);
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-icon:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.menu-icon:hover .dots span {
    background: #00ffff;
    box-shadow: 0 0 5px #00ffff;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

.nav-links li a:hover::before,
.nav-links li a.active::before {
    width: 100%;
}

.nav-links li a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.fa-times {
    display: none;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #FF004F;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text {
    height: 30px; 
    display: flex;
    align-items: center;
}

.header-text p {
    margin-top: 45%;
    font-size: 30px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    border-right: none;
    animation: none;
}

.header-text-h1 h1{
    margin-top: 25%;
    font-size: 60px;
}

.header-text-h1 span{
    color: #F54D4D;
}

/*------------------------------------------ABOUT PAGE----------------------------------------*/

#about {
    padding: 80px 0;
    color: #ababab;
    background: linear-gradient(to bottom, #000000, #0a192f);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(0, 255, 255, 0.1) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(0, 255, 255, 0.1) 50%, transparent 55%);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-col-1 {
    flex: 0 1 350px;
    position: relative;
    margin: 0 auto;
}

.about-col-1::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, transparent, #00ffff, transparent);
    border-radius: 15px;
    animation: borderGlow 3s linear infinite;
}

.about-col-1::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #0a192f;
    border-radius: 15px;
    z-index: 1;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.about-col-1 img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
    z-index: 2;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.about-col-1 img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.about-col-2 {
    flex: 0 1 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sub-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.sub-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
}

.about-text {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.6;
    color: #e6e6e6;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(10, 25, 47, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: justify;
    max-width: 800px;
}

.tab-titles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    width: 100%;
}

.tab-links {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    cursor: pointer;
    color: #fff;
    padding: 10px 20px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.1);
    white-space: nowrap;
}

.tab-links:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tab-links.active-link {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.3);
}

.tab-contents {
    display: none;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

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

.tab-contents.active-tab {
    display: block;
}

.tab-contents ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}

.tab-contents ul li {
    list-style: none;
    padding: 20px;
    background: rgba(10, 25, 47, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.tab-contents ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.tab-contents ul li span {
    color: #00ffff;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    position: relative;
    padding-left: 25px;
    display: inline-block;
    margin-bottom: 10px;
}

.tab-contents ul li span::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #00ffff;
}

.tab-contents ul li p {
    color: #e6e6e6;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.6;
}

/* Skills section specific styling */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.skill-item {
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.skill-item span {
    color: #00ffff;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 5px 0;
}

/* Update existing tab content styles */
.tab-contents ul {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

#skills.tab-contents ul {
    display: block;
}

#skills .skills-grid li {
    margin: 0;
    height: 100%;
}

/* Work Section Styling */
#work {
    padding: 80px 0;
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

#work .sub-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: 100%;
    display: block;
}

#work .container {
    text-align: center;
    padding: 0 50px;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 50px auto;
    padding: 20px;
    max-width: 1200px;
}

.work, .my-work {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.work:hover, .my-work:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.5);
}

.work img, .my-work img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease;
    display: block;
}

.work:hover img, .my-work:hover img {
    transform: scale(1.05);
}

.layer {
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 15px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.layer h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.layer p {
    color: #e6e6e6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.layer .project-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.layer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, #00ffff33, #ff00ff33);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.layer a:hover {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.layer a i {
    transition: transform 0.3s ease;
}

.layer a:hover i {
    transform: scale(1.2);
}

.see-more-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #00ffff33, #ff00ff33);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    font-weight: 500;
}

.see-more-btn:hover {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.layer a.github-link {
    margin-top: 20px;
    color: #FF004F;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    z-index: 3; /* Add z-index */
    position: relative; /* Ensure it's positioned relative to its parent */
}

/*------------------------------------------PORTFOLIO----------------------------------------*/

#portfolio {
    padding: 50px 0;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
    padding: 20px;
}

.work {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.work:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.5);
}

.work img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease;
    display: block;
}

.work:hover img {
    transform: scale(1.05);
}

.layer {
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 15px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.layer h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.layer p {
    color: #e6e6e6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.layer .project-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.layer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, #00ffff33, #ff00ff33);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.layer a:hover {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.layer a i {
    transition: transform 0.3s ease;
}

.layer a:hover i {
    transform: scale(1.2);
}

.btn {
    display: inline-block;
    margin: 50px auto;
    padding: 12px 30px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

@media only screen and (max-width: 600px) {
    .work-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }
    
    .work img, .my-work img {
        height: 200px;
    }
    
    .layer h3 {
        font-size: 1.3rem;
    }
    
    .layer p {
        font-size: 0.9rem;
    }
    
    .layer a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/*------------------------------------------CONTACT----------------------------------------*/

#contact {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)),
                url('images/contact-bg.jpg') center/cover;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00ffff10, #ff00ff10);
    pointer-events: none;
}

#contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    z-index: 1;
}

#contact .row {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    position: relative;
    overflow: hidden;
}

#contact .row::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: glowingBg 10s linear infinite;
}

@keyframes glowingBg {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.contact-left {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-right {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.sub-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.contact-left p {
    margin: 30px 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #fff;
}

.contact-left p i {
    color: #00ffff;
    margin-right: 15px;
    font-size: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    text-decoration: none;
    font-size: 25px;
    color: #ababab;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icons a:hover::before {
    opacity: 0.2;
}

.social-icons a:hover {
    color: #00ffff;
    transform: translateY(-5px);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.btn.btn2 {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 15px 50px;
    font-size: 16px;
    text-decoration: none;
    background: linear-gradient(45deg, #00ffff33, #ff00ff33);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn.btn2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn.btn2:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
    background: linear-gradient(45deg, #00ffff, #ff00ff);
}

.btn.btn2:hover::before {
    left: 100%;
}

.contact-right form {
    width: 100%;
}

form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form input:focus, form textarea:focus {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

form textarea {
    resize: none;
    height: 150px;
    font-family: inherit;
}

form button[type="submit"] {
    display: inline-block;
    padding: 14px 50px;
    font-size: 16px;
    text-decoration: none;
    background: linear-gradient(45deg, #00ffff33, #ff00ff33);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}

form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
    background: linear-gradient(45deg, #00ffff, #ff00ff);
}

form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#msg {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#msg.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-right form {
    position: relative;
}

.contact-right form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    font-weight: 300;
}

.copyright i {
    color: #00ffff;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media only screen and (max-width: 768px) {
    #contact .container {
        padding: 0 20px;
    }

    #contact .row {
        padding: 30px;
        gap: 20px;
    }

    .contact-left, .contact-right {
        flex: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icons a {
        font-size: 20px;
        width: 45px;
        height: 45px;
    }

    .btn.btn2 {
        padding: 12px 30px;
        font-size: 14px;
    }

    form input, form textarea {
        padding: 12px;
        font-size: 14px;
    }

    .sub-title {
        font-size: 2.5rem;
    }
}

/*------------------------------------------CSS FOR DIFFERENT SCREEN SIZES----------------------------------------*/

nav .fa-solid{
    display: none;
}

/* Large screens (1200px and up) */
@media screen and (min-width: 1200px) {
    .container {
        padding: 10px max(10%, 40px);
    }
    
    .header-text p {
        font-size: clamp(24px, 2.5vw, 30px);
    }
    
    .header-text-h1 h1 {
        font-size: clamp(48px, 4vw, 60px);
    }
}

/* Medium screens (900px to 1199px) */
@media screen and (max-width: 1199px) {
    .about-col-1 {
        flex-basis: 45%;
    }
    
    .about-col-2 {
        flex-basis: 50%;
    }
    
    .work-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablet screens (601px to 899px) */
@media screen and (max-width: 899px) {
    .header-text {
        margin-top: 15vh;
    }
    
    .header-text p {
        font-size: clamp(18px, 2.5vw, 24px);
        margin-top: 30%;
    }
    
    .header-text-h1 h1 {
        font-size: clamp(32px, 3.5vw, 48px);
        margin-top: 20%;
    }
    
    .about-col-1, .about-col-2 {
        flex-basis: 100%;
    }
    
    .about-col-1 img {
        max-width: min(80%, 500px);
        margin: 0 auto;
        display: block;
    }
    
    .sub-title {
        font-size: clamp(36px, 5vw, 48px);
    }
    
    .work-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile screens (600px and below) */
@media screen and (max-width: 600px) {
    #header {
        width: 100%;
        min-height: 100vh;
        position: relative;
        overflow: hidden;
        background: linear-gradient(
            45deg,
            #000000,
            #1a1a2e,
            #16213e,
            #0f3460,
            #1a1a2e,
            #000000
        );
        background-size: 400% 400%;
        animation: gradientBG 15s ease infinite;
        padding: 0 20px;
    }

    /* Ensure AI elements remain visible */
    .ai-elements {
        opacity: 0.7;
    }

    .neural-lines {
        opacity: 0.5;
    }

    /* Adjust particle visibility */
    .particle {
        opacity: 0.7;
    }

    /* Keep the circuit pattern visible */
    #header::after {
        opacity: 0.15;
    }

    .logo {
        width: min(250px, 35vw);
        margin-top: 0;
        margin-left: 0;
    }

    nav ul {
        background: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 0;
        right: -50px;
        width: 50x;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li {
        display: block;
        margin: 25px;
    }
    
    nav ul .fa-solid {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    
    nav .fa-solid {
        display: block;
        font-size: 25px;
    }
    
    .header-text {
        margin-top: 10vh;
        height: auto;
        text-align: center;
    }
    
    .header-text p {
        font-size: clamp(16px, 4vw, 20px);
        margin-top: 20%;
        white-space: normal;
    }
    
    .header-text-h1 h1 {
        font-size: clamp(24px, 5vw, 32px);
        margin-top: 15%;
    }
    
    .sub-title {
        font-size: clamp(28px, 6vw, 36px);
    }
    
    .about-col-1 img {
        max-width: 100%;
    }
    
    .tab-links {
        margin-right: 20px;
        font-size: 16px;
    }
    
    .contact-left, .contact-right {
        flex-basis: 100%;
    }
    
    form input, form textarea {
        margin-top: 15px;
        font-size: 16px;
    }
}

/* Extra small screens (400px and below) */
@media screen and (max-width: 400px) {
    #header {
        padding: 0 15px;
    }

    /* Adjust element visibility for better performance */
    .ai-elements {
        opacity: 0.5;
    }

    .particle {
        opacity: 0.5;
    }

    .neural-lines {
        opacity: 0.4;
    }

    .logo {
        width: min(200px, 30vw);
    }
}

/*------------------------------------------MESSAGE SENT SUCESSFULLY---------------------------------------*/
body {
background-color: black;
color: white;
font-family: Arial, sans-serif;
}

.accordion {
background-color: black;
color: white;
border-radius: 5px;
overflow: hidden;
}

.accordion-item {
margin-bottom: 10px;
}

.accordion-button {
width: 100%;
background-color: rgb(54, 50, 50);
color: white;
border: none;
padding: 15px;
text-align: left;
font-size: 16px;
font-weight: bold;
display: flex;
justify-content: space-between;
align-items: center;
transition: background-color 0.3s;
}

.accordion-button:hover {
background-color: #555;
}

.accordion-button .role-company {
display: flex;
align-items: center;
gap: 5px;
}

.accordion-button .company-name {
font-weight: bold;
opacity: 0.9;
}

.accordion-button .date {
font-size: 14px;
opacity: 0.8;
text-align: right;
margin-left: auto;
margin-right: 20px;
}

.accordion-button::after {
content: "▼";
font-size: 12px;
transform: rotate(0deg);
transition: transform 0.3s;
}

.accordion-button.active::after {
transform: rotate(180deg);
}

.accordion-content {
max-height: 0;
overflow: hidden;
background-color: black;
color: white;
padding: 0 15px;
transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content p, .accordion-content ul {
padding: 10px 0;
}

.accordion-content ul {
list-style-type: none;
padding-left: 15px;
}

.accordion-content ul li {
margin: 5px 0;
}

@keyframes particle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 195, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.particle:nth-child(1) { --tx: 100px; --ty: -100px; animation: particle 3s infinite; }
.particle:nth-child(2) { --tx: -150px; --ty: -50px; animation: particle 4s infinite 1s; }
.particle:nth-child(3) { --tx: 50px; --ty: -150px; animation: particle 3.5s infinite 0.5s; }
.particle:nth-child(4) { --tx: -100px; --ty: -100px; animation: particle 4.5s infinite 1.5s; }

.see-more-container {
    text-align: center;
    margin: 40px 0;
}

.see-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.project-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.project-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.project-links a:hover {
    color: #00ffff;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.project-links a i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .nav-wrapper {
        padding: 10px 0;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .menu-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        display: none;
        width: 100%;
        text-align: center;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .fa-times {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 24px;
        color: white;
        cursor: pointer;
        z-index: 1002;
    }

    .fa-times:hover {
        color: #00ffff;
    }

    /* Ensure links are visible in mobile menu */
    .nav-ribbon .nav-links {
        opacity: 1;
        visibility: visible;
    }

    .nav-ribbon.active .nav-links {
        display: flex;
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links li:nth-child(6) { transition-delay: 0.6s; }
}

@media screen and (max-width: 480px) {
    .nav-ribbon {
        width: 100%;
        right: -100%;
    }
}

@media screen and (max-width: 480px) {
    .nav-links li a {
        font-size: 15px;
        padding: 10px 15px;
    }
}

/* Menu Icon */
.menu-icon {
    display: none;
    cursor: pointer;
    width: clamp(35px, 5vw, 45px);
    height: clamp(35px, 5vw, 45px);
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: clamp(15px, 2vw, 25px);
    position: relative;
    z-index: 1002;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media screen and (max-width: 1230px) {
    .menu-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-ribbon {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 60px 20px 20px;
        transition: all 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-ribbon.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li a {
        display: block;
        padding: 12px 20px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 1px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        background: rgba(0, 255, 255, 0.1);
        border-color: rgba(0, 255, 255, 0.3);
        color: #00ffff;
        transform: translateX(5px);
    }

    .fa-times {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
        z-index: 1002;
    }

    .fa-times:hover {
        color: #00ffff;
    }

    /* Ensure links are visible in mobile menu */
    .nav-ribbon .nav-links {
        opacity: 1;
        visibility: visible;
    }

    .nav-ribbon.active .nav-links {
        display: flex;
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links li:nth-child(6) { transition-delay: 0.6s; }
}

@media screen and (max-width: 480px) {
    .nav-ribbon {
        width: 100%;
        right: -100%;
    }
}

@media screen and (max-width: 480px) {
    .nav-links li a {
        font-size: 15px;
        padding: 10px 15px;
    }
}

#header .nav-ribbon .fa-times {
    display: none !important;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1002;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-ribbon.active .close-btn {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.close-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    transform: rotate(180deg);
}

.close-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.close-icon span {
    position: absolute;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-icon span:first-child {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.close-icon span:last-child {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.close-btn:hover .close-icon span {
    background: #00ffff;
    box-shadow: 0 0 5px #00ffff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-45deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

#header .nav-ribbon .fa-times {
    display: none !important;
}

/* Responsive Navigation */
@media screen and (max-width: 1230px) {
    .nav-wrapper {
        padding: clamp(10px, 2vh, 20px) clamp(15px, 3vw, 30px);
    }

    .menu-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo {
        width: clamp(130px, 15vw, 180px);
        margin-left: clamp(20px, 2.5vw, 35px);
    }
}

@media screen and (max-width: 768px) {
    .nav-wrapper {
        padding: clamp(8px, 1.5vh, 15px) clamp(12px, 2.5vw, 20px);
    }

    .logo {
        width: clamp(110px, 13vw, 150px);
        margin-left: clamp(15px, 2vw, 30px);
    }

    .menu-icon {
        width: clamp(32px, 4.5vw, 40px);
        height: clamp(32px, 4.5vw, 40px);
        margin-right: clamp(12px, 1.5vw, 20px);
    }
}

@media screen and (max-width: 480px) {
    .nav-wrapper {
        padding: clamp(6px, 1vh, 12px) clamp(10px, 2vw, 15px);
    }

    .logo {
        width: clamp(100px, 11vw, 130px);
        margin-left: clamp(12px, 1.5vw, 25px);
    }

    .menu-icon {
        width: clamp(30px, 4vw, 35px);
        height: clamp(30px, 4vw, 35px);
        margin-right: clamp(10px, 1.2vw, 15px);
    }
}

#home {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 50px);
    position: relative;
    overflow: hidden;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(15px, 3vw, 40px);
    z-index: 1;
}

.home-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: clamp(10px, 2vw, 20px);
    text-align: center;
    line-height: 1.2;
}

.home-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 500;
    margin-bottom: clamp(15px, 3vw, 30px);
    text-align: center;
    line-height: 1.4;
}

.home-content p {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: clamp(20px, 4vw, 40px);
    max-width: 800px;
    text-align: center;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .home-content {
        padding: clamp(10px, 2vw, 30px);
    }

    .home-content h1 {
        font-size: clamp(2rem, 4vw, 3.5rem);
        margin-bottom: clamp(8px, 1.5vw, 15px);
    }

    .home-content h3 {
        font-size: clamp(1rem, 2vw, 1.8rem);
        margin-bottom: clamp(12px, 2.5vw, 25px);
    }

    .home-content p {
        font-size: clamp(0.9rem, 1.6vw, 1.2rem);
        margin-bottom: clamp(15px, 3vw, 30px);
        padding: 0 clamp(10px, 2vw, 20px);
    }
}

@media screen and (max-width: 480px) {
    .home-content {
        padding: clamp(8px, 1.5vw, 20px);
    }

    .home-content h1 {
        font-size: clamp(1.8rem, 3.5vw, 3rem);
        margin-bottom: clamp(6px, 1vw, 12px);
    }

    .home-content h3 {
        font-size: clamp(0.9rem, 1.8vw, 1.5rem);
        margin-bottom: clamp(10px, 2vw, 20px);
    }

    .home-content p {
        font-size: clamp(0.85rem, 1.5vw, 1.1rem);
        margin-bottom: clamp(12px, 2.5vw, 25px);
        padding: 0 clamp(8px, 1.5vw, 15px);
    }
}
