@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bg-black-900: #f2f2fc;
    --bg-black-100: #fdf9ff;
    --bg-black-50: #e8dfec;
    --text-black-900: #302e4d;
    --text-black-700: #504e70;
    --skin-colour: #37b182;
}

body.shadow-dark {

    --bg-black-900: #151515;
    --bg-black-100: #222222;
    --bg-black-50: #393939;
    --text-black-900: #ffffff;
    --text-black-700: #e9e9e9;
    --skin-colour: #ec1839;

}

body.dark {
    --bg-black-900: #151515;
    --bg-black-100: #222222;
    --bg-black-50: #393939;
    --text-black-900: #ffffff;
    --text-black-700: #e9e9e9;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-black-700);
    background-color: var(--bg-black-900);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-black-900);
}

p {
    color: var(--text-black-700);
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

::before,
::after {
    box-sizing: border-box;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(55, 177, 130, 0.35);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(55, 177, 130, 0.6);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(55, 177, 130, 0.35) transparent;
}

ul {
    list-style: none;
}

/* AUTO IMAGE ADJUSTMENT */
img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.section {
    background: var(--bg-black-900);
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    opacity: 1;
    position: fixed;
    left: 270px;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;

}

.section.back-section {
    z-index: 1;

}

.section.active {
    z-index: 2;
    opacity: 1;
    animation: slideSection 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

@keyframes slideSection {
    0% {
        transform: translateX(30px);
        opacity: 0;

    }

    100% {
        transform: translateX(0%);
        opacity: 1;

    }
}

.hidden {
    display: none !important;
}

.padd-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.container {
    max-width: 1100px;
    width: 100%;

    margin: auto;
}

.section .container {
    padding-top: 60px;
    padding-bottom: 70px;
    margin-bottom: 60px;

}

.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 70px;
    /* Increased to ensure absolute visibility */
    position: relative;
    z-index: 10;
}

.section-title h2 {
    font-size: 40px;
    color: var(--text-black-900);
    font-weight: 700;
    position: relative;
    padding-bottom: 30px;
    /* Detailing: perfect spacing for decorative lines */
}

.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-colour);
    position: absolute;
    top: 100%;
    left: 0;
}

.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--skin-colour);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    /* Precise gap between lines */
}

/* === DETAILED FIX: Professional Email Copy Button === */
.email-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.copy-btn {
    background: var(--bg-black-900);
    border: 1px solid var(--bg-black-50);
    color: var(--skin-colour);;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.copy-btn:hover {
    background: var(--skin-colour);
    color: #ffffff;
    border-color: var(--skin-colour);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--skin-colour), transparent 70%);
}

.copy-btn:active {
    transform: translateY(-1px);
}

.contact .section-title {
    margin-bottom: 50px;
}



.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* important for image visibility */
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}

.btn {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    color: white;
    border-radius: 40px;
    display: inline-block;
    white-space: nowrap;
    border: none;
    background: var(--skin-colour);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.btn:hover {
    transform: scale(1.05);

}

/* aside */

.aside {
    width: 270px;
    background: var(--bg-black-100);
    position: fixed;
    left: 0;
    top: 0;
    padding: 30px;
    height: 100%;
    border-right: 1px solid var(--bg-black-50);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.aside .logo {
    position: absolute;
    top: 50px;
    font-size: 30px;
    text-transform: capitalize;
}

.aside .logo a {
    color: var(--text-black-900);
    font-weight: 700;

    padding: 15px 20px;
    font-size: 30px;
    letter-spacing: 5px;
    position: relative;

}

.aside .logo a span {
    font-family: 'Clicker Script', cursive;
    font-size: 40px;
}

.aside .logo a::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid var(--skin-colour);
    border-left: 5px solid var(--skin-colour);
    bottom: 0;
    left: 0;
}

.aside .logo a::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 5px solid var(--skin-colour);
    border-right: 5px solid var(--skin-colour);
    top: 0;
    right: 0;
}

.aside .nav-toggler {
    height: 40px;
    width: 45px;
    border: 1px solid var(--bg-black-50);
    cursor: pointer;
    position: fixed;
    left: 300px;
    top: 20px;
    border-radius: 5px;
    background: var(--bg-black-100);
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.aside .nav-toggler span {
    height: 2px;
    width: 18px;
    background: var(--skin-colour);
    display: inline-block;
    position: relative;
}

.aside .nav-toggler.open span {
    background-color: transparent;
}

.aside .nav-toggler span::before {
    content: '';
    height: 2px;

    width: 18px;
    background: var(--skin-colour);
    position: absolute;
    top: -6px;
    left: 0;
}

.aside .nav-toggler.open span::before {
    transform: rotate(45deg);
    top: 0;
}

.aside .nav-toggler span::after {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-colour);
    position: absolute;
    top: 6px;
    left: 0;
}

.aside .nav-toggler.open span::after {
    transform: rotate(-45deg);
    top: 0;
}

.aside .nav {
    margin-top: 50px;
}

.aside .nav li {
    margin-bottom: 20px;
    display: block;
}

.aside .nav li a {
    font-size: 16px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid var(--bg-black-50);
    color: var(--text-black-900);
    padding: 5px 15px;

}

.aside .nav li a.active {
    color: var(--skin-colour);
}

.aside .nav li a i {
    margin-right: 15px;

}

/* home */

.home {
    min-height: 100vh;
    display: flex;
    color: var(--text-black-900);

}

.home .home-info {
    flex: 0 0 60%;
    max-width: 60%;

}

h3.hello {

    font-size: 28px;
    margin: 15px 0;
}

h3.hello span {
    font-family: 'Clicker Script', cursive;
    font-size: 30px;
    font-weight: 700;
    color: var(--skin-colour);
}

h3.my-profession {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 80px;
    display: flex;
    display: block;
    flex-wrap: wrap;
    column-gap: 8px;
    font-size: 30px;
    margin: 15px 0;
}

.typing {
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    text-shadow: 0 2px 14px color-mix(in srgb, var(--skin-colour) 25%, transparent);
    color: var(--skin-colour);
}

.typed-cursor {
    color: var(--skin-colour);
    font-weight: 300;
    font-size: 1.05em;
    margin-left: 2px;
    display: inline-block;
    vertical-align: baseline;
    animation: typedCursorBlink 0.8s ease-in-out infinite;
    display: inline;
}

@keyframes typedCursorBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.home-info p {
    margin-bottom: 70px;
    font-size: 20px;
    color: var(--text-black-700)
}

.home .home-img {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;


}

.home-img::after {
    content: '';
    position: absolute;

    height: 80px;
    width: 80px;
    border-bottom: 10px solid var(--skin-colour);
    border-right: 10px solid var(--skin-colour);
    right: 20px;
    bottom: -40px;
}

.home-img::before {
    content: '';
    position: absolute;

    height: 80px;
    width: 80px;
    border-top: 10px solid var(--skin-colour);
    border-left: 10px solid var(--skin-colour);
    left: 20px;
    top: -40px;
}

.home .home-img img {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: auto;
    border-radius: 10px;
}

.shadow-dark {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

/* About Section Enhancements */
.about .about-content .about-text h3 {
    margin-top: 0;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
}

.about .about-content .about-text h3 span {
    color: var(--skin-colour);;
    font-weight: 500;
}

/* =====================================================
   ABOUT SECTION – ELITE REDESIGN
===================================================== */

.about .about-content .about-text h3 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-black-900);
}

.about .about-content .about-text h3 span {
    color: var(--skin-colour);;
    font-weight: 400;
    font-family: 'Clicker Script', cursive;
    font-size: 38px;
    margin-left: 10px;
}

/* Professional Bio Card */
/* =====================================================
   ABOUT SECTION – SENIOR UI/UX ENGINEER OPTIMIZATION
===================================================== */

.about.section {
    padding: 40px 24px;
    /* Standardized section padding */
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about .about-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* Consistent vertical spacing between blocks */
}

/* 1. Bio Frame Spacing */
.bio-container {
    background: var(--bg-black-100);
    padding: 30px;
    /* Reduced padding */
    border-radius: 12px;
    /* Reduced border radius */
    border: 1px solid var(--bg-black-50);
    line-height: 1.8;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    /* Subtle shadow */
}

/* 2. Profile Info Grid */
.info-skills-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
    margin: 0;
}

.personal-info,
.skills-container {
    width: 100%;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

.info-card {
    background: var(--bg-black-100);
    padding: 24px 28px;
    /* Precision internal padding */
    border-radius: 12px;
    border: 1px solid var(--bg-black-50);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.info-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.info-list .info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-black-900);
}

.info-list .info-item i {
    color: var(--skin-colour);;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.info-list .info-item b {
    font-weight: 600;
}

.info-list .info-item span {
    font-weight: 400;
    color: var(--text-black-700);
}

/* 3. Buttons Flex Layout */
.info-card .buttons {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.hire-me-btn,
.download-cv-btn {
    height: 44px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
    cursor: pointer;
    flex: 1;
}

.hire-me-btn {
    background: var(--skin-colour);
    color: #fff;
    border: none;
}

.download-cv-btn {
    background: transparent;
    color: var(--text-black-900);
    border: 1px solid var(--bg-black-50);
}

.hire-me-btn:hover,
.download-cv-btn:hover {
    transform: translateY(-2px);
}

.download-cv-btn:hover {
    border-color: var(--skin-colour);
    color: var(--skin-colour);;
}

/* 4. Technical Expertise Layout */
.skills-container {
    width: 100%;
}

.skills-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.skills-card .title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-black-900);
    padding-left: 0;
    border-left: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

/* 5. Skill Cards UI Polish - FAANG Minimal */
.skill-tag {
    background: var(--bg-black-100);
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-black-900);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    border: 1px solid var(--bg-black-50);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    height: 100%;
    min-height: 56px;
}

.skill-tag:hover {
    transform: translateY(-2px);
    /* Very subtle lift */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    /* Soft shadow transition */
    border-color: var(--bg-black-50);
    /* NO color changes */
    background: var(--bg-black-100);
    /* NO color changes */
}

/* 6. Professional Icon Alignment */
.skill-tag i {
    font-size: 20px;
    color: var(--skin-colour);;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    /* Fixed width for perfect vertical alignment of text */
    transition: none;
    /* No flashy effects */
    filter: none;
    /* No glow */
}

.skill-tag:hover i {
    transform: none;
    /* Remove flashy rotation */
    filter: none;
}

/* =====================================================
   JOURNEY TIMELINES – SENIOR UI REFINEMENT
===================================================== */

.timeline-container.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: stretch;
    margin-top: 20px;
}

.experience,
.education {
    display: flex;
    flex-direction: column;
}

.timeline-container .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-black-900);
}

.timeline {
    flex: 1;
    background: var(--bg-black-100);
    padding: 32px 28px;
    /* Balanced internal padding */
    border-radius: 12px;
    border: 1px solid var(--bg-black-50);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    box-sizing: border-box;
}

.timeline-item {
    position: relative;
    padding-left: 32px;
    margin-bottom: 28px;
    /* Consistent vertical rhythm */
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Professional Timeline Spine */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    width: 1px;
    height: calc(100% + 4px);
    background: var(--bg-black-50);
}

.timeline-item:last-child::before {
    display: none;
}

.circle-dot {
    position: absolute;
    left: 0;
    top: 5px;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: var(--skin-colour);
    z-index: 1;
    border: 3px solid var(--bg-black-100);
    /* Clean visual separation */
}

.timeline-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--skin-colour);;
    margin-bottom: 5px;
    display: block;
}

.timeline-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-black-900);
    line-height: 1.3;
}

.timeline-text {
    font-size: 14px;
    color: var(--text-black-700);
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

@media (max-width: 767px) {
    .timeline-container.row {
        gap: 40px;
    }

    .timeline {
        padding: 28px 20px;
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .info-skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .about.section {
        padding: 30px 15px;
    }
}

/*  setvice */





.service .container {
    padding-bottom: 40px;
}

.service .service-item {
    margin-bottom: 30px;
    flex: 0 0 50%;
    max-width: 50%;

}

.service .service-item .service-item-inner {
    background-color: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.service .service-item .service-item-inner:hover {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.service .service-item .service-item-inner .icon {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.service .service-item .service-item-inner .icon .fa {
    font-size: 40px;
    line-height: 60px;
    color: var(--skin-colour);;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;

}

.service .service-item .service-item-inner:hover .icon {
    background: var(--skin-colour);
}

.service .service-item .service-item-inner:hover .icon .fa {
    font-size: 25px;
    color: #ffffff;

}

.service .service-item .service-item-inner h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-black-900);
    font-weight: 700;
    text-transform: capitalize;
}

.service .service-item .service-item-inner p {
    font-size: 14px;
    color: var(--text-black-700);
    line-height: 22px;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: var(--skin-colour);
    padding: 11px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(236, 24, 57, 0.2);
    margin-top: 15px;
    border: none;
    cursor: pointer;
}

.service-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(236, 24, 57, 0.4);
    color: #ffffff;
    letter-spacing: 0.5px;
}

.service-btn:hover i {
    transform: translateX(6px);
}

.service-btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* =====================================
   PORTFOLIO SECTION – MODERN CARD STYLE
====================================== */


.portfolio .container {
    padding-bottom: 40px;
}

.portfolio .portfolio-heading {
    flex: 0 0 100%;
    max-width: 100%;
}

.portfolio-hint {
    font-size: 15px;
    color: var(--text-black-700);
    margin-bottom: 30px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-hint i {
    color: var(--skin-colour);;
    font-size: 18px;
}

.portfolio .row {
    justify-content: center;
}

.portfolio .portfolio-items {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 15px;
    display: flex;
}

.portfolio .portfolio-item-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio .portfolio-image {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    /* Essential for overlay */
}

.portfolio .portfolio-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.5s ease;
}

/* Elite Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: color-mix(in srgb, var(--skin-colour), transparent 15%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    backdrop-filter: blur(4px);
    /* Modern glass effect */
}

.portfolio-item-inner:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item-inner:hover .portfolio-image img {
    transform: scale(1.1);
}

.overlay-content {
    text-align: center;
    color: #ffffff;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-item-inner:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.overlay-content span {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* contact title */


.contact-title {
    color: var(--skin-colour);;
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;

}

.contact-sub-title {
    color: var(--text-black-900);
    text-align: center;
    font-size: 15px;
    margin-bottom: 60px;
}

/* ===== Contact Section Redesign (Perfect Alignment & Padding) ===== */
:root {
    --contact-card-padd: 45px;
    --contact-item-gap: 30px;
    --contact-border-radius: 15px;
}

.contact .row {
    align-items: stretch;
    /* Ensures columns take full height for balance */
}

.contact-card,
.contact-form {
    background: var(--bg-black-100);
    padding: var(--contact-card-padd);
    border-radius: var(--contact-border-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Status Badge - Perfectly Aligned */
.contact-status {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    background: var(--bg-black-900);
    padding: 10px 18px;
    border-radius: 30px;
    margin-bottom: 35px;
    border: 1px solid var(--bg-black-50);
}

.status-dot {
    height: 10px;
    width: 10px;
    background-color: #28a745;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

.status-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-black-900);
    letter-spacing: 0.5px;
}

/* Contact Info Items - Better Rhythm */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--contact-item-gap);
}

.contact-info-item:last-of-type {
    margin-bottom: 40px;
}

.contact-info-item .icon {
    flex: 0 0 55px;
    height: 55px;
    width: 55px;
    background: var(--bg-black-900);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--skin-colour);;
    font-size: 20px;
    border: 1px solid var(--bg-black-50);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.contact-info-item:hover .icon {
    background: var(--skin-colour);
    color: #fff;
    transform: translateY(-5px);
}

.info-details h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-black-900);
}

.info-details p,
.info-details p a {
    font-size: 15px;
    color: var(--text-black-700);
    line-height: 1.4;
}

/* Social Links - Bottom Aligned */
.contact-card .contact-social-links {
    margin-top: auto;
    /* Pushes social links to bottom of card */
    display: flex;
    gap: 12px;
}

.contact-card .contact-social-links a {
    height: 42px;
    width: 42px;
    background: var(--bg-black-900);
    border: 1px solid var(--bg-black-50);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-black-900);
    font-size: 18px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.contact-card .contact-social-links a:hover {
    background: var(--skin-colour);
    color: #fff;
    transform: translateY(-5px);
}

/* Form Styling - Perfect Precision */
.contact-form .form-header {
    margin-bottom: 35px;
}

.contact-form .contact-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
    color: var(--text-black-900);
}

.contact-form .contact-sub-title {
    font-size: 15px;
    color: var(--text-black-700);
    text-align: left;
    margin-bottom: 0;
}

.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Floating Label Fields */
.floating-label {
    position: relative;
    margin-bottom: 0;
}

.floating-label .form-control {
    width: 100%;
    height: 55px;
    padding: 15px 20px;
    background: var(--bg-black-900);
    border: 1px solid var(--bg-black-50);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-black-900);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.floating-label label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-black-700);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    background: transparent;
}

.floating-label textarea.form-control {
    height: 160px;
    padding-top: 20px;
    resize: none;
}

.floating-label textarea.form-control+label {
    top: 25px;
}

.floating-label .form-control:focus+label,
.floating-label .form-control:not(:placeholder-shown)+label {
    top: 0;
    left: 15px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-black-100);
    padding: 0 8px;
    color: var(--skin-colour);;
    transform: translateY(-50%);
}

.contact-form .btn {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.contact-form .btn i {
    font-size: 14px;
    transition: transform 0.4s ease;
}

.contact-form .btn:hover i {
    transform: translate(6px, -6px);
}

@media (max-width: 991px) {

    .contact .contact-info,
    .contact .contact-form-container {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact .contact-info {
        margin-bottom: 30px;
    }

    .contact-card,
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .contact .form-item.col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.contact .contact-form .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.contact .contact-form .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .form-item {
    margin-bottom: 30px;

}

.contact .contact-form .form-item .form-control {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: var(--bg-black-100);
    border: 1px solid var(--bg-black-50);
    padding: 10px 25px;
    font-size: 16px;
    color: var(--text-black-700);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

.contact .contact-form .form-item .form-control:focus {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.contact .contact-form .form-item textarea.form-control {
    height: 140px;
}

.contact .contact-form .btn {
    height: 50px;
    padding: 0 50px;
}

/* =========================================================
   RESPONSIVE DESIGN — PROFESSIONAL OPTIMIZED VERSION
========================================================= */

/* ===== Large Screens / Desktop Fix ===== */
@media (max-width: 1400px) {
    .container {
        max-width: 1000px;
    }
}

/* ===== Tablets and Small Laptops ===== */
@media (max-width:1199px) {

    /* Sidebar Hide */
    .aside {
        left: -270px;
    }

    .aside.open {
        left: 0;
    }

    /* Navigation Toggle Button */
    .aside .nav-toggler {
        display: flex;
        left: 30px;
        z-index: 100;
    }

    .aside.open .nav-toggler {
        left: 300px;
    }

    /* Main Section Shift */
    .section {
        left: 0;
        padding: 30px 20px;
    }

    .section.open {
        left: 270px;
        right: -270px;
    }

    /* Personal Info Text Stack */
    .about .about-content .personal-info .info-item p span {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }

    /*
    color: var(--skin-colour);
    font-weight: 300;
    font-size: 1.05em;
    margin-left: 2px;
    display: inline-block;
    vertical-align: baseline;
    animation: typedCursorBlink 0.8s ease-in-out infinite;
    display: inline;
}

@keyframes typedCursorBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.home-info p {
        font-size: 18px; */
    .home-info p {
        font-size: 18px;
    }
    }
}


/* ===== Tablets ===== */
@media (max-width:991px) {

    /* Grid Layout Adjustments */
    .contact .contact-info-item,
    .portfolio .portfolio-items,
    .service .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .info-skills-container {
        grid-template-columns: 1fr;
    }

    /* Home Layout */
    .home {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .home .home-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 0;
        margin-bottom: 40px;
    }

    .home .home-img img {
        max-width: 320px;
        width: 85%;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .section-title h2 {
        font-size: 32px;
    }
}


/* ===== Mobile Devices ===== */
@media (max-width:767px) {

    /* Full Width Layout */
    .contact .contact-form .col-6,
    .contact .contact-form .col-12,
    .contact .contact-info,
    .contact .contact-form-container,
    .contact .contact-info-item,
    .portfolio .portfolio-items,
    .service .service-item,
    .about .about-content .experience,
    .about .about-content .education,
    .about .about-content .skills,
    .about .about-content .personal-info,
    .info-skills-container,
    .timeline-container.row {
        flex: 0 0 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    /* Section Padding */
    .section {
        padding: 30px 15px;
    }

    /* Text Scaling */
    h3.hello {
        font-size: 24px;
        min-height: 64px;
    }

    h3.my-profession {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 80px;
    display: flex;
    display: block;
    flex-wrap: wrap;
    column-gap: 8px;
        font-size: 24px;
        min-height: 64px;
    }

    .home .home-img {
        order: -1;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .home .home-info {
        order: 1;
    }
}


/* ===== Small Mobile Phones ===== */
@media (max-width:480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 25px 10px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .aside .logo a {
        font-size: 22px;
    }

    .contact-title {
        font-size: 20px;
    }

    .home .home-img img {
        max-width: 280px;
    }

    h3.hello {
        font-size: 22px;
    }

    h3.my-profession {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 80px;
    display: flex;
    display: block;
    flex-wrap: wrap;
    column-gap: 8px;
        font-size: 22px;
    }

    .portfolio .portfolio-image img {
        max-height: 250px;
    }
}

/* Accessible Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* end */
}
}
}