/* ==========================
   Global Reset
========================== */

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


html {
    scroll-behavior:smooth;
}


body {

    font-family:"Inter", Arial, sans-serif;

    color:#222;

    background:#fff;

    line-height:1.6;

}



img {

    max-width:100%;

    display:block;

}



a {

    text-decoration:none;

    color:inherit;

}



ul {

    list-style:none;

}



/* ==========================
   Variables
========================== */


:root {

    --primary:#2563eb;

    --secondary:#1e40af;

    --dark:#111827;

    --gray:#6b7280;

    --light:#f8fafc;

    --white:#ffffff;

    --shadow:0 10px 30px rgba(0,0,0,0.08);

}






/* ==========================
   Navbar
========================== */


.navbar {

    height:80px;

    display:flex;

    align-items:center;

    justify-content:flex-end;

    padding:0 8%;

    position:sticky;

    top:0;

    background:white;

    z-index:1000;

    box-shadow:0 2px 10px rgba(0,0,0,0.05);

}



.nav-links {

    display:flex;

    gap:35px;

    align-items:center;

}



.nav-links a {

    font-size:16px;

    font-weight:500;

    color:#111827;

    transition:0.3s;

}



.nav-links a:hover {

    color:#2563eb;

}



.nav-links a.active {

    color:#2563eb;

    font-weight:700;

}



/* ==========================
   Common Section
========================== */


section {

    padding:100px 8%;

}



.section-title {

    text-align:center;

    margin-bottom:60px;

}



.section-title h2 {

    font-size:42px;

    color:var(--dark);

}



.section-title p {

    color:var(--gray);

}






/* ==========================
   Hero Section
========================== */

.hero {

    min-height:90vh;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

    padding:110px 8%;

    background:
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #dbeafe 50%,
            #f8fafc 100%
        );

    overflow:hidden;

}



/* ==========================
   Hero Content
========================== */

.hero-content {

    flex:1;

    max-width:650px;

}



.hero-intro {

    display:flex;

    align-items:center;

    gap:10px;

    flex-wrap:wrap;

    margin-bottom:10px;

    color:var(--primary);

    font-size:22px;

    font-weight:600;

}



#typing-text {

    color:var(--dark);

    font-weight:700;

}



.hero h1 {

    font-size:70px;

    line-height:1.1;

    margin:15px 0 20px;

    color:var(--dark);

}



.hero p {

    max-width:600px;

    font-size:18px;

    line-height:1.8;

    color:#475569;

}



/* ==========================
   Hero Buttons
========================== */

.hero-buttons {

    display:flex;

    align-items:center;

    gap:18px;

    margin-top:35px;

    flex-wrap:wrap;

}



.btn {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:50px;

    padding:14px 28px;

    border-radius:8px;

    font-weight:600;

    font-size:16px;

    transition:0.3s ease;

}



.btn-primary {

    background:var(--primary);

    color:white;

}



.btn-primary:hover {

    background:var(--secondary);

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(37,99,235,0.25);

}



.btn-secondary {

    background:rgba(255,255,255,0.65);

    border:2px solid var(--primary);

    color:var(--primary);

}



.btn-secondary:hover {

    background:var(--primary);

    color:white;

    transform:translateY(-3px);

}



/* ==========================
   Social Links
========================== */

.social-links {

    display:flex;

    align-items:center;

    gap:16px;

    margin-top:30px;

}



.social-links a {

    width:46px;

    height:46px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,0.8);

    color:var(--dark);

    font-size:21px;

    border:1px solid rgba(37,99,235,0.12);

    box-shadow:0 5px 15px rgba(15,23,42,0.06);

    transition:0.3s ease;

}



.social-links a:hover {

    background:var(--primary);

    color:white;

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(37,99,235,0.22);

}



/* ==========================
   Hero Image
========================== */

.hero-image {

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

}



.hero-image img {

    width:380px;

    height:380px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid rgba(255,255,255,0.9);

    box-shadow:

        0 20px 50px rgba(37,99,235,0.18),

        0 0 0 12px rgba(255,255,255,0.25);

    animation:floatHeroImage 4s ease-in-out infinite;

}



/* ==========================
   Profile Image Animation
========================== */

@keyframes floatHeroImage {

    0% {

        transform:translateY(0);

    }

    50% {

        transform:translateY(-14px);

    }

    100% {

        transform:translateY(0);

    }

}



/* ==========================
   Hero Section
========================== */

.hero {

    min-height: 92vh;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

    padding: 100px 8%;

    position: relative;

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #168de8 45%,
            #22b8ea 100%
        );

}


/* Decorative background circles */

.hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);

    top: -160px;

    right: -120px;

}


.hero::after {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    bottom: -180px;

    left: -120px;

}


/* ==========================
   Hero Content
========================== */

.hero-content {

    flex: 1;

    max-width: 680px;

    position: relative;

    z-index: 2;

}


.hero-intro {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

    margin-bottom: 12px;

    font-size: 22px;

    font-weight: 600;

    color: #ffffff;

}


#typing-text {

    color: #ffffff;

    font-weight: 700;

}


/* Main Name */

.hero h1 {

    font-size: 70px;

    line-height: 1.05;

    margin: 10px 0 25px;

    color: #facc15;

    font-weight: 800;

}


/* Description */

.hero p {

    max-width: 680px;

    font-size: 18px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.95);

}


/* ==========================
   Hero Buttons
========================== */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 35px;

    flex-wrap: wrap;

}


.hero .btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding: 13px 30px;

    border-radius: 30px;

    font-size: 16px;

    font-weight: 700;

    transition: 0.3s ease;

}


/* Hire Me */

.hero .btn-primary {

    background: #2563eb;

    color: #ffffff;

    border: 2px solid #2563eb;

}


.hero .btn-primary:hover {

    background: #1d4ed8;

    border-color: #1d4ed8;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);

}


/* Download Resume */

.hero .btn-secondary {

    background: transparent;

    color: #ffffff;

    border: 2px solid rgba(255, 255, 255, 0.9);

}


.hero .btn-secondary:hover {

    background: #ffffff;

    color: #2563eb;

    transform: translateY(-3px);

}


/* ==========================
   Social Icons
========================== */

.social-links {

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 32px;

}


.social-links a {

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: transparent;

    color: #ffffff;

    font-size: 24px;

    transition: 0.3s ease;

}


.social-links a:hover {

    color: #facc15;

    transform: translateY(-5px);

}


/* ==========================
   Hero Image
========================== */

.hero-image {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    z-index: 2;

}


.hero-image img {

    width: 380px;

    height: 380px;

    object-fit: cover;

    border-radius: 50%;

    border: 8px solid rgba(255, 255, 255, 0.45);

    box-shadow:
        0 0 0 10px rgba(255, 255, 255, 0.08),
        0 25px 60px rgba(0, 0, 0, 0.20);

    animation: heroFloat 4s ease-in-out infinite;

}


/* Profile floating effect */

@keyframes heroFloat {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-12px);

    }

    100% {

        transform: translateY(0);

    }

}


/* ==========================
   Mobile
========================== */

@media (max-width: 1000px) {

    .hero {

        min-height: auto;

        flex-direction: column;

        text-align: center;

        padding: 90px 8%;

    }


    .hero-content {

        max-width: 800px;

    }


    .hero-intro {

        justify-content: center;

    }


    .hero p {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    .social-links {

        justify-content: center;

    }


    .hero-image {

        margin-top: 30px;

    }

}


@media (max-width: 600px) {

    .hero {

        padding: 75px 5%;

    }


    .hero h1 {

        font-size: 46px;

    }


    .hero-intro {

        font-size: 18px;

    }


    .hero p {

        font-size: 16px;

    }


    .hero-buttons {

        flex-direction: column;

        width: 100%;

    }


    .hero .btn {

        width: 100%;

    }


    .hero-image img {

        width: 280px;

        height: 280px;

    }

}





/* ==========================
   About
========================== */
/* ==========================
   About Section
========================== */

.about {

    background: var(--light);

}


.about-container {

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 60px;

    align-items: start;

    max-width: 1200px;

    margin: auto;

}


/* ==========================
   About Section
========================== */

.about {
    background: #f8fafc;
}


/* ==========================
   Main About Layout
========================== */

.about-main {
    max-width: 1150px;
    margin: 0 auto 55px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;

    align-items: stretch;
}


/* ==========================
   About Story
========================== */

.about-story {
    padding: 10px 0;
}

.about-label {
    display: inline-block;
    margin-bottom: 16px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;

    color: var(--primary);
}

.about-story h3 {
    max-width: 650px;
    margin-bottom: 24px;

    color: var(--dark);

    font-size: 34px;
    line-height: 1.25;
}

.about-story p {
    max-width: 700px;
    margin-bottom: 20px;

    color: var(--gray);

    font-size: 17px;
    line-height: 1.8;
}


/* ==========================
   Personal Details Card
========================== */

.personal-details {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 20px;

    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-details:hover {
    transform: translateY(-3px);

    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.10);
}


/* ==========================
   Personal Details Heading
========================== */

.details-title {
    display: flex;
    align-items: center;

    gap: 12px;

    padding-bottom: 20px;
    margin-bottom: 4px;

    border-bottom: 1px solid #e5e7eb;
}

.details-title i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: var(--primary);

    background: rgba(37, 99, 235, 0.08);

    border-radius: 10px;

    font-size: 17px;
}

.details-title h3 {
    margin: 0;

    color: var(--dark);

    font-size: 23px;
    font-weight: 700;
}


/* ==========================
   Detail Rows
========================== */

.detail-row {
    display: grid;

    grid-template-columns: 155px 1fr;

    align-items: center;

    gap: 15px;

    padding: 16px 0;

    border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}


/* ==========================
   Detail Labels + Icons
========================== */

.detail-label {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #64748b;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.03em;
}

.detail-label i {
    width: 19px;

    color: var(--primary);

    font-size: 13px;

    text-align: center;
}


/* ==========================
   Detail Values
========================== */

.detail-row strong,
.detail-row a {
    color: var(--dark);

    font-size: 15px;
    font-weight: 600;

    line-height: 1.5;

    text-align: right;

    word-break: break-word;
}

.detail-row a {
    color: var(--primary);

    text-decoration: none;

    transition: color 0.25s ease;
}

.detail-row a:hover {
    text-decoration: underline;
}


/* ==========================
   Strengths
========================== */

.about-strengths {
    max-width: 1150px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.strength-item {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 26px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-item:hover {
    transform: translateY(-6px);

    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.strength-number {
    flex-shrink: 0;

    font-size: 28px;
    line-height: 1;

    font-weight: 800;

    color: var(--primary);
}

.strength-item h4 {
    margin-bottom: 6px;

    color: var(--dark);

    font-size: 18px;
}

.strength-item p {
    margin: 0;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.6;
}


/* ==========================
   Responsive
========================== */

@media (max-width: 950px) {

    .about-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-story h3 {
        max-width: 750px;
    }

}


@media (max-width: 750px) {

    .about-strengths {
        grid-template-columns: 1fr;
    }

    .about-story h3 {
        font-size: 28px;
    }

}


@media (max-width: 600px) {

    .personal-details {
        padding: 24px 20px;
    }

    .details-title {
        padding-bottom: 17px;
    }

    .details-title h3 {
        font-size: 21px;
    }

    .detail-row {
        grid-template-columns: 1fr;

        gap: 6px;

        padding: 14px 0;
    }

    .detail-row strong,
    .detail-row a {
        padding-left: 28px;

        text-align: left;
    }

}


@media (max-width: 500px) {

    .about-story h3 {
        font-size: 25px;
    }

    .about-story p {
        font-size: 16px;
    }

    .strength-item {
        padding: 22px;
    }

}

/* ==========================
   Skills Section
========================== */


.skills {

    background:white;

}



.skills-container {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    max-width:1100px;

    margin:auto;

}



.skill-card {

    background:white;

    padding:35px;

    border-radius:18px;

    box-shadow:var(--shadow);

    border-top:4px solid var(--primary);

    transition:0.3s;

}



.skill-card:hover {

    transform:translateY(-8px);

}



.skill-card h3 {

    font-size:24px;

    color:var(--dark);

    margin-bottom:20px;

}



.skill-card ul li {

    color:var(--gray);

    margin-bottom:12px;

    position:relative;

    padding-left:20px;

}



.skill-card ul li::before {

    content:"✓";

    position:absolute;

    left:0;

    color:var(--primary);

    font-weight:bold;

}





@media(max-width:800px){


.skills-container{

    grid-template-columns:1fr;

}


}




/* ==========================
   Experience Section
========================== */


.experience {

    background:#ffffff;

}



.timeline {

    max-width:900px;

    margin:auto;

    position:relative;

}



.timeline::before {

    content:"";

    position:absolute;

    left:0;

    top:0;

    height:100%;

    width:3px;

    background:var(--primary);

}



.timeline-item {

    position:relative;

    margin-left:40px;

    margin-bottom:40px;

    background:white;

    padding:35px;

    border-radius:15px;

    box-shadow:var(--shadow);

}



.timeline-item::before {

    content:"";

    position:absolute;

    left:-51px;

    top:35px;

    width:20px;

    height:20px;

    background:var(--primary);

    border-radius:50%;

}



.timeline-content span {

    color:var(--primary);

    font-weight:700;

}



.timeline-content h3 {

    font-size:28px;

    margin:10px 0;

    color:var(--dark);

}



.timeline-content h4 {

    color:#555;

    margin-bottom:20px;

}



.timeline-content li {

    color:var(--gray);

    margin-bottom:12px;

}



@media(max-width:700px){


.timeline::before{

    left:10px;

}


.timeline-item{

    margin-left:35px;

}


}



/* ==========================
   Education Section
========================== */


.education {

    background: var(--light);

}


/* Education Layout */

.education-container {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    max-width:1150px;

    margin:auto;

}


/* Education Card */

.education-card {

    background:#ffffff;

    padding:32px;

    border-radius:20px;

    border:1px solid #e5e7eb;

    box-shadow:
    0 10px 30px rgba(15,23,42,0.08);

    transition:all 0.35s ease;

    position:relative;

    overflow:hidden;

}


/* Top accent line */

.education-card::before {

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;

    background:var(--primary);

}


/* Hover */

.education-card:hover {

    transform:translateY(-8px);

    box-shadow:
    0 18px 40px rgba(15,23,42,0.12);

}


/* Duration */

.education-card span {

    display:inline-block;

    color:var(--primary);

    font-size:14px;

    font-weight:700;

    margin-bottom:15px;

}



/* Degree */

.education-card h3 {

    font-size:24px;

    line-height:1.3;

    color:var(--dark);

    margin:10px 0 8px;

}



/* Institution */

.education-card h4 {

    color:var(--primary);

    font-size:17px;

    font-weight:700;

    margin-bottom:18px;

}



/* Description */

.education-card p {

    color:var(--gray);

    font-size:15px;

    line-height:1.7;

    margin-bottom:12px;

}


/* Highlight values like CGPA */

.education-card strong {

    color:var(--dark);

}


/* ==========================
   Responsive
========================== */


@media(max-width:1000px){


.education-container{

    grid-template-columns:repeat(2,1fr);

}


}



@media(max-width:700px){


.education-container{

    grid-template-columns:1fr;

}


}



/* ==========================
   Projects Section
=========================== */


.projects{

    background:var(--light);

}




.projects-container{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}




.project-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:var(--shadow);

    display:flex;

    flex-direction:column;

    transition:.35s ease;

}



.project-card:hover{

    transform:translateY(-12px);

}





.project-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.4s ease;

}



.project-card:hover img{

    transform:scale(1.05);

}





.project-content{

    padding:25px;

    display:flex;

    flex-direction:column;

    flex:1;

}





.project-content h3{

    font-size:24px;

    margin-bottom:15px;

    color:var(--dark);

}





.project-content p{

    color:var(--gray);

    margin-bottom:20px;

}





.project-tech{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-top:auto;

}





.project-tech span{

    background:#dbeafe;

    color:var(--primary);

    padding:6px 14px;

    border-radius:20px;

    font-size:14px;

}





.project-btn{

    align-self:flex-start;

    margin:25px 0 0;

    padding:12px 25px;

    background:var(--primary);

    color:white;

    border-radius:8px;

    font-weight:600;

    transition:.3s;

}





.project-btn:hover{

    background:var(--secondary);

    transform:translateX(5px);

}

@media(max-width:1000px){

    .projects-container{

        grid-template-columns:repeat(2,1fr);

    }

}



@media(max-width:600px){

    .projects-container{

        grid-template-columns:1fr;

    }

}






/* ==========================
   Blog
========================== */


.blog-container {

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



.blog-card {

    background:white;

    padding:35px;

    border-radius:15px;

    box-shadow:var(--shadow);

}



.blog-card h3 {

    margin-bottom:15px;

}



.blog-card p {

    color:var(--gray);

}







/* ==========================
   Contact
========================== */
/* ==========================
   Contact Section
========================== */

.contact {
    background: #ffffff;
}


/* ==========================
   Contact Layout
========================== */

.contact-container {

    max-width: 1150px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 60px;

    align-items: stretch;

}


/* ==========================
   Contact Information
========================== */

.contact-info {

    padding: 20px 0;
}


.contact-label {

    display: inline-block;

    margin-bottom: 16px;

    color: var(--primary);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 0.12em;

}


.contact-info h3 {

    max-width: 500px;

    margin-bottom: 20px;

    color: var(--dark);

    font-size: 34px;

    line-height: 1.25;

}


.contact-info > p {

    max-width: 500px;

    margin-bottom: 35px;

    color: var(--gray);

    font-size: 16px;

    line-height: 1.8;

}


/* ==========================
   Contact Details
========================== */

.contact-details {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.contact-detail {

    display: flex;

    align-items: center;

    gap: 14px;

}


.contact-icon {

    flex-shrink: 0;

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    background: rgba(37, 99, 235, 0.08);

    border-radius: 12px;

}


.contact-detail div:last-child {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.contact-detail span {

    color: #94a3b8;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.05em;

}


.contact-detail strong,

.contact-detail a {

    color: var(--dark);

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

}


.contact-detail a {

    color: var(--primary);

}


.contact-detail a:hover {

    text-decoration: underline;

}


/* ==========================
   Contact Form Card
========================== */

.contact-form-card {

    padding: 32px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;

    border-radius: 22px;

    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);

}


/* ==========================
   Contact Form
========================== */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}


.form-group label {

    color: var(--dark);

    font-size: 14px;

    font-weight: 700;

}


.form-group input,

.form-group textarea {

    width: 100%;

    padding: 13px 15px;

    color: var(--dark);

    background: #ffffff;

    border: 1px solid #dbe2ea;

    border-radius: 10px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.form-group textarea {

    resize: vertical;

    min-height: 140px;

}


.form-group input::placeholder,

.form-group textarea::placeholder {

    color: #94a3b8;

}


.form-group input:focus,

.form-group textarea:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);

}


/* ==========================
   Send Button
========================== */

.contact-submit {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 20px;

    color: #ffffff;

    background: var(--primary);

    border: none;

    border-radius: 10px;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}


.contact-submit:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);

}


.contact-submit:active {

    transform: translateY(0);

}


/* ==========================
   Responsive
========================== */

@media (max-width: 900px) {

    .contact-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .contact-info h3 {

        font-size: 30px;

    }

}


@media (max-width: 600px) {

    .contact-form-card {

        padding: 24px 20px;

    }


    .contact-info h3 {

        font-size: 27px;

    }


    .contact-info > p {

        font-size: 15px;

    }

}



/* ==========================
   Footer
========================== */


footer {

    background:#111827;

    color:white;

    text-align:center;

    padding:30px;

}







/* ==========================
   Responsive
========================== */


@media(max-width:1000px){


.hero {

    flex-direction:column;

    text-align:center;

}



.hero-buttons {

    justify-content:center;

}



.skills-container {

    grid-template-columns:repeat(2,1fr);

}



.projects-container {

    grid-template-columns:repeat(2,1fr);

}



.blog-container {

    grid-template-columns:repeat(2,1fr);

}



}



@media(max-width:600px){


.nav-links {

    display:none;

}



.hero h1 {

    font-size:45px;

}



.hero h2 {

    font-size:25px;

}



.hero-image img {

    width:280px;

    height:280px;

}



.skills-container,
.projects-container,
.blog-container,
.education-container {

    grid-template-columns:1fr;

}



section {

    padding:70px 5%;

}


}

/* ==========================
 Project Details Page
========================== */


.project-details{

    padding:100px 8%;

}


.project-cover{

    max-width:900px;

    margin:40px auto;

}


.project-cover img{

    width:100%;

    border-radius:20px;

    box-shadow:var(--shadow);

}



.project-gallery{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin:40px 0;

}



.project-gallery img{

    width:100%;

    border-radius:15px;

    box-shadow:var(--shadow);

    transition:.3s;

}



.project-gallery img:hover{

    transform:scale(1.03);

}



.project-details h2{

    margin-top:50px;

    margin-bottom:25px;

}



@media(max-width:700px){


.project-gallery{

    grid-template-columns:1fr;

}


}

/* ==============================
   Project Detail Page
================================ */


.project-detail-page{

    padding:100px 8%;

}



.back-btn{

    display:inline-block;

    margin-bottom:40px;

    color:var(--primary);

    font-weight:600;

}




.project-header{

    text-align:center;

    max-width:900px;

    margin:auto;

}



.project-header h1{

    font-size:48px;

    color:var(--dark);

    margin-bottom:20px;

}



.project-header p{

    font-size:18px;

    color:var(--gray);

}




.project-main-image{

    max-width:1000px;

    margin:50px auto;

}



.project-main-image img{

    width:100%;

    border-radius:20px;

    box-shadow:var(--shadow);

}





.project-overview,
.project-technologies,
.project-gallery-section{

    max-width:1000px;

    margin:70px auto;

}




.project-overview h2,
.project-technologies h2,
.project-gallery-section h2{

    font-size:32px;

    margin-bottom:25px;

}



.project-overview p{

    color:var(--gray);

    font-size:18px;

}




.project-tech{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}



.project-tech span{

    background:#dbeafe;

    color:var(--primary);

    padding:8px 18px;

    border-radius:25px;

}





.project-gallery{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}



.project-gallery img{

    width:100%;

    border-radius:15px;

    box-shadow:var(--shadow);

    transition:.3s;

}



.project-gallery img:hover{

    transform:translateY(-8px);

}






.project-action{

    text-align:center;

    margin-top:50px;

}





@media(max-width:700px){


.project-header h1{

font-size:35px;

}



.project-gallery{

grid-template-columns:1fr;

}


}
/* ==========================
   Project View Details Button
=========================== */


.project-btn {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin:20px 25px 30px;

    padding:12px 28px;

    background:var(--primary);

    color:white;

    border-radius:8px;

    font-weight:600;

    font-size:16px;

    transition:0.3s ease;

}



.project-btn:hover {

    background:var(--secondary);

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(37,99,235,0.25);

}

/* ==========================
   Hero Social Links
=========================== */

/* ==========================
   Hero Social Icons
========================== */

.social-links {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 30px;
}


.social-links a {
    width: 44px;
    height: 44px;

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

    color: var(--dark);

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 50%;

    font-size: 18px;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.social-links a:hover {
    transform: translateY(-4px);

    color: #ffffff;

    background: var(--primary);

    border-color: var(--primary);

    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
}


/* ==========================
   Hero Image Animation
========================== */

.hero-image img {
    animation: floatImage 4s ease-in-out infinite;
}


@keyframes floatImage {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }

}
/* ==========================
   About Section
========================== */


.about-container{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:50px;

    align-items:center;

}



.about-content h3{

    font-size:28px;

    color:var(--dark);

    margin-bottom:20px;

}



.about-content p{

    color:var(--gray);

    font-size:18px;

    margin-bottom:20px;

}





.about-stats{

    display:grid;

    gap:20px;

}





.stat-card{

    background:white;

    padding:30px;

    border-radius:15px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.3s;

}



.stat-card:hover{

    transform:translateY(-8px);

}



.stat-card h3{

    font-size:40px;

    color:var(--primary);

}



.stat-card p{

    color:var(--gray);

    font-weight:600;

}




@media(max-width:900px){


.about-container{

    grid-template-columns:1fr;

}


}

.about-highlights{

    display:flex;

    flex-direction:column;

    gap:20px;

}



.highlight-card{

    background:white;

    padding:25px;

    border-radius:15px;

    box-shadow:var(--shadow);

    transition:.3s ease;

}



.highlight-card:hover{

    transform:translateX(10px);

}



.highlight-card h3{

    font-size:35px;

    color:var(--primary);

    margin-bottom:10px;

}



.highlight-card p{

    color:var(--gray);

    font-size:16px;

}


/* ==========================
   Blog Section
========================== */


.blog{

    background:white;

}




.blog-container{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}




.blog-card{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.35s ease;

}



.blog-card:hover{

    transform:translateY(-10px);

}




.blog-icon{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#dbeafe;

    color:var(--primary);

    font-size:28px;

    margin-bottom:25px;

}





.blog-card h3{

    font-size:24px;

    margin-bottom:15px;

    color:var(--dark);

}





.blog-card p{

    color:var(--gray);

    margin-bottom:25px;

}




.blog-btn{

    color:var(--primary);

    font-weight:600;

}




.blog-btn:hover{

    text-decoration:underline;

}




@media(max-width:900px){


.blog-container{

    grid-template-columns:repeat(2,1fr);

}


}




@media(max-width:600px){


.blog-container{

    grid-template-columns:1fr;

}


}
/* ==========================
   Contact Section
========================== */

/* ==========================
   Contact Section
========================== */


.contact{

    background:var(--light);

}



.contact-wrapper{


    max-width:1100px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}





.contact-text h2{


    font-size:45px;

    color:var(--dark);

    margin-bottom:25px;


}





.contact-text p{


    color:var(--gray);

    font-size:18px;

    margin-bottom:20px;


}





.contact-links{


    display:flex;

    flex-direction:column;

    gap:20px;


}





.contact-item{


    display:flex;

    align-items:center;

    gap:20px;

    padding:22px;

    background:white;

    border-radius:15px;

    box-shadow:var(--shadow);

    text-decoration:none;

    color:inherit;

    transition:.3s ease;


}





.contact-item:hover{


    transform:translateX(10px);

}





.contact-item i{


    width:55px;

    height:55px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#dbeafe;

    color:var(--primary);

    font-size:25px;


}





.contact-item h3{


    color:var(--dark);

    margin-bottom:5px;


}





.contact-item span{


    color:var(--gray);

    font-size:15px;


}







@media(max-width:900px){


.contact-wrapper{

    grid-template-columns:1fr;

}



.contact-text{

    text-align:center;

}


}
.contact-item{
    cursor:pointer;
}


/* ==========================
   Footer
========================== */
/* ==========================
   Footer
========================== */

.footer-social {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 20px;
}


/* ==========================
   Footer Social Icons
========================== */

.footer-social a {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #cbd5e1;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    font-size: 16px;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


.footer-social a:hover {

    color: #ffffff;

    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-4px);

}


/* ==========================
   Mobile
========================== */

@media (max-width: 500px) {

    .footer-social {

        gap: 10px;

    }


    .footer-social a {

        width: 38px;
        height: 38px;

        font-size: 15px;

    }

}
/* ==========================
   Navbar
========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(15, 23, 42, 0.96);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);

    backdrop-filter: blur(10px);
}


/* ==========================
   Navbar Container
========================== */

.nav-container {
    max-width: 1150px;

    margin: 0 auto;

    padding: 18px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ==========================
   Logo
========================== */

.logo {
    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    text-decoration: none;

    transition: 0.3s ease;
}

.logo:hover {
    color: var(--primary);
}


/* ========================================
   NAVBAR
======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: #0f172a;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.15);

    backdrop-filter: blur(10px);
}


/* ========================================
   NAVBAR CONTAINER
======================================== */

.nav-container {
    width: 100%;
    max-width: 1150px;

    margin: 0 auto;

    padding: 16px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}


/* ========================================
   LOGO
======================================== */

.nav-logo {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-size: 21px;
    font-weight: 800;

    text-decoration: none;
}

.nav-logo i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    color: var(--primary);

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 9px;

    font-size: 16px;

    transition: 0.3s ease;
}

.nav-logo:hover {
    color: var(--primary);
}


/* ========================================
   HIDDEN CHECKBOX
======================================== */

.nav-check {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* ========================================
   HAMBURGER BUTTON
======================================== */

.nav-toggle {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 11px;

    cursor: pointer;

    transition: 0.3s ease;

    position: relative;

    z-index: 10001;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-toggle span {
    width: 20px;
    height: 2px;

    background: #ffffff;

    border-radius: 5px;

    transition: all 0.3s ease;
}


/* ========================================
   HAMBURGER → X
======================================== */

.nav-check:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-check:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-check:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ========================================
   DROPDOWN MENU
======================================== */

.nav-dropdown {
    position: absolute;

    top: calc(100% + 12px);

    right: 25px;

    width: 230px;

    display: flex;

    flex-direction: column;

    gap: 2px;

    padding: 10px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(-10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


/* ========================================
   OPEN MENU
======================================== */

.nav-check:checked ~ .nav-dropdown {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
}


/* ========================================
   MENU LINKS
======================================== */

.nav-dropdown a {
    display: block;

    width: 100%;

    padding: 12px 14px;

    color: #0f172a;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    border-radius: 10px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-dropdown a:hover {
    background: #f1f5f9;

    color: var(--primary);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 750px) {

    .nav-container {
        padding: 15px 20px;
    }

    .nav-dropdown {
        right: 20px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 500px) {

    .nav-container {
        padding: 13px 16px;
    }

    .nav-logo {
        font-size: 19px;
    }

    .nav-logo i {
        width: 34px;
        height: 34px;

        font-size: 15px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .nav-dropdown {
        top: calc(100% + 10px);

        right: 16px;

        width: 220px;
    }

}
/* Because your navbar is fixed, when you jump to a section the navbar can cover the top of that section. Add: */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}


/* ==========================
   ABOUT
========================== */

.about {
    background: #eef4ff;
    color: #475569;
}

.about .section-title h2,
.about-story h3,
.details-title h3,
.strength-item h4 {
    color: #0f172a !important;
}

.about .section-title p,
.about-story p,
.strength-item p,
.detail-label {
    color: #64748b !important;
}


/* ==========================
   PERSONAL DETAILS
========================== */

.personal-details,
.strength-item {
    background: #ffffff;

    border: 1px solid #dbe5f2;

    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.08);
}

.details-title {
    border-bottom: 1px solid #e5edf7;
}

.details-title i,
.detail-label i,
.detail-row a,
.strength-number {
    color: var(--primary);
}

.detail-row {
    border-bottom: 1px solid #edf2f7;
}

.detail-row strong {
    color: #0f172a;
}


/* ==========================
   EDUCATION
========================== */

.education {
    background: #e8f0fc;
    color: #475569;
}

.education .section-title h2,
.education h3,
.education h4,
.education h5 {
    color: #0f172a !important;
}

.education .section-title p,
.education p,
.education-card small,
.education-card span {
    color: #64748b !important;
}

.education-card {
    background: #ffffff;

    border: 1px solid #d6e2f0;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.07);
}

.education-date {
    color: var(--primary);
}


/* ==========================
   PROFESSIONAL EXPERIENCE
========================== */

.experience,
.professional-experience {
    background: #dfeafb;
    color: #475569;
}

.experience .section-title h2,
.professional-experience .section-title h2,
.experience h3,
.experience h4,
.experience h5,
.professional-experience h3,
.professional-experience h4,
.professional-experience h5 {
    color: #0f172a !important;
}

.experience .section-title p,
.professional-experience .section-title p,
.experience p,
.professional-experience p {
    color: #64748b !important;
}

.experience-card,
.experience-item,
.timeline-item {
    background: #ffffff;

    border: 1px solid #d2deef;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.08);
}

.experience-date,
.timeline-date {
    color: var(--primary);
}


/* ==========================
   SKILLS
========================== */

.skills {
    background: #eef4ff;
    color: #475569;
}

.skills .section-title h2,
.skills h3,
.skills h4,
.skills h5 {
    color: #0f172a !important;
}

.skills .section-title p,
.skills p {
    color: #64748b !important;
}

.skill-card {
    background: #ffffff;

    border: 1px solid #dbe5f2;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.07);
}


/* ==========================
   PROJECTS
========================== */

.projects {
    background: #e8f0fc;
    color: #475569;
}

.projects .section-title h2,
.projects h3,
.projects h4,
.projects h5 {
    color: #0f172a !important;
}

.projects .section-title p,
.projects p {
    color: #64748b !important;
}

.project-card {
    background: #ffffff;

    border: 1px solid #d6e2f0;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.07);
}


/* ==========================
   LATEST INSIGHTS
========================== */

.blog,
.latest-insights {
    background: #dfeafb;
    color: #475569;
}

.blog .section-title h2,
.latest-insights .section-title h2,
.blog h3,
.blog h4,
.latest-insights h3,
.latest-insights h4 {
    color: #0f172a !important;
}

.blog .section-title p,
.latest-insights .section-title p,
.blog p,
.latest-insights p {
    color: #64748b !important;
}

.blog-card {
    background: #ffffff;

    border: 1px solid #d2deef;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.08);
}


/* ==========================
   CONTACT
========================== */

.contact {
    background: #e8f0fc;
    color: #475569;
}

.contact .section-title h2,
.contact-info h3 {
    color: #0f172a !important;
}

.contact .section-title p,
.contact-info > p {
    color: #64748b !important;
}

.contact-label {
    color: var(--primary);
}


/* Contact details */

.contact-detail span {
    color: #94a3b8;
}

.contact-detail strong {
    color: #0f172a;
}

.contact-detail a {
    color: var(--primary);
}


/* Contact form */

.contact-form-card {
    background: #ffffff;

    border: 1px solid #d6e2f0;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.08);
}

.form-group label {
    color: #0f172a;
}

.form-group input,
.form-group textarea {
    color: #0f172a;

    background: #f8fbff;

    border: 1px solid #d6e2f0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.10);
}

.contact-submit {
    background: var(--primary);

    color: #ffffff;
}


/* ==========================
   FOOTER
   Keep this consistent with
   your dark navbar
========================== */

footer {
    background: #0f172a;
    color: #94a3b8;
}

.footer-content h3 {
    color: #ffffff;
}

.footer-content p {
    color: #94a3b8;
}

.footer-bottom {
    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #64748b;
}
