@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Outfit:wght@200;300;400;500;600;700;800&display=swap');

*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

:root {
    --maincolor: #6366f1; /* Premium Indigo */
    --secondarycolor: #06b6d4; /* Premium Cyan */
    --textcolor: #f8fafc; /* Sleek Off-white */
    --textcolor-muted: #94a3b8; /* Muted slate grey */
    --backgroundcolor: #090d16; /* Clean deep slate */
    --card-bg: rgba(17, 24, 39, 0.5); /* Glassmorphic dark card fill */
    --border-color: rgba(255, 255, 255, 0.08); /* Subtle border tint */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--backgroundcolor);
    color: var(--textcolor);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* <<==================== Navigation Header ===================>> */
header {
    height: 6em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(9, 13, 22, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    right: 0;
    top: 0;
    z-index: 9999;
    transition: top 0.3s ease-in-out, background-color 0.3s ease, box-shadow 0.3s ease;
}

.scroll_header {
    background-color: rgba(9, 13, 22, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(99, 102, 241, 0.15);
}

header .icon {
    color: var(--maincolor);
    font-size: 2.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

.icon.logo_scrolled {
    color: var(--textcolor);
}

header .icon span {
    color: var(--textcolor);
}

ul {
    display: flex;
    list-style-type: none;
    gap: 2rem;
}

ul li {
    margin: 0;
}

ul li a {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--textcolor-muted);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

ul li a:hover,
ul li a.active_nav {
    color: var(--maincolor);
}

ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--maincolor);
    border-radius: 2px;
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

ul li a:hover::after,
ul li a.active_nav::after {
    width: 100%;
    box-shadow: 0 0 8px var(--maincolor);
}

/* <<==================== Hero Section ===================>> */
.main_one {
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.07) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.07) 0%, transparent 40%),
                var(--backgroundcolor);
    padding-top: 6rem;
    align-items: center;
    position: relative;
}

.main_one #sub_main_one1 {
    height: 100%;
    width: 55%;
    background-color: transparent;
    padding: 4rem 2rem 4rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main_one #sub_main_one1 h1 {
    padding: 0 0 1rem 0;
    font-size: 4rem;
    color: var(--textcolor);
    font-family: 'Poppins', sans-serif;
    line-height: 4.5rem;
    font-weight: 800;
}

.main_one #sub_main_one1 h1 span {
    display: block;
    font-size: 2rem;
    color: var(--maincolor);
    font-weight: 600;
}

.discription {
    display: inline-block;
    padding: 0;
    margin-bottom: 2rem;
}

.discription p {
    color: var(--textcolor-muted);
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    line-height: 1.8;
}

/* Resume Download Button */
.btn {
    width: 160px;
    height: 48px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--textcolor);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.svgIcon {
    fill: var(--textcolor);
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.icon_1 {
    display: none; /* Removed placeholder div in favor of solid structure */
}

.Tooltip {
    position: absolute;
    bottom: -45px;
    opacity: 0;
    background-color: var(--maincolor);
    color: var(--textcolor);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    pointer-events: none;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.btn:hover {
    background-color: var(--maincolor);
    border-color: var(--maincolor);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.btn:hover .svgIcon {
    transform: translateY(2px);
}

.btn:hover .Tooltip {
    opacity: 1;
    bottom: -35px;
}

/* Social media row */
.social {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 3.5rem;
    gap: 15px;
}

.social h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--textcolor-muted);
    margin-right: 5px;
}

.social h2 i {
    color: var(--maincolor);
}

.social a span {
    color: var(--textcolor-muted);
    font-size: 1.2rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.social a span:hover {
    color: var(--textcolor);
    background: var(--maincolor);
    border-color: var(--maincolor);
    box-shadow: 0 0 15px var(--maincolor);
    transform: translateY(-5px);
}

/* Hero Profile Image Panel */
.main_one #sub_main_one2 {
    height: 100%;
    width: 45%;
    background-color: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.img {
    width: 320px;
    height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img .image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.img .animation_one {
    position: absolute;
    width: 106%;
    height: 106%;
    border-radius: 50%;
    border: 2px dashed rgba(6, 182, 212, 0.5);
    animation: rotate 24s linear infinite;
    z-index: 1;
}

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

/* <<==================== About Section ===================>> */
.hero_two {
    background: var(--backgroundcolor);
    min-height: 80vh;
    height: auto;
    padding-top: 6rem;
    padding-bottom: 6rem;
    border-top: 1px solid var(--border-color);
}

.hero_two h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    text-align: center;
    color: var(--textcolor);
    margin-bottom: 4rem;
    position: relative;
}

.hero_two h2::after {
    content: "Who I Am";
    display: block;
    color: var(--secondarycolor);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

/* Override the under-line effect with modern styles */
.hero_two h2::before {
    display: none;
}

.sub_hero_two {
    display: flex;
    flex-wrap: wrap;
    max-width: 920px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.sub_hero_two #sub_hero21 {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.sub_hero_two img {
    width: 320px;
    height: 420px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--border-color);
}

/* Quick Info Card under About photo */
.quick_info_card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    width: 320px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.quick_info_card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.25);
}

.quick_info_card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--textcolor);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    text-align: left;
}

.quick_info_card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style-type: none;
    padding: 0;
}

.quick_info_card ul li {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--textcolor-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-align: left;
}

.quick_info_card ul li i {
    color: var(--maincolor);
    width: 16px;
    text-align: center;
    font-size: 0.95rem;
}

.quick_info_card ul li strong {
    color: var(--textcolor);
    font-weight: 600;
}

#sub_hero_22 {
    flex: 1.2;
    min-width: 300px;
}

#sub_hero_22 h1 {
    font-size: 1.8rem;
    font-family: 'Poppins', sans-serif;
    color: var(--textcolor);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4; /* Prevents text wrap overlapping */
}

#sub_hero_22 h1 .typing_ani {
    font-size: inherit; /* Inherits parent h1 size to prevent layout mismatches */
    color: var(--maincolor);
    border-right: 3px solid var(--maincolor);
    padding-right: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    animation: cursor-blink 0.75s step-end infinite;
}

@keyframes cursor-blink {
    50% {
        border-color: transparent;
    }
}

#sub_hero_22 p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--textcolor-muted);
    margin-bottom: 0.8rem;
    text-align: left;
}

#sub_hero_22 button {
    background-color: var(--maincolor);
    border: none;
    color: var(--textcolor);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

#sub_hero_22 button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    background-color: #5558e6;
}

/* Skill Tags in About Section */
.about_skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.2rem 0 1.8rem 0;
}

.skill_tag {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondarycolor);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.skill_tag:hover {
    background-color: rgba(6, 182, 212, 0.1);
    border-color: var(--secondarycolor);
    transform: translateY(-2px);
}

/* <<==================== Statistics Section ===================>> */
.stats_section {
    background: var(--backgroundcolor);
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
}

.stats_container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.stat_card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
}

.stat_card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat_card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--maincolor);
    margin-bottom: 0.5rem;
}

.stat_card p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--textcolor-muted);
    margin: 0;
    text-align: center;
}

/* <<==================== Experience & Education Section ===================>> */
.experience_education {
    background: var(--backgroundcolor);
    padding: 6rem 2rem;
    border-top: 1px solid var(--border-color);
}

.experience_education h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    text-align: center;
    color: var(--textcolor);
    margin-bottom: 4rem;
    position: relative;
}

.experience_education h2::after {
    content: "My Journey";
    display: block;
    color: var(--secondarycolor);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

.exp_edu_container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
}

.column_title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--textcolor);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.column_title i {
    color: var(--maincolor);
}

/* Timeline Styling */
.timeline {
    position: relative;
    border-left: 2px solid var(--border-color);
    padding-left: 2rem;
    margin-left: 10px;
}

.timeline_item {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline_item:last-child {
    margin-bottom: 0;
}

.timeline_dot {
    position: absolute;
    left: -2.4rem;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--maincolor);
    border: 3px solid var(--backgroundcolor);
    box-shadow: 0 0 10px var(--maincolor);
}

.timeline_content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline_content:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.25);
}

.timeline_date {
    display: inline-block;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--maincolor);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.timeline_content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--textcolor);
    margin-bottom: 0.3rem;
}

.timeline_company {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondarycolor);
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.timeline_content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--textcolor-muted);
}

/* Education List Styling */
.education_list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.edu_card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.edu_card:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.25);
}

.edu_date {
    display: inline-block;
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--secondarycolor);
    border: 1px solid rgba(6, 182, 212, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.edu_card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--textcolor);
    margin-bottom: 0.3rem;
}

.school_name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--textcolor-muted);
    margin-bottom: 0.8rem;
    font-family: 'Outfit', sans-serif;
}

.edu_card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--textcolor-muted);
}

/* Certifications Badges */
.certs_wrapper h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--textcolor);
    margin-bottom: 1.5rem;
}

.certs_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.cert_badge {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cert_badge:hover {
    background-color: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.cert_badge i {
    font-size: 1.5rem;
    color: var(--maincolor);
}

.cert_badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--textcolor);
    font-family: 'Poppins', sans-serif;
}

/* Responsive Experience/Education overrides */
@media (max-width: 992px) {
    .exp_edu_container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* <<==================== Projects Section ===================>> */
.Hero_three {
    background-color: var(--backgroundcolor);
    min-height: 100vh;
    height: auto;
    padding: 6rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Hero_three h1 {
    color: var(--textcolor);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.Hero_three h1::after {
    content: "What I Do";
    display: block;
    color: var(--secondarycolor);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

/* Custom Tab Buttons */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 10;
}

.buttons button {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 12px 26px;
    border-radius: 30px;
    color: var(--textcolor-muted);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.buttons button i {
    font-size: 0.9rem;
}

.buttons button:hover {
    color: var(--textcolor);
    border-color: rgba(99, 102, 241, 0.4);
    background-color: rgba(99, 102, 241, 0.04);
}

.active_button {
    background-color: var(--maincolor) !important;
    color: var(--textcolor) !important;
    border-color: var(--maincolor) !important;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.35);
}

/* Card Grid Layout */
.card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.cards {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2rem;
    width: calc(33.333% - 1.4rem);
    min-width: 290px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cards:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(6, 182, 212, 0.05);
}

.cards > span:first-child {
    color: var(--secondarycolor);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    transition: all 0.3s ease;
}

.cards:hover > span:first-child {
    color: var(--textcolor);
    background: var(--secondarycolor);
    border-color: var(--secondarycolor);
    box-shadow: 0 0 15px var(--secondarycolor);
}

.cards h2 {
    color: var(--textcolor);
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cards span:last-child {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--textcolor-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

.cards span:last-child p {
    color: var(--textcolor-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.Projects_2 {
    display: none;
}

.Projects_3 {
    display: none;
}

/* <<==================== Contact Section ===================>> */
.contact {
    background-color: var(--backgroundcolor);
    min-height: 100vh;
    height: auto;
    padding: 6rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact h1 {
    color: var(--textcolor);
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact_intro {
    text-align: center;
    color: var(--textcolor-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    line-height: 1.7;
}

.contact_container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 1rem;
}

.contact_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact_info h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--textcolor);
    margin-bottom: 1.5rem;
}

.contact_info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--textcolor-muted);
    margin-bottom: 2.5rem;
    text-align: left;
}

.whatsapp_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    background-color: #20ba59;
}

.contact_form_wrapper {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem;
    backdrop-filter: blur(12px);
}

.contact_form_wrapper form {
    max-width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.input_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.input_group label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--textcolor);
}

.input_group input,
.input_group textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--textcolor);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.input_group input:focus,
.input_group textarea:focus {
    border-color: var(--maincolor);
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.input_group input::placeholder,
.input_group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.submit_btn {
    background-color: var(--maincolor);
    color: var(--textcolor);
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: auto;
}

.submit_btn:hover {
    transform: translateY(-2px);
    background-color: #5558e6;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

#my-form-status {
    margin-top: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--secondarycolor);
}

/* <<==================== Responsive Design ===================>> */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--textcolor);
    cursor: pointer;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: var(--maincolor);
}

@media (max-width: 768px) {
    header {
        padding: 0 1.5rem;
    }
    
    header nav {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 7rem 2rem 2.5rem 2rem;
        background-color: rgba(9, 13, 22, 0.98);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 10000;
    }
    
    header nav.active {
        transform: translateY(0);
    }
    
    header nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hamburger {
        display: block;
        z-index: 10001;
    }
    
    /* Hero section overrides */
    .main_one {
        flex-direction: column-reverse;
        height: auto;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }
    
    .main_one #sub_main_one1,
    .main_one #sub_main_one2 {
        width: 100%;
        height: auto;
        padding: 1.5rem;
    }
    
    .main_one #sub_main_one1 {
        text-align: center;
        align-items: center;
    }
    
    .main_one #sub_main_one1 h1 {
        font-size: 2.4rem;
        line-height: 2.8rem;
    }
    
    .main_one #sub_main_one1 h1 span {
        font-size: 1.5rem;
    }
    
    .discription p {
        font-size: 0.95rem;
    }
    
    .social {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .img {
        width: 250px;
        height: 250px;
    }
    
    /* About section overrides */
    .sub_hero_two {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero_two {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .sub_hero_two img {
        width: 100%;
        max-width: 320px;
        height: auto;
        max-height: 380px;
    }
    
    .quick_info_card {
        width: 100%;
        max-width: 320px;
        padding: 1.25rem;
    }
    
    #sub_hero_22 {
        width: 100%;
        text-align: center;
        padding: 0 1rem;
    }
    
    #sub_hero_22 p {
        text-align: center;
        font-size: 0.9rem;
    }
    
    #sub_hero_22 h1 {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .about_skills {
        justify-content: center;
    }
    
    .stats_section {
        padding: 3rem 1rem;
    }
    
    /* Experience timeline overrides */
    .experience_education {
        padding: 4rem 1rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
        margin-left: 5px;
    }
    
    .timeline_dot {
        left: -1.9rem;
    }
    
    .timeline_content,
    .edu_card {
        padding: 1.5rem 1.2rem;
    }
    
    .certs_grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 8px;
    }
    
    /* Projects section overrides */
    .Hero_three {
        padding: 4rem 1rem;
    }
    
    .cards {
        width: 100%;
        margin: 0;
        padding: 2rem 1.5rem;
    }
    
    /* Contact section overrides */
    .contact {
        padding: 4rem 1rem;
    }
    
    .contact_container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact_info {
        text-align: center;
        align-items: center;
    }
    
    .contact_info p {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact_form_wrapper {
        padding: 2rem 1.2rem;
    }
    
    .input_group input,
    .input_group textarea {
        font-size: 1rem;
    }
    
    .whatsapp_btn,
    .submit_btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero_two h2,
    .Hero_three h1,
    .contact h1,
    .experience_education h2 {
        font-size: 2.2rem;
    }
}