/* =========================
   GOOGLE FONT & RESET
========================= */

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

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

body{
    background:#0b1120;
    color:#fff;
    overflow-x:hidden;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0a0f1e 0%, #1a2847 50%, #0f1a35 100%);
    z-index: 10000;
    animation: fadeOutIntro 0.8s ease-out 3s forwards;
}

.intro-content {
    position: relative;
    width: 100%;
    height: 100px;
    text-align: center;
}

.intro-text {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 30px rgba(59, 130, 246, .6), 0 0 60px rgba(34, 211, 238, .3);
}

.intro-namaste {
    animation: introFadeInOut 1.2s ease-in-out 1.2s 1 forwards;
}

.intro-hello {
    animation: introFadeInOut 1.2s ease-in-out 0s 1 forwards;
}

.intro-welcome {
    animation: introFadeInOut 1.2s ease-in-out 2.4s 1 forwards;
}

@keyframes introFadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(12px) scale(0.96);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-12px) scale(0.96);
    }
}

@keyframes fadeOutIntro {
    0% {
        opacity: 1;
        pointer-events: auto;
    }
    99% {
        opacity: 1;
        pointer-events: auto;
    }
    100% {
        opacity: 0;
        pointer-events: none;
    }
}

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

header{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    background:rgba(10,15,30,.75);
    backdrop-filter:blur(12px);
}

.navbar{
    max-width:1200px;
    margin:auto;
    padding:18px 25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:32px;
    font-weight:700;
    color:#fff;
}

.logo span{
    color:#3b82f6;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-links a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
    font-weight:500;
}

.nav-links a:hover{
    color:#3b82f6;
}

.theme-btn{
    font-size:22px;
    cursor:pointer;
}

/* =========================
   HERO
========================= */

.hero{
    max-width:1200px;
    margin:auto;
    min-height:100vh;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:130px 25px 60px;
    position:relative;
}

.hero-text{
    flex:1;
}

.hero-badge {
    display: inline-block;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
    padding: 9px 17px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .12), 0 0 10px rgba(34, 197, 94, .7);
}

.hero-text h4{
    color:#3b82f6;
    font-size:22px;
    margin-bottom:10px;
}

.hero-text h1{
    font-size:62px;
    line-height:1.2;
    margin-bottom:15px;
}

.hero-text h2{
    color:#cbd5e1;
    font-size:28px;
    margin-bottom:20px;
}

.hero-text p{
    color:#94a3b8;
    line-height:1.75;
    margin-bottom:28px;
    max-width:600px;
}

.hero-social-links{
    display:flex;
    gap:14px;
    margin-bottom:24px;
}

.hero-social-links a{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border:1px solid rgba(59,130,246,.45);
    border-radius:50%;
    color:#3b82f6;
    font-size:20px;
    text-decoration:none;
    transition:transform .3s ease,background .3s ease,color .3s ease;
}

.hero-social-links a:hover{
    background:#3b82f6;
    color:#fff;
    transform:translateY(-4px);
}

.hero-buttons{
    display:flex;
    gap:18px;
}

.scroll-down{
    position:absolute;
    left:50%;
    bottom:24px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    color:#94a3b8;
    font-size:11px;
    font-weight:600;
    letter-spacing:2px;
    text-decoration:none;
    transform:translateX(-50%);
    transition:color .3s ease,transform .3s ease;
}

.scroll-down:hover{
    color:#3b82f6;
    transform:translateX(-50%) translateY(-4px);
}

.mouse-icon{
    width:20px;
    height:32px;
    display:flex;
    justify-content:center;
    padding-top:7px;
    border:2px solid currentColor;
    border-radius:12px;
}

.mouse-wheel{
    width:4px;
    height:8px;
    border-radius:4px;
    background:currentColor;
    animation:scrollWheel 1.7s ease-in-out infinite;
}

@keyframes scrollWheel{
    0%,100%{opacity:.35;transform:translateY(0)}
    45%{opacity:1;transform:translateY(9px)}
}

.btn,
.btn2{
    padding:14px 30px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn{
    background:#3b82f6;
    color:#fff;
}

.btn:hover{
    background:#2563eb;
}

.btn2{
    border:2px solid #3b82f6;
    color:#fff;
}

.btn2:hover{
    background:#3b82f6;
}

/* =========================
   HERO IMAGE
========================= */

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:380px;
    height:380px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #3b82f6;
    box-shadow:0 0 40px rgba(59,130,246,.45);
    animation:floatImage 4s ease-in-out infinite;
}

@keyframes floatImage{

0%{
transform:translateY(0);
}

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

100%{
transform:translateY(0);
}

}

/* =========================
   COMMON
========================= */

.section-title{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
    color:#3b82f6;
}

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

.about{
    max-width:1100px;
    margin:100px auto;
    padding:45px;
    background:linear-gradient(135deg, rgba(17,24,39,0.6) 0%, rgba(30,41,59,0.4) 100%);
    border-radius:18px;
    border:1px solid rgba(59,130,246,.2);
}

    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

.about-text {
    flex: 1;
}

.about-text p{
    font-size:18px;
    line-height:1.9;
    color:#cbd5e1;
    margin-bottom: 20px;
}

    .about-highlights {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

.highlight-card {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.highlight-card i {
    font-size: 32px;
    color: #3b82f6;
    margin-bottom: 12px;
}

.highlight-card h4 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 16px;
}

.highlight-card p {
    color: #94a3b8;
    font-size: 14px;
}

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

.skills{
    max-width:1200px;
    margin:100px auto;
    padding:45px 25px;
}

.skills-eyebrow{
    text-align:center;
    color:#94a3b8;
    font-size:16px;
    margin-bottom:4px;
}

.skills .section-title{
    margin-bottom:45px;
}

.skill-container{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:32px;
}

.skill-panel{
    background:linear-gradient(145deg,rgba(17,24,39,.92),rgba(30,41,59,.7));
    border:1px solid rgba(148,163,184,.45);
    border-radius:24px;
    padding:30px 38px 34px;
    transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}

.skill-panel:hover{
    transform:translateY(-6px);
    border-color:rgba(59,130,246,.65);
    box-shadow:0 18px 35px rgba(0,0,0,.2);
}

.skill-panel h3{
    color:#e2e8f0;
    text-align:center;
    font-size:25px;
    margin-bottom:28px;
}

.skill-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 30px;
}

.skill-item{
    display:flex;
    align-items:flex-start;
    gap:13px;
    min-height:68px;
    padding:13px 14px;
    background:rgba(15,23,42,.62);
    border:1px solid rgba(148,163,184,.25);
    border-radius:10px;
    transition:transform .25s ease,border-color .25s ease,background .25s ease;
}

.skill-item:hover{
    transform:translateY(-3px);
    background:rgba(30,41,59,.9);
    border-color:rgba(59,130,246,.65);
}

.skill-item > i{
    color:#3b82f6;
    font-size:22px;
    margin-top:2px;
}

.skill-item strong,
.skill-item span{
    display:block;
}

.skill-item strong{
    color:#f8fafc;
    font-size:16px;
    line-height:1.3;
}

.skill-item span{
    color:#94a3b8;
    font-size:14px;
    margin-top:3px;
}

.about,
.skills,
.education,
.profiles,
.contact{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(59,130,246,.18);
    background-color:#07142d;
    background-image:
        linear-gradient(rgba(56,189,248,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56,189,248,.07) 1px, transparent 1px),
        radial-gradient(circle at 18% 15%, rgba(14,165,233,.14), transparent 28%),
        radial-gradient(circle at 84% 82%, rgba(59,130,246,.12), transparent 30%);
    background-size:46px 46px,46px 46px,auto,auto;
    box-shadow:0 0 40px rgba(14,165,233,.08),inset 0 0 28px rgba(59,130,246,.05);
}

.about > *,
.skills > *,
.education > *,
.profiles > *,
.contact > *{
    position:relative;
    z-index:1;
}

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

.education{
    max-width:1100px;
    margin:100px auto;
    padding:20px;
}

.edu-box{
    background:#111827;
    padding:30px;
    margin-bottom:25px;
    border-left:5px solid #3b82f6;
    border-radius:15px;
}

.edu-box h3{
    margin-bottom:10px;
}

.edu-box p{
    color:#cbd5e1;
}

.edu-box span{
    display:inline-block;
    margin-top:10px;
    color:#3b82f6;
    font-weight:600;
}

/* =========================
   CERTIFICATES & PROJECTS
========================= */

.certificates,
.projects,
.contact{
    max-width:1200px;
    margin:100px auto;
    padding:20px;
}

/* =========================
   CERTIFICATES SECTION
========================= */

/* Section Header */

.cert-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.cert-heading-main {
    font-size: 22px;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.cert-heading-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 auto;
}

.cert-heading-divider span {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0ea5e9, #3b82f6, transparent);
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}

.cert-heading-divider i {
    font-size: 24px;
    color: #3b82f6;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.7));
}

.cert-heading-sub {
    font-size: 46px;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff, #3b82f6, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 18px;
}

/* Certificates Background */

.certificates {
    background: #020b24;
    padding: 45px 18px 38px;
    margin: 100px auto;
    max-width: 1280px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.12), inset 0 0 30px rgba(59, 130, 246, 0.05);
}

.certificates::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.13), transparent 24%),
        radial-gradient(circle at 85% 80%, rgba(34, 211, 238, 0.10), transparent 28%);
    pointer-events: none;
}

.certificates::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(59, 130, 246, 0.07) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(59, 130, 246, 0.07) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(59, 130, 246, 0.07) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(59, 130, 246, 0.07) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    pointer-events: none;
}

/* Main Carousel Wrapper */

.cert-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.cert-main-container {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.55);
    border-radius: 20px;
    padding: 22px 24px 18px;
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.15), inset 0 0 20px rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.3);
    min-height: 430px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.cert-carousel {
    display: flex;
    position: relative;
    width: 100%;
}

.cert-slide {
    display: grid;
    grid-template-columns: 0.52fr 0.48fr;
    gap: 34px;
    align-items: center;
    justify-items: center;
    width: 100%;
    opacity: 0;
    position: absolute;
    inset: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: translateY(16px) scale(0.99);
    z-index: 1;
}

.cert-slide.active {
    opacity: 1;
    position: relative;
    z-index: 2;
    transform: translateY(0) scale(1);
}

/* Certificate Preview (Left Side) */

    .cert-preview {
        display: flex;
        justify-content: center;
        align-items: center;
    height: auto;
    aspect-ratio: 2339 / 1653;
    background: transparent;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 8px;
    box-shadow: none;
    overflow: hidden;
}

.cert-preview img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

.cert-preview iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
}

.cert-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #9ca3af;
}

.cert-placeholder i {
    font-size: 48px;
    color: #d1d5db;
}

.cert-placeholder p {
    font-size: 14px;
    color: #9ca3af;
}

/* Certificate Details (Right Side) */

.cert-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.cert-org-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #38bdf8;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.cert-org-badge i {
    font-size: 15px;
    color: #38bdf8;
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.6));
}

.cert-title {
    font-size: 26px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}

.cert-meta {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    background: transparent;
    color: #38bdf8;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
}

.skill-tag:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.cert-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: white;
    padding: 12px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    border: 2px solid #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
    letter-spacing: 0.5px;
}

.cert-view-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    border-color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6), 0 0 50px rgba(56, 189, 248, 0.35);
}

/* Navigation Buttons */

.cert-nav-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(2, 11, 36, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25), inset 0 0 12px rgba(59, 130, 246, 0.15);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.cert-nav-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff;
    border-color: #38bdf8;
    transform: scale(1.12);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 0 50px rgba(56, 189, 248, 0.4);
}

.cert-nav-btn:active {
    transform: scale(0.96);
}

/* Bottom Navigation */

.cert-nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.cert-dots {
    display: flex;
    gap: 12px;
}

.cert-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.4);
}

.cert-dot.active {
    background: #38bdf8;
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.cert-progress-bar {
    flex: 1;
    min-width: 0;
    height: 6px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.cert-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #0ea5e9);
    width: 25%;
    border-radius: 3px;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

/* Responsive Design */

@media(max-width: 1200px) {
    .cert-main-container {
        padding: 32px;
        min-height: 520px;
    }

    .cert-slide {
        grid-template-columns: 0.55fr 0.45fr;
        gap: 30px;
    }

    .cert-preview {
        height: auto;
    }

    .cert-title {
        font-size: 24px;
    }

    .cert-carousel-wrapper {
        gap: 20px;
    }
}

@media(max-width: 1024px) {
    .certificates {
        padding: 60px 20px;
        margin: 80px auto;
    }

    .cert-section-header {
        margin-bottom: 40px;
    }

    .cert-heading-main {
        font-size: 32px;
    }

    .cert-heading-sub {
        font-size: 38px;
    }

    .cert-main-container {
        padding: 35px;
    }

    .cert-slide {
        grid-template-columns: 0.55fr 0.45fr;
        gap: 25px;
    }

    .cert-preview {
        height: auto;
    }
}

@media(max-width: 768px) {
    .cert-carousel-wrapper {
        flex-direction: column;
        gap: 25px;
    }

    .cert-main-container {
        padding: 30px;
        min-height: auto;
    }

    .cert-slide {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cert-preview {
        height: auto;
        order: -1;
    }

    .cert-title {
        font-size: 22px;
    }

    .cert-meta {
        font-size: 14px;
    }

    .skill-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .cert-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .cert-nav-bottom {
        flex-direction: column;
        gap: 25px;
    }

    .cert-progress-bar {
        flex: none;
        width: 100%;
    }
}

@media(max-width: 480px) {
    .certificates {
        padding: 40px 15px;
        margin: 60px auto;
        border-radius: 20px;
    }

    .cert-section-header {
        margin-bottom: 30px;
    }

    .cert-heading-main {
        font-size: 26px;
    }

    .cert-heading-divider {
        gap: 10px;
        margin: 15px 0;
    }

    .cert-heading-divider span {
        flex: 0 0 40px;
    }

    .cert-heading-divider i {
        font-size: 24px;
    }

    .cert-heading-sub {
        font-size: 26px;
    }

    .cert-main-container {
        padding: 20px;
    }

    .cert-slide {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-preview {
        height: auto;
    }

    .cert-org-badge {
        font-size: 12px;
    }

    .cert-title {
        font-size: 18px;
    }

    .cert-meta {
        font-size: 13px;
    }

    .cert-skills {
        gap: 8px;
    }

    .skill-tag {
        font-size: 11px;
        padding: 5px 10px;
    }

    .cert-view-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .cert-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .cert-carousel-wrapper {
        gap: 15px;
    }

    .cert-progress-bar {
        flex: none;
        width: 100%;
    }
}

.certificate-container,
.project-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.project-card{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:30px;
    transition:.35s;
}

.certificate-card:hover,
.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(59,130,246,.35);
}

.certificate-card h3,
.project-card h3{
    color:#3b82f6;
    margin-bottom:12px;
}

.project-card p {
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:20px;
}

.certificate-card .btn,
.project-card a{
    display:inline-block;
    padding:12px 22px;
    border-radius:8px;
    background:#3b82f6;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.certificate-card .btn:hover,
.project-card a:hover{
    background:#2563eb;
}

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

.contact-box{
    max-width:750px;
    margin:auto;
    background:#111827;
    padding:35px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
}

.contact-box p{
    margin:18px 0;
    font-size:18px;
    color:#cbd5e1;
}

.contact-box i{
    color:#3b82f6;
    width:30px;
}

.contact-box a{
    color:#3b82f6;
    text-decoration:none;
}

footer{
    margin-top:100px;
    background:linear-gradient(135deg, rgba(17,24,39,0.9) 0%, rgba(10,15,30,0.95) 100%);
    border-top:1px solid rgba(59,130,246,.2);
    padding:50px 25px 25px;
    color:#94a3b8;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #3b82f6;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

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

.project-card{
    background:linear-gradient(135deg, rgba(17,24,39,0.8) 0%, rgba(30,41,59,0.6) 100%);
    border:1px solid rgba(59,130,246,.2);
    border-radius:18px;
    padding:30px;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.project-card:hover{
    transform:translateY(-12px);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow:0 10px 35px rgba(59,130,246,.25);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card h3{
    color:#3b82f6;
    margin-bottom:15px;
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.project-card p{
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:20px;
    position: relative;
    z-index: 1;
}

/* ===== Tech Stack ===== */

.tech-stack{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
}

.tech-stack span{
    background:#1e293b;
    color:#3b82f6;
    padding:6px 12px;
    border-radius:20px;
    font-size:14px;
    font-weight:600;
}

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

.project-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.project-buttons .btn,
.project-buttons .btn2{
    padding:10px 22px;
}

/* =========================
   CODING PROFILES
========================= */

.profiles{
    max-width:1200px;
    margin:100px auto;
    padding:20px;
}

.profile-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.profile-card{
    background:#111827;
    border-radius:18px;
    padding:30px;
    text-align:center;
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;
}

.profile-card:hover{
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(59,130,246,.35);
}

.profile-card i{
    font-size:50px;
    color:#3b82f6;
    margin-bottom:20px;
}

.profile-card h3{
    margin-bottom:15px;
    color:#fff;
}

.profile-card p{
    color:#cbd5e1;
    line-height:1.7;
    margin-bottom:20px;
}

.profile-card .btn{
    display:inline-block;
}

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

.contact{
    max-width:1200px;
    margin:100px auto;
    padding:20px;
}

.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:start;
}

.contact-info,
.contact-form{
    background:linear-gradient(135deg, rgba(17,24,39,0.8) 0%, rgba(30,41,59,0.6) 100%);
    padding:35px;
    border-radius:18px;
    border:1px solid rgba(59,130,246,.2);
    transition: all 0.3s ease;
}

.contact-info:hover,
.contact-form:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.contact-info h3{
    font-size:28px;
    margin-bottom:20px;
    color:#3b82f6;
}

.contact-info p{
    color:#cbd5e1;
    line-height:1.8;
    margin-bottom:15px;
}

.contact-info i{
    color:#3b82f6;
    margin-right:10px;
    width: 24px;
    text-align: center;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    margin-bottom:18px;
    border:1px solid rgba(59,130,246,.2);
    outline:none;
    border-radius:10px;
    background:rgba(30,41,59,0.5);
    color:#fff;
    font-size:16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    background:rgba(30,41,59,0.7);
}

.contact-form textarea{
    resize:none;
}

.contact-form button{
    width:100%;
    cursor:pointer;
}

/* Mobile Responsive */

@media(max-width:768px){

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

}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media(max-width: 1024px) {
    .hero {
        gap: 40px;
        padding: 120px 20px 50px;
    }

    .hero-image img {
        width: 320px;
        height: 320px;
    }

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

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

@media(max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 110px 20px 40px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image img {
        width: 280px;
        height: 280px;
    }

    .about {
        padding: 30px;
    }

    .skills {
        padding: 35px 20px;
    }

    .skill-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .skill-panel {
        padding: 26px 25px 30px;
    }

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

        .about-highlights {
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

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

    .section-title {
        font-size: 36px;
        margin-bottom: 35px;
    }

    .skill-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .skill-list {
        gap: 24px 20px;
    }

    .skill-panel h3 {
        font-size: 22px;
    }

    .edu-box {
        padding: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 15px;
    }

    .project-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

        .profile-container {
            grid-template-columns: 1fr 1fr;
            gap: 18px;
        }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .certificate-wrapper {
        gap: 15px;
    }
}

@media(max-width: 480px) {
    .navbar {
        padding: 15px;
    }

    .logo {
        font-size: 26px;
    }

    .nav-links {
        gap: 15px;
        font-size: 13px;
    }

    .hero {
        padding: 100px 15px 30px;
    }

    .hero-text h1 {
        font-size: 36px;
        line-height: 1.3;
    }

    .hero-text h2 {
        font-size: 18px;
    }

    .hero-text h4 {
        font-size: 16px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn,
    .btn2 {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .hero-image img {
        width: 240px;
        height: 240px;
        border-width: 4px;
    }

    .about {
        padding: 20px;
        margin: 60px auto;
    }

    .about-text p {
        font-size: 14px;
        margin-bottom: 15px;
    }

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

    .highlight-card {
        padding: 18px;
    }

    .highlight-card i {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .skill-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .skill-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .skill-panel {
        padding: 24px 20px 26px;
    }

    .education {
        margin: 60px auto;
        padding: 15px;
    }

    .edu-box {
        padding: 15px;
        margin-bottom: 15px;
    }

    .edu-box h3 {
        font-size: 16px;
    }

    .certificates {
        margin: 60px auto;
        padding: 15px;
    }

    .contact {
        margin: 60px auto;
        padding: 15px;
    }

    .contact-info h3 {
        font-size: 22px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 11px;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .projects {
        margin: 60px auto;
        padding: 15px;
    }

    .project-container {
        gap: 15px;
    }

    .project-card {
        padding: 20px;
    }

    .project-card h3 {
        font-size: 16px;
    }

    .project-card p {
        font-size: 13px;
    }

    .tech-stack {
        gap: 8px;
        margin-bottom: 15px;
    }

    .tech-stack span {
        font-size: 12px;
        padding: 4px 10px;
    }

    .project-buttons {
        gap: 10px;
    }

    .project-buttons .btn,
    .project-buttons .btn2 {
        padding: 8px 15px;
        font-size: 12px;
    }

    .profiles {
        margin: 60px auto;
        padding: 15px;
    }

    .profile-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .profile-card {
        padding: 20px;
    }

    .profile-card i {
        font-size: 40px;
    }

    footer {
        padding: 35px 15px 15px;
        margin-top: 60px;
    }

    .footer-content {
        gap: 20px;
        margin-bottom: 25px;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-section p {
        font-size: 13px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 15px;
    }

    .intro-text {
        font-size: 48px;
        letter-spacing: 1px;
    }
}

/* =========================
   CYBER SECURITY PROJECTS BACKGROUND
========================= */

.projects {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.22), transparent 22%),
        radial-gradient(circle at 80% 78%, rgba(34, 211, 238, 0.18), transparent 28%),
        linear-gradient(135deg, #020817 0%, #071a36 42%, #030b1a 100%);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 24px;
    box-shadow: inset 0 0 28px rgba(59, 130, 246, 0.12);
}

.projects::before {
    content: "";
    position: absolute;
    inset: -25% -15% auto auto;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 62%);
    pointer-events: none;
}

.projects .section-title,
.projects .project-container {
    position: relative;
    z-index: 2;
}

.projects .project-card {
    background: rgba(2, 12, 35, 0.76);
    border: 1px solid rgba(34, 211, 238, 0.38);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow:
        0 0 18px rgba(59, 130, 246, 0.10),
        inset 0 0 18px rgba(34, 211, 238, 0.04);
    transition: 0.35s ease;
}

.projects .project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(103, 232, 249, 0.9);
    box-shadow:
        0 0 25px rgba(56, 189, 248, 0.22),
        0 0 50px rgba(34, 211, 238, 0.10);
}

.projects .project-card h3 {
    color: #7dd3fc;
}

.projects .tech-stack span {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(103, 232, 249, 0.28);
    color: #a5f3fc;
}

/* =========================
   LIGHT MODE
========================= */

body.light-mode {
    background: #f1f5f9;
    color: #0f172a;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.85);
}

body.light-mode .logo,
body.light-mode .nav-links a,
body.light-mode .skill-card h3,
body.light-mode .profile-card h3 {
    color: #0f172a;
}

body.light-mode .hero-text h2,
body.light-mode .hero-text p,
body.light-mode .about p,
body.light-mode .edu-box p,
body.light-mode .certificate-card p,
body.light-mode .project-card p,
body.light-mode .profile-card p,
body.light-mode .contact-info p {
    color: #475569;
}

body.light-mode .about,
body.light-mode .skills,
body.light-mode .education,
body.light-mode .certificates,
body.light-mode .projects,
body.light-mode .profiles,
body.light-mode .contact,
body.light-mode .contact-info,
body.light-mode .contact-form,
body.light-mode .skill-panel,
body.light-mode .edu-box,
body.light-mode .profile-card,
body.light-mode .highlight-card,
body.light-mode .project-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.light-mode .hero-badge {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(59, 130, 246, 0.2);
    color: #334155;
}

body.light-mode .hero-text h2,
body.light-mode .hero-text p,
body.light-mode .about p,
body.light-mode .edu-box p,
body.light-mode .certificate-card p,
body.light-mode .project-card p,
body.light-mode .profile-card p,
body.light-mode .contact-info p,
body.light-mode .section-title,
body.light-mode .about-text p,
body.light-mode .highlight-card p,
body.light-mode .skill-item span,
body.light-mode .tech-stack span,
body.light-mode .footer-section p,
body.light-mode .footer-links a,
body.light-mode .footer-bottom {
    color: #475569;
}

body.light-mode .highlight-card h4,
body.light-mode .skill-panel h3,
body.light-mode .profile-card h3,
body.light-mode .footer-section h4,
body.light-mode .cert-title,
body.light-mode .edu-box h3,
body.light-mode .project-card h3,
body.light-mode .logo,
body.light-mode .nav-links a,
body.light-mode .skill-item strong {
    color: #0f172a;
}

body.light-mode .skill-item {
    background: #f8fafc;
    border-color: #dbeafe;
}

body.light-mode .skill-item strong {
    color: #0f172a;
}

body.light-mode .about,
body.light-mode .skills,
body.light-mode .education,
body.light-mode .projects,
body.light-mode .contact,
body.light-mode .profiles {
    background-image:
        linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px),
        radial-gradient(circle at 18% 15%, rgba(14,165,233,0.08), transparent 28%),
        radial-gradient(circle at 84% 82%, rgba(59,130,246,0.08), transparent 30%);
    border-color: rgba(59, 130, 246, 0.18);
}

/* Light Mode - Certificate Carousel */

body.light-mode .certificates {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

body.light-mode .certificates::before {
    background-image: 
        linear-gradient(45deg, rgba(3, 105, 161, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(3, 105, 161, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(3, 105, 161, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(3, 105, 161, 0.05) 75%);
}

body.light-mode .cert-heading-main {
    color: #0f172a;
}

body.light-mode .cert-heading-sub {
    color: #0f172a;
    background: none;
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-mode .cert-org-badge {
    color: #0369a1;
    text-shadow: none;
}

body.light-mode .cert-title {
    text-shadow: none;
}

body.light-mode .skill-tag {
    text-shadow: none;
}

body.light-mode .cert-view-btn {
    box-shadow: 0 4px 14px rgba(3, 105, 161, 0.25);
}

body.light-mode .cert-main-container {
    background: #ffffff;
    border-color: rgba(3, 105, 161, 0.2);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
}

body.light-mode .cert-preview {
    background: #f3f4f6;
    border-color: #d1d5db;
}

body.light-mode .cert-title {
    color: #0f172a;
}

body.light-mode .cert-meta {
    color: #4b5563;
}

body.light-mode .skill-tag {
    background: #cffafe;
    color: #0369a1;
}

body.light-mode .cert-nav-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0369a1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

body.light-mode .cert-nav-btn:hover {
    background: #0369a1;
    color: white;
    border-color: #0369a1;
    box-shadow: 0 8px 24px rgba(3, 105, 161, 0.3);
}

body.light-mode .cert-dot {
    background: #cbd5e1;
}

body.light-mode .cert-dot.active {
    background: #0369a1;
}

body.light-mode .cert-progress-bar {
    background: #cbd5e1;
}

body.light-mode .cert-progress-fill {
    background: linear-gradient(90deg, #0369a1, #0ea5e9);
}

body.light-mode .cert-view-btn {
    background: #0369a1;
    border-color: #0369a1;
}

body.light-mode .cert-view-btn:hover {
    background: #025a82;
    border-color: #025a82;
    box-shadow: 0 8px 20px rgba(3, 105, 161, 0.3);
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
    background: #e2e8f0;
    color: #0f172a;
}

body.light-mode footer {
    background:#e2e8f0;
    color:#475569;
    border-top-color: rgba(59, 130, 246, 0.3);
}

body.light-mode .footer-section h4 {
    color: #0369a1;
}

body.light-mode .footer-section p,
body.light-mode .footer-links a,
body.light-mode .footer-bottom {
    color: #475569;
}

body.light-mode .footer-links a:hover {
    color: #0369a1;
}

body.light-mode .social-links a {
    background: rgba(3, 105, 161, 0.15);
    border-color: rgba(3, 105, 161, 0.3);
    color: #0369a1;
}

body.light-mode .social-links a:hover {
    background: #0369a1;
    color: #fff;
}

body.light-mode .projects {
    background:
        radial-gradient(circle at 12% 18%, rgba(34, 211, 238, 0.20), transparent 22%),
        linear-gradient(135deg, #e0f2fe 0%, #f8fafc 55%, #cffafe 100%);
}

body.light-mode .projects .project-card {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(8, 145, 178, 0.35);
}

body.light-mode .projects .project-card p {
    color: #334155;
}

body.light-mode .tech-stack span {
    background: #e0f2fe;
    color: #0369a1;
}

body.light-mode .btn2 {
    color: #0f172a;
    border-color: #3b82f6;
}

body.light-mode .btn2:hover {
    color: #ffffff;
}
