body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #141427;
    color: #ffffff;
    overflow-x: hidden;

    user-select: none;
    -webkit-user-select: none;   /* Safari/Chrome */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;
}
img {
    -webkit-user-drag: none;
    user-drag: none;
}

html, body {
    height: 100%;
    padding: 0;
}

body {
  cursor: url('images/Cursor25.png'), default;
}

a, button, [role="button"], .clickable {
  cursor: url('images/Cursorclick.png'), pointer;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80px;
    /*background-color: #141427;*/
    background: linear-gradient(180deg, #1D1D38, #0F3349, #6FDCE3, rgb(143, 199, 219));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 40px;
    z-index: 1000;
    transition: width 0.3s ease;
    /*border-radius: 15px;*/
    background-size: 100% 400%;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
nav a:hover {
    transform: translateY(-5px);
}

nav a i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

nav.shrink a span {
    opacity: 0;
}

nav.shrink {
    width: 60px;
}

/*.main {
    margin-left: 80px;
    transition: margin-left 0.3s ease;
}*/
.main {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left: 80px;
    transition: margin-left 0.3s ease;
}
#animated-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 100vh;
    padding-top: 50px;
}

nav.shrink + .main {
    margin-left: 60px;
}

/* Profile picture and initials container */
.header-profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 20px;
    z-index: 1001;
    height: 100px;
    pointer-events: none;
}

.profile-picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: fixed;
    z-index: 2;
    margin: 0 15px;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture.enlarged {
    width: 110px;
    height: 110px;
}

.profile-picture img {
    width: 150%;
    height: 150%;
    object-fit: cover;
}

.initial-container {
    height: 390px;
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.5s ease;
    margin: 0 auto;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

.initial-container img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    transition: all 0.5s ease;
}

.left-initial {
    margin-right: 45px;
    transform: translateX(-2vw);
}
.right-initial {
    margin-left: 45px;
    transform: translateX(1vw);
}

.initial-container.scrolled {
    height: 200px;
    width: 70px;
    opacity: 0.3;
}
.initial-container.fade-out {
    opacity: 0.3;
}

/*@media screen and (width: 1920px) and (height: 1080px) {
    .initial-container {
        margin-top: 150px;
    }
}*/
@media screen and (max-width: 768px) {
    .initial-container {
        height: 180px;
        width: 80px;
    }

    .profile-picture {
        width: 50px;
        height: 50px;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}



header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}


.color-reveal-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* Place behind other header content */
}

.grayscale-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.color-reveal-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

header h1 {
    font-size: 1.7rem;
    margin: 0;
    animation: fadeInDown 1s ease;
    position: relative; /* Keeps text above the overlay */
    z-index: 1;
    font-weight: bold;
    margin-top: 10px;
    pointer-events: none;
}
.line {
    background: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Optional: prevent edge rendering issues */
    -webkit-text-fill-color: transparent;
}

header p {
    font-size: 1rem;
    margin: 20px 0;
    animation: fadeInUp 1s ease;
    width:50rem;
    pointer-events: none;
}

header button {
    padding: 10px 30px;
    font-size: 1rem;
    border: none;
    background-color: #fff;
    color: #2575fc;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

header button:hover {
    transform: scale(1.1);
    background-color: #2575fc;
    color: #fff;
}

iframe {
    border-radius: 15px;
    transition: all 0.25s;
}

iframe:hover {
    box-shadow: 0 0.7em 3em -0.4em #003049;
    transform: translateY(-0.25em);
}

.featured-video {
    background-color: gray;
}

section {
    padding: 100px 20px;
    text-align: center;
}

.featured-projects img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s;
    margin: 0 auto;
}

.featured-projects img:hover {
    transform: scale(1.05);
}

.about img {
    width: 50%;
    border-radius: 10px;
    animation: fadeIn 1.5s ease;
}

.about p {
    width: 70%;
    margin: 0 auto;
    line-height: 30px;
}

blockquote {
    background-color: #252540;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    color: #bdbdbd;
    text-align: center;
}

blockquote footer {
    text-align: center;
    color: #fff;
}

.contact form button {
    background-color: #2575fc;
    color: #ffffff;
    border-radius: 5px;
    transition: transform 0.3s;
}

.contact form button:hover {
    transform: scale(1.1);
    background-color: #6a11cb;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #141427;
    color: #ffffff;
    position: relative;
}
footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.more_projects {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    text-align: center;
    color: #fff;
    text-decoration: none;
    background-color: #007BFF;
    border-radius: 5px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.more_projects:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.more_projects:active {
    background-color: #004080;
    transform: scale(0.95);
}





.columns-section-wrapper {
    position: relative;
    width: 100%;
    /* Allow the wrapper to adjust smoothly */
    transition: height 0.3s ease;
}

.columns-section {
    position: relative; /* Changed from static to relative */
    width: 100%;
    padding: 60px 0;
    perspective: 1000px; /* Add perspective for 3D effects */
    overflow: hidden;
    z-index: 10;
    will-change: transform;
    transition: transform 0.3s ease, height 0.3s ease, padding 0.3s ease;
}

/* Modified pinned state to respect nav bar width */
/*.columns-section.pinned {
    position: fixed;
    top: 0;
    left: 80px;
    right: 0;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219)) 1;
    z-index: 1000;
    transition: left 0.3s ease;
}*/
.columns-section.pinned {
    position: fixed;
    top: 0;
    left: 80px; /* Match the default nav width */
    width: calc(100% - 80px); /* Add this line to fix the width */
    right: auto; /* Remove or set to auto instead of 0 */
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219)) 1;
    z-index: 1000;
    transition: left 0.3s ease, width 0.3s ease; /* Add width to transition */
    overflow-x: hidden; /* Add this to prevent horizontal overflow */
}

/* Add this new rule to adjust the pinned section when nav shrinks */
nav.shrink ~ .main .columns-section.pinned {
    left: 60px; /* Match the shrunk nav width */
    width: calc(100% - 60px);
}
@media (max-width: 768px) {
    .columns-section.pinned {
        left: 0;
        width: 100%;
    }
}

.column-container {
    display: flex;
    width: 100%;
    height: 500px; /* Made columns taller */
    gap: 4px; /* Small gap between columns */
    perspective: 1000px; /* Add perspective to container as well */
}

/* Adjust container height when pinned */
.columns-section.pinned .column-container {
    height: 100px; /* Smaller height when pinned */
    gap: 0;
}

.columns-section.pinned p {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, height 0.3s ease;
}

.column {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy animation */
    overflow: hidden;
    transform-style: preserve-3d; /* Enable 3D transformations */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform-origin: center center; /* Set transform origin */

}

/* Adjust column styles when pinned */
.columns-section.pinned .column {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08); /* Subtle shadow when pinned */
}

.column-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
    z-index: 5;
}

.column-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: all 0.4s ease;
    transform-style: preserve-3d; /* Enable 3D transformations */
}

/* Adjust content when pinned */
.columns-section.pinned .column-content {
    padding: 10px; /* Less padding when pinned */
}

/* Default hover effects - right rotation (1st, 3rd, 5th, 7th columns) */
.column:hover {
    flex: 1.5; /* Expand width */
    transform: translateY(-15px) rotate(20deg); /* Float up and rotate 30 degrees right */
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.4); /* Enhanced shadow for floating effect, shifted right */
    z-index: 10; /* Bring to front */
    border-radius: 15px;
}

/* Adjust hover effects when pinned - more subtle */
.columns-section.pinned .column:hover {
    flex: 1.2; /* Less expansion */
    transform: translateY(-5px) rotate(10deg); /* Less movement and rotation */
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3); /* Smaller shadow */
}

.column:hover .column-overlay {
    background-color: rgba(0, 0, 0, 0.4); /* Lighten overlay on hover */
}

.column:hover .column-content {
    /* Counter-rotate the content to keep it readable */
    transform: rotate(-20deg) scale(1.05);
}

/* Adjust content rotation when pinned */
.columns-section.pinned .column:hover .column-content {
    transform: rotate(-10deg) scale(1.02); /* Less rotation and scaling */
}

/* Special hover effects for 2nd, 4th, and 6th columns - left rotation */
.column:nth-child(even):not(:nth-child(7)):hover {
    transform: translateY(-15px) rotate(-20deg); /* Float up and rotate 30 degrees left */
    box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.4); /* Shadow shifted left */
}

/* Adjust even column hover when pinned */
.columns-section.pinned .column:nth-child(even):not(:nth-child(7)):hover {
    transform: translateY(-5px) rotate(-10deg); /* Less movement */
    box-shadow: -8px 8px 15px rgba(0, 0, 0, 0.3); /* Smaller shadow */
}

.column:nth-child(even):not(:nth-child(7)):hover .column-content {
    transform: rotate(20deg) scale(1.05); /* Counter-rotate in opposite direction */
}

/* Adjust even column content when pinned */
.columns-section.pinned .column:nth-child(even):not(:nth-child(7)):hover .column-content {
    transform: rotate(10deg) scale(1.02); /* Less rotation and scaling */
}

.column h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Adjust heading size when pinned */
.columns-section.pinned .column h3 {
    font-size: 1.4rem; /* Smaller font when pinned */
    margin-bottom: 5px;
}

.column p {
    opacity: 0.8;
    max-width: 200px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

/* Adjust paragraph when pinned */
.columns-section.pinned .column p {
    font-size: 0.9em; /* Smaller text when pinned */
    max-width: 180px; /* Narrower max-width */
    opacity: 0.7; /* Slightly more transparent */
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .column-container {
        flex-direction: column;
        height: auto;
    }

    .columns-section.pinned .column-container {
        height: auto;
    }

    .column {
        height: 250px;
        margin-bottom: 15px;
    }

    .columns-section.pinned .column {
        height: 100px; /* Smaller height on mobile when pinned */
        margin-bottom: 5px;
    }

    .column:hover {
        flex: 1;
        height: 280px;
        transform: translateY(-10px) rotate(15deg); /* Less rotation on mobile */
    }

    .columns-section.pinned .column:hover {
        height: 110px; /* Slightly taller on hover when pinned */
        transform: translateY(-5px) rotate(5deg); /* Less movement on mobile when pinned */
    }

    .column:hover .column-content {
        transform: rotate(-15deg) scale(1.05); /* Counter-rotate on mobile */
    }

    .columns-section.pinned .column:hover .column-content {
        transform: rotate(-5deg) scale(1.02); /* Less rotation when pinned on mobile */
    }

    .column:nth-child(even):not(:nth-child(7)):hover {
        transform: translateY(-10px) rotate(-15deg); /* Less rotation on mobile */
    }

    .columns-section.pinned .column:nth-child(even):not(:nth-child(7)):hover {
        transform: translateY(-5px) rotate(-5deg); /* Less movement when pinned */
    }

    .column:nth-child(even):not(:nth-child(7)):hover .column-content {
        transform: rotate(15deg) scale(1.05); /* Counter-rotate on mobile */
    }

    .columns-section.pinned .column:nth-child(even):not(:nth-child(7)):hover .column-content {
        transform: rotate(5deg) scale(1.02); /* Less rotation when pinned */
    }
}

.bg-custom {
    background-size: 90rem;  /* Adjust percentage as needed */
    background-position: 53% center;
    background-repeat: no-repeat;
}
.bg-custom2 {
    background-size: 90rem;  /* Adjust percentage as needed */
    background-position: 73% 20%;
    background-repeat: no-repeat;
}
.bg-custom6 {
    background-size: 35rem;  /* Adjust percentage as needed */
    background-position: 57% center;
    background-repeat: no-repeat;
}











/* Creative Skills Section Styles */
.skills-section {
    /*padding: 80px 0;*/
    background: linear-gradient(135deg, #303030, #1a1a1a);
    position: relative;
    overflow: hidden;
}
html {
    scroll-padding-top: 50px;
}
#contact-connect {
    background: linear-gradient(135deg, #303030, #1a1a1a);
}

.skills-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219));
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Flip Card Animation for Skills */
.skill-card {
    background-color: transparent;
    height: 250px;
    perspective: 1000px;
    border-radius: 15px;
}

.skill-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.skill-card:hover .skill-card-inner {
    transform: rotateY(180deg);
}

.skill-card-front, .skill-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.skill-card-front {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #333;
}

.skill-card-back {
    background: linear-gradient(135deg, #333, #222);
    color: white;
    transform: rotateY(180deg);
}

.skill-icon {
    background: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219));
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgb(143, 199, 219);
}

.skill-icon i {
    font-size: 2rem;
    color: white;
}

.skill-card h3 {
    margin: 10px 0;
    font-weight: 600;
}

.skill-level {
    width: 100%;
    height: 10px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 5px;
    margin: 15px 0 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219));
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.skill-percentage {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-card-back p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.skill-software {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.skill-software span {
    background: rgba(255,255,255,0.15);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Interactive Skill Web Diagram */
.skill-diagram-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
}

.skill-web-container {
    position: relative;
    height: 400px;
    max-width: 800px;
    margin: 0 auto;
}

.skill-web-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.skill-web-profile {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

.skill-web-name {
    margin-top: 10px;
    font-weight: bold;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-web-items {
    position: relative;
    width: 100%;
    height: 100%;
}

.skill-web-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    transform: rotate(var(--rotation)) translate(140px, -50%);
}

.skill-web-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    transform: rotate(calc(-1 * var(--rotation)));
    transition: all 0.3s ease;
}

.skill-web-item:hover .skill-web-icon {
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    transform: rotate(calc(-1 * var(--rotation))) scale(1.1);
}

.skill-web-icon i {
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s ease;
}

.skill-web-item:hover .skill-web-icon i {
    color: white;
}

.skill-web-item span {
    display: block;
    white-space: nowrap;
    text-align: center;
    transform: rotate(calc(-1 * var(--rotation)));
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
}

.skill-web-item:hover span {
    color: #ff7e5f;
}

/* Connect items with lines */
.skill-web-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border: 2px dashed #e0e0e0;
    border-radius: 50%;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .skill-web-container {
        height: 350px;
    }

    .skill-web-item {
        transform: rotate(var(--rotation)) translate(120px, -50%);
    }

    .skill-web-container::after {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 576px) {
    .skill-web-item {
        transform: rotate(var(--rotation)) translate(90px, -50%);
    }

    .skill-web-container::after {
        width: 180px;
        height: 180px;
    }

    .skill-web-icon {
        width: 50px;
        height: 50px;
    }
}



.video-column {
    position: relative;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}



h2 {
    margin-top: 50px;
}



/* Combined Contact and Connect Section Styles */

/* General Section Styling */
#contact-connect {
    padding: 80px 0;
}

/* Divider line between sections */
.divider {
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0));
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styling */
.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Social Icons Styling */
.social-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.social-link h4, .social-link p {
    color: #fff;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.linkedin {
    background-color: #0077B5;
    color: white;
}

.tiktok {
    background-color: #000; /* TikTok black */
    color: #fff;
    box-shadow: 0 0 5px #FE2C55, 0 0 10px #25F4EE;
}

.social-icon.email {
    background: linear-gradient(135deg, #4e9af1, #0078d7);
    color: white;
}

/* Animated icons */
.social-icon i {
    transition: all 0.3s ease;
}

.instagram:hover i {
    animation: pulse 1s infinite;
}

.linkedin:hover i {
    animation: bounce 1s infinite;
}

.github:hover i {
    animation: spin 3s linear infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CV Download Section */
.cv-download {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid rgb(143, 163, 201);
    transition: all 0.3s ease;
    color: white;
    margin-top: 30px;
}

.cv-download:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

.btn-primary {
    background: linear-gradient(90deg, rgb(143, 163, 201), rgb(143, 199, 219));
    border: none;
    padding: 10px 30px;
    transition: all 0.3s ease;
    color: #212529;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #5bc0c7;
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Form Notification Styling */
.notification {
    animation: fadeIn 0.3s ease forwards;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    #contact-connect {
        padding: 40px 0;
    }

    .social-icon {
        width: 60px;
        height: 60px;
    }

    .social-icon i {
        font-size: 1.75rem !important;
    }

    .cv-download {
        padding: 20px !important;
    }

    .cv-download .btn-lg {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .btn-outline-light {
        margin-top: 10px;
        margin-left: 0 !important;
    }
}










.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #c3e6cb;
}

.success-message h3 {
    margin-top: 0;
    margin-bottom: 10px;
}









/* Add these media queries to the end of your styles.css file */
@media screen and (max-width: 768px) {
    nav {
        width: 70px;  /* Should match your first set of values */
    }

    nav.shrink {
        width: 50px;  /* Should match your second set of values */
    }

    .column {
        margin: 0; /* Remove any margin that might add spacing */
    }
}

@media screen and (max-width: 480px) {
    nav {
        width: 60px;  /* Should match your third set of values */
    }

    nav.shrink {
        width: 40px;  /* Should match your fourth set of values */
    }
}
/* Mobile responsiveness adjustments */
@media screen and (max-width: 768px) {

    .main {
        margin-left: 70px;
    }

    nav.shrink + .main {
        margin-left: 50px;
    }

    /* Responsive sections behavior on mobile */
    .skills-section,
    .about-section,
    #about,
    #skills,
    .contact-section,
    #contact-connect,
    .get-in-touch-section,
    footer {
        width: calc(100% - 70px);
        margin-left: 70px;
    }

    /* When navbar shrinks on mobile */
    nav.shrink ~ .skills-section,
    nav.shrink ~ .about-section,
    nav.shrink ~ #about,
    nav.shrink ~ #skills,
    nav.shrink ~ .contact-section,
    nav.shrink ~ #contact-connect,
    nav.shrink ~ .get-in-touch-section,
    nav.shrink ~ footer {
        width: calc(100% - 50px);
        margin-left: 50px;
    }

    /* Make paragraph in animated header narrower */
    #animated-header p {
        width: 80%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
    }

    /* Make contact form smaller */
    .contact form {
        width: 90%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Contact form inputs and textareas */
    .contact form input,
    .contact form textarea {
        width: 100%;
    }

    /* Skills cards adjustments */
    .skills-section .card,
    .skill-card,
    .skills-container .card {
        width: 80% !important;
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Ensure columns don't pin when scrolling - ONLY keeping this one part */
    .columns-section-wrapper,
    .columns-section,
    .column-container,
    .column {
        position: relative !important;
        transform: none !important;
    }
}

/* For smaller mobile screens */
@media screen and (max-width: 480px) {

    .main {
        margin-left: 60px;
    }

    nav.shrink + .main {
        margin-left: 40px;
    }


    /* Update navbar-responsive sections for smaller screens */
    .skills-section,
    .about-section,
    #about,
    #skills,
    .contact-section,
    #contact-connect,
    .get-in-touch-section,
    footer {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    /* When navbar shrinks on very small screens */
    nav.shrink ~ .skills-section,
    nav.shrink ~ .about-section,
    nav.shrink ~ #about,
    nav.shrink ~ #skills,
    nav.shrink ~ .contact-section,
    nav.shrink ~ #contact-connect,
    nav.shrink ~ .get-in-touch-section,
    nav.shrink ~ footer {
        width: calc(100% - 40px);
        margin-left: 40px;
    }

    #animated-header p {
        width: 90%;
        max-width: 280px;
        font-size: 0.85rem;
    }

    .contact form {
        width: 95%;
        max-width: 300px;
    }

    /* Even smaller skills cards */
    .skills-section .card,
    .skill-card,
    .skills-container .card {
        width: 90% !important;
        max-width: 250px !important;
    }
}











#mobile-note {
  display: none;
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 500px;
  background: linear-gradient(to right, rgba(255, 204, 0, 0.75), rgba(255, 204, 0, 0.5));
  color: #000;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translate(-50%, 0); }
  to   { opacity: 0; transform: translate(-50%, -10px); }
}