:root {
  --bg-main: #050505;
  --bg-soft: #0b0f19;
  --bg-card: #111827;
  --text-main: #ffffff;
  --text-muted: #b8c0cc;
  --accent: #00d9ff;
  --accent-dark: #00a8cc;
  --border-color: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
}

.hero-section {
    background:
        radial-gradient(
            circle at top left,
            rgba(0, 217, 255, 0.12),
            transparent 45%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(0, 217, 255, 0.05),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #050505 0%,
            #0b0f19 100%
        );
}

.hero-label,
.section-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero-title {
  line-height: 1.05;
  font-weight: 800;
  color: var(--text-main);
}

.hero-description,
.section-description {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 720px;
}

.btn-primary-custom {
  background: var(--accent);
  color: #000;
  border: 1px solid var(--accent);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  transition: all 0.25s ease;
}

.btn-primary-custom:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #000;
  transform: translateY(-2px);
}

.btn-outline-custom {
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  transition: all 0.25s ease;
}

.btn-outline-custom:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-highlights span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.profile-card {
    max-width: 390px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.03)
        );

    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 1.25rem;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(0, 217, 255, 0.08);

    backdrop-filter: blur(10px);

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


.profile-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.35);
}

.profile-image {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.profile-card-content p {
  color: var(--text-muted);
}

.section-padding {
  padding: 4rem 0;
}

.intro-section,
.projects-section,
.why-section {
  background: var(--bg-main);
}

.skills-section,
.services-section,
.blog-section {
  background: var(--bg-soft);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.feature-card,
.skill-card,
.project-card,
.service-card,
.why-card,
.blog-card,
.timeline-card,
.resume-stat-card,
.resume-info-card,
.learning-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 1.6rem;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.feature-card:hover,
.skill-card:hover,
.project-card:hover,
.service-card:hover,
.why-card:hover,
.blog-card:hover,
.timeline-card:hover,
.resume-stat-card:hover,
.learning-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, 0.45);
    box-shadow:
        0 15px 40px rgba(0, 217, 255, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.12);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.feature-card h4,
.skill-card h4,
.project-card h4,
.service-card h4,
.why-card h4,
.blog-card h4 {
  color: var(--text-main);
  font-weight: 750;
  margin-bottom: 0.85rem;
}

.feature-card p,
.project-card p,
.service-card p,
.why-card p,
.blog-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-card li {
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.skill-card li:last-child {
  border-bottom: 0;
}

.placeholder-image {
  min-height: 190px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.18), rgba(255, 255, 255, 0.04)),
    #080c14;
  border: 1px solid var(--border-color);
  color: var(--accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.project-card {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-content {
  padding: 0.4rem 0.4rem 0.8rem;
  flex-grow: 1;
}
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tech-stack span {
  background: rgba(0, 217, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 217, 255, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
}

.card-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.card-link:hover {
  color: var(--accent-dark);
}

.blog-meta {
  color: var(--accent) !important;
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-section {
  background: var(--bg-main);
}

.cta-box {
  background:
    radial-gradient(circle at top, rgba(0, 217, 255, 0.15), transparent 40%),
    var(--bg-card);
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: 30px;
  padding: 3rem 2rem;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-box p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #050505 !important;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-navbar {
    background: #050505 !important;
    min-height: 76px;
    padding: 0.75rem 0;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #050505;
    z-index: -1;
}

.site-brand {
    color: var(--text-main);
    text-decoration: none;
}

/* SVG Logo Styling */
.brand-logo {
    display: inline-flex;
    align-items: center;
    color: var(--text-main);
}

.brand-logo svg {
    max-width: 220px;
    height: auto;
    display: block;
}

/* Use this only if your SVG color needs to become white/cyan */


.site-brand:hover .brand-logo {
    color: var(--accent);
}

.portfolio-nav-links {
    gap: 0.35rem;
}

.portfolio-nav-links .nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0.85rem !important;
    border-radius: 999px;
}

.portfolio-nav-links .nav-link:hover {
    color: var(--accent) !important;
    background: rgba(0, 217, 255, 0.08);
}

.portfolio-nav-links .nav-link.active {
    color: var(--accent) !important;
    background: rgba(0, 217, 255, 0.1);
}

.navbar-cta {
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
}

.custom-toggler {
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.65rem;
}

.custom-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(0, 217, 255, 0.25);
}

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

.site-footer {
    background:
        radial-gradient(circle at top left, rgba(0, 217, 255, 0.08), transparent 30%),
        var(--bg-soft);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 0;
}

.site-footer a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
}

.site-footer a:hover {
    color: var(--accent) !important;
}

.footer-brand {
    color: var(--text-main) !important;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-brand:hover {
    color: var(--text-main) !important;
}

.footer-brand span {
    color: var(--accent);
}

.footer-text {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 420px;
}

.footer-heading {
    color: var(--text-main);
    font-weight: 750;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent) !important;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social a:hover {
    color: #000 !important;
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.9rem;
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 1.4rem 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   RESUME PAGE
========================================= */

.resume-hero-section {
    background:
        radial-gradient(circle at top left,
        rgba(0, 217, 255, 0.12),
        transparent 35%),
        linear-gradient(135deg, #050505 0%, #0b0f19 100%);
}

.resume-role {
    font-size: 1.45rem;
    color: var(--accent);
    font-weight: 700;
    line-height: 1.5;
}

.resume-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
}

/* =========================================
   RESUME STATS
========================================= */

.resume-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 1.5rem;
    min-height: 180px;
    transition: all 0.25s ease;
}

.resume-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 255, 0.35);
}

.resume-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.resume-stat-text {
    color: var(--text-muted);
    font-weight: 600;
}

/* =========================================
   EXPERIENCE TIMELINE
========================================= */

.resume-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.resume-timeline::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(0, 217, 255, 0.18);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 14px;
    top: 24px;
    border: 4px solid #050505;
    z-index: 2;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.25s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, 0.35);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.timeline-header h4 {
    color: var(--text-main);
    font-weight: 750;
    margin-bottom: 0.35rem;
}

.timeline-header h5 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.92rem;
    white-space: nowrap;
}

.timeline-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.timeline-list {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.timeline-list li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* =========================================
   EDUCATION & LEARNING
========================================= */

.resume-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
}

.education-item h4,
.certification-item h4,
.learning-card h4 {
    color: var(--text-main);
    font-weight: 750;
    margin-bottom: 0.5rem;
}

.education-item h5,
.certification-item h5 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.education-date {
    color: var(--text-muted);
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.education-item p,
.learning-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.learning-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.25s ease;
}

.learning-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, 0.35);
}

/* CONTACT PAGE */

.contact-form-card{
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    
}

.contact-form-card input,
.contact-form-card textarea {
    color-scheme: dark;
    box-shadow: 0 0 0 1000px var(--bg-card) inset !important;
    -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset !important;
}


.contact-form-card select,
.contact-form-card textarea{
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus{
    outline: none;
    border-color: var(--accent);
    box-shadow: none;
}

.contact-benefits{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.contact-benefits li{
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: var(--text-muted);
}

.contact-benefits li:last-child{
    border-bottom: none;
}

/* =========================================
   CONTACT FORM FIXES
========================================= */

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: var(--text-muted);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent);
    color: var(--text-main);
    box-shadow: 0 0 0 0.15rem rgba(0, 217, 255, 0.15);
}

/* Select Dropdown */

.contact-form-card select {
    background-color: var(--bg-card);
    color: var(--text-main);
}

/* Dropdown options */

.contact-form-card select option {
    background: var(--bg-card);
    color: var(--text-main);
}

/* Django validation errors */

.contact-form-card .errorlist {
    list-style: none;
    padding-left: 0;
    margin-top: 0.4rem;
    margin-bottom: 0;
    color: #ff6b6b;
    font-size: 0.9rem;
}

/* Labels */

.contact-form-card .form-label {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Success Alert */

.alert-success {
    background: rgba(25, 135, 84, 0.15);
    border: 1px solid rgba(25, 135, 84, 0.35);
    color: #75e6a4;
    border-radius: 14px;
}

select option {
    background: black;
}

.contact-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.contact-link:hover {
    color: var(--accent);
}

/* =========================
   SUCCESS MESSAGE
========================= */

.custom-alert-success {
    background:
        linear-gradient(
            135deg,
            rgba(0, 217, 255, 0.12),
            rgba(0, 217, 255, 0.04)
        );

    border: 1px solid rgba(0, 217, 255, 0.25);

    border-radius: 18px;

    padding: 1.25rem;
}

.custom-alert-success i {
    color: var(--accent);
    font-size: 1.4rem;
}

.custom-alert-success h5 {
    color: var(--text-main);
    font-weight: 700;
}

.custom-alert-success p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.tech-stack span {
    cursor: pointer;
}

.tech-stack span:hover {
    transform: translateY(-2px);
}

.project-image{
    overflow:hidden;
    border-radius:18px 18px 0 0;
}

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

.project-card:hover .project-image img{
    transform:scale(1.03);
}

.blog-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;

    margin: 2rem auto;

    border-radius: 16px;

    border: 1px solid rgba(255,255,255,.08);

    box-shadow: 0 15px 40px rgba(0,0,0,.35);

}

.blog-content p{

    color: var(--text-muted);

    font-size:1.08rem;

    line-height:1.9;

    margin-bottom:1.5rem;    
}

.blog-content ul,
.blog-content ol{

    padding-left:1.5rem;

    margin-bottom:1.5rem;
}

.blog-content li{

    color:var(--text-muted);

    margin-bottom:.7rem;
}

.blog-content blockquote{

    border-left:4px solid var(--accent);

    padding:1rem 1.5rem;

    background:rgba(255,255,255,.03);

    margin:2rem 0;

    border-radius:10px;

    color:var(--text-muted);

    font-style:italic;
}

.blog-content a{

    color:var(--accent);

    text-decoration:none;
}

.blog-content a:hover{

    text-decoration:underline;
}

/*=========================================
BLOG META
=========================================*/

.blog-meta{

    display:flex;

    flex-wrap:wrap;

    gap:1rem;

    margin-top:2rem;

    padding-top:1.5rem;

    border-top:1px solid rgba(255,255,255,.08);
}

.meta-item{

    display:flex;

    align-items:center;

    gap:.6rem;

    padding:.75rem 1rem;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.06);

    border-radius:12px;

    color:var(--text-muted);

    font-size:.95rem;
}

.meta-item i{

    color:var(--accent);

    font-size:1.1rem;
}

/*=========================================
BLOG TAGS
=========================================*/

.blog-tags{

    margin-top:4rem;

    padding-top:2rem;

    border-top:1px solid rgba(255,255,255,.08);
}

.blog-section-title{

    color:var(--text-main);

    font-size:1.1rem;

    font-weight:600;

    margin-bottom:1rem;
}

.tags-list{

    display:flex;

    flex-wrap:wrap;

    gap:.75rem;
}

.tag-pill{

    padding:.6rem 1rem;

    border-radius:999px;

    background:rgba(0,217,255,.08);

    border:1px solid rgba(0,217,255,.18);

    color:var(--accent);

    font-size:.9rem;

    font-weight:500;

    transition:.3s ease;
}

.tag-pill:hover{

    background:rgba(0,217,255,.15);

    transform:translateY(-2px);
}

