/********** Template CSS **********/
:root {
    --primary: #6244C5;
    --secondary: #FFC448;
    --light: #FAFAFB;
    --dark: #12141D;
    --primary-purple: #A147A1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}



/* ==== New Navbar Styling ====*/
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top, #1a0f2e, #05010a);
    color: #fff;
    overflow-x: hidden;

}

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

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

.logo img {
    height: 6rem;
    width: auto;
}
.custom-navbar {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}
.logo{
    font-size:2rem;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 100px;
}

.nav-link {
    color: #cfcfd3 !important;
    margin: 0 10px;
    position: relative;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-purple)  !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}



/* Hover effect – NO PURPLE */
.social-icons a:hover {
    background-color: #2a2a40; /* slight hover bg */
    color: #ffffff; /* icon stays neutral */
}

/* ===== HERO SECTION ===== */
/* .hero-section {
    min-height: 100vh;
    
    padding-top: 0px;
} */

/* change for i'am name */
.hero-section {
    padding-top: 30px !important;
    min-height: auto;
  }



.intro-text {
    color: var(--primary-purple);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
}
/* === Hero subtitle ====*/
.typewriter-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:8px;
    margin-top: 8px;
}

.purple-line{
    width: 5px;
    height: 3px;
    background-color:var(--primary-purple);
}
#typewriter-text{
    font-size:18px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
}



.hero-desc {
    color: #cfcfd3;
    line-height: 1.7;
}


/* STATS */
.stats h3 {

    padding-right: 10px;
    color: var(--primary-purple);
    font-weight: 700;
}

.stats p {
    font-size: 1rem;
    color: #aaa;
}

/* BUTTONS */
.hero-buttons .btn-primary {
    background: var(--primary-purple);
    border: none;
    padding: 12px 28px;
    transition: 0.3s;
}

.hero-buttons .btn-primary:hover {
    /* transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-purple); */
}

.hero-buttons .btn-outline-light {
    padding: 12px 28px;
}

/* TAGS */
.tags span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 5px 5px 0 0;
}

/* ===== PROFILE IMAGE ===== */
.profile-card {
    position: relative;
    display: inline-block;
}

.profile-img {
    max-height: 520px;
    filter: drop-shadow(0 0 40px rgba(211, 106, 214, 0.3));
    animation: float 4s ease-in-out infinite;
}

/* FLOATING BADGES */
.badge-box {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.top-badge {
    top: 15%;
    right: -10%;
}

.bottom-badge {
    bottom: 15%;
    left: -10%;
}

.badge-box strong {
    display: block;
    color: var(--primary-purple);
}

/* ANIMATION */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .profile-img {
        max-height: 380px;
    }

    .top-badge,
    .bottom-badge {
        display: none;
    }
}
.custom-navbar {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.navbar-brand {
    color: #fff !important;
}

.nav-link {
    color: #cfcfd3 !important;
}

.nav-link:hover {
    color: var(--primary-purple) !important;
}
/* ===== FORCE NAVBAR VISIBILITY ===== */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;   /* stays above everything */
}

/* Background */
.custom-navbar {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(12px);
}

/* Brand */
.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.7rem;
}

/* Nav links */
.navbar-nav .nav-link {
    color: #ffffff !important;
    opacity: 0.85;
    margin: 0 12px;
    transition: all 0.3s ease;
}

/* Hover + Active */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-purple)!important;
    opacity: 1;
}

/* Underline animation */
.navbar-nav .nav-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    margin: auto;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Social icons */
.social-icons a {
    color: #ffffff;
    /* margin-left: 15px; */
    font-size: 1rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--primary-purple);
}

/* Fix content hidden behind navbar */
body {
    padding-top: 90px;
}

/* Mobile navbar */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}
nav { display: block !important; }
/* ===== COMPACT NAVBAR ===== */
.navbar {
    padding: 8px 0 !important;   /* reduced height */
}

/* Brand smaller */
.navbar-brand {
    font-size: 1.3rem;
    padding: 0;
}

/* Nav links smaller */
.navbar-nav .nav-link {
    font-size: 1.85rem;
    margin: 0 10px;
    padding: 6px 0;
}

/* Underline closer */
.navbar-nav .nav-link::after {
    height: 2px;
    margin-top: 4px;
}

/* Social icons smaller */
.social-icons a {
    font-size: 0.9rem;
}

/* Mobile toggler smaller */
.navbar-toggler {
    padding: 4px 6px;
}

/* Adjust body padding */
body {
    /* padding-top: 70px; */
      /* match new navbar height */
}
/* Nav links 20% smaller */
.navbar-nav .nav-link {
    font-size: 1rem;   /* ~20% smaller */
    margin: 0 8px;
    padding: 5px 0;
    letter-spacing: 0.5px;
}
/* ===== HERO STATS REFINEMENT ===== */
.stats h3 {
    font-size: 2.6rem !important;   /* bigger number */
    font-weight: 800;
    margin-bottom: 4px;
}

.stats p {
    /* font-size: 0.75rem !important;  smaller text */
    letter-spacing: 0.5px;
    color: #b0b0c3;
}
/* Reduce spacing above name */
.intro-text {
    margin-bottom: 10px !important;
}

.hero-title {
    margin-top: 0 !important;
}
.hero-section {
    padding-top: 80px !important; /* reduced from large gap */
}
.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.purple-line {
    width: 42px;
    height: 2px;
    background: var(--primary-purple);
}

.typed-text-output {
    font-size: 1.7rem;
    font-weight: 600;
    min-height: 1.8em;
}

.typed-cursor {
    color: var(--primary-purple);
    font-size: 1.6rem;
}
 .typewriter-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    margin-left: 0px;
  }

  .purple-line {
    width: 30px;
    height: 3px;
    background-color: #A147A1;
    border-radius: 20px;
  }
  #typewriter-text {
    color:#fff;
    font-size: 30px;
    font-weight: 500;
 min-width: 19ch;   /* 👈 prevents layout shift */
  text-align: left;
  white-space: nowrap;
  }



/* ===== EXPERIENCE SECTION ===== */
.experience-section {
    padding: 120px 0;
    background: radial-gradient(circle at top left, #1a0f2e, #05010a);
    position: relative;
    overflow: hidden;
}

.experience-content {
    color: #fff;
}

/* 15 Years Block */
.exp-years {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.exp-number {
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    line-height: 1;
}

.exp-text h4 {
    padding-top: 30px;
    margin:0;
    font-weight: 800;
}

.exp-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #b9b9c5;
}

/* Title */
.exp-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 25px 0;
    line-height: 1.4;
}

/* Description */
.exp-desc {
    color: #cfcfd3;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Points */
.exp-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 25px 0;
}

.exp-points span {
    font-size: 0.9rem;
    color: #e0e0ea;
}

.exp-points i {
    color: var(--primary-purple);
    margin-right: 8px;
}

/* Button */
.exp-btn {
    background: var(--primary-purple);
    border: none;
    padding: 12px 28px;
    font-size: 0.9rem;
}

/* ===== IMAGE STACK ===== */
.image-stack {
    position: relative;
    width: 100%;
    height: 500px;
}

/* Cards */
.image-card {
    position: absolute;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* First Image */
.image-one {
    width: 300px;
    height: 380px;
    top: 40px;
    left: 0;
}

/* Second Image */
.image-two {
    width: 300px;
    height: 380px;
    bottom: 0;
    right: 0;
}

/* ===== GLOW SHAPES ===== */
.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: -1;
}

.glow-1 {
    width: 200px;
    height: 200px;
    background:var(--primary-purple);
    top: 20%;
    left: 10%;
}

.glow-2 {
    width: 250px;
    height: 250px;
    background: var(--primary-purple);
    bottom: 10%;
    right: 10%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .image-stack {
        height: 420px;
        margin-top: 50px;
    }

    .image-one,
    .image-two {
        position: relative;
        width: 100%;
        height: 260px;
        top: 0;
        left: 0;
        right: 0;
        margin-bottom: 20px;
    }

    .exp-points {
        grid-template-columns: 1fr;
    }
}


/* ===== BLOGS SECTION ===== */
.blogs-section {
    padding: 100px 0;
    background: #06010d;
}

.section-title {
    color: #fff;
    font-weight: 700;
}

.blog-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.blog-slider::-webkit-scrollbar {
    display: none;
}

.blog-card {
    min-width: 300px;
    max-width: 300px;
    background: #0e0718;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content small {
    color: #b48bd6;
    font-size: 0.7rem;
}

.blog-content h5 {
    color: #fff;
    margin: 10px 0;
}

.blog-content p {
    color: #bdbdd1;
    font-size: 0.85rem;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: #fff;
    border: 1px solid #333;
    padding: 6px 14px;
}

/* Slider buttons */
.slider-controls {
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
}

.slider-btn.active {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}


/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 100px 0;
    background: #06010d;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    color: #fff;
    font-weight: 700;
}

/* Filters */
.project-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 14px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background:var(--primary-purple);
    border-color: var(--primary-purple);
}

/* Masonry Grid */
.projects-grid {
    column-count: 3;
    column-gap: 20px;
}

.project-item {
    position: relative;
    margin-bottom: 20px;
    border-radius: 18px;
    overflow: hidden;
    break-inside: avoid;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-item:hover img {
    transform: scale(1.05);
}

/* Sizes */
.project-item.big img {
    height: 360px;
}

.project-item.small img {
    height: 200px;
}

/* Overlay text */
.project-item h5 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #fff;
    font-size: 0.9rem;
    z-index: 2;
}

.project-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Tag */
.project-item .tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-purple);
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

/* Responsive */
@media (max-width: 992px) {
    .projects-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .projects-grid {
        
        column-count: 1;
    }
}


/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, #07010f, #0c0218);
    color: #bcbcbc;
    padding-top: 80px;
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* Brand */
.footer-brand h2 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 320px;
    line-height: 1.7;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid #2a2a2a;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple)6;
}

/* Columns */
.footer-col h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bcbcbc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-purple);
}

/* Bottom */
.footer-bottom {
    border-top: 1px solid #1e1e1e;
    text-align: center;
    padding: 20px 0;
    font-size: 0.75rem;
    color: #999;
}
 .footer-bottom .designed-by{
    color: #999;
    font-size: 0.75rem;
    text-align: end;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

 .social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    /* border-radius: 50%; */
    background-color: #1f1f2e; /* circle background */
    
    display: flex;
    align-items: center;
    justify-content: center;

    color: #cfcfd3; /* icon color */
    font-size: 16px;

    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect – NO PURPLE */
.social-icons a:hover {
    background-color: #2a2a40; /* slight hover bg */
    color: #ffffff; /* icon stays neutral */
}


/* ==== About Page ==== */

.about-body{
    background-color: #0e0c13;
    color: #cfcbd6;
    font-family: 'Inter' ,sans-serif;
    line-height: 1.7;
}

a{
    text-decoration: none;
}
a:hover{
    text-decoration:none;
}

/* About Hero */

.about-hero{
    color:white;
    height: 70vh;
    background : radial-gradient(circle at center,#4a3454,#0e0c13)
}
.hero-title{
    font-family: 'Playfair Display',serif;
    font-size:50px;
    color: #fff;
    letter-spacing: 2px;
}
.hero-underline{
    width: 50px;
    height: 2px;
    background:#d17acb;
    margin: 15px auto 0;
}

/* Quote section */

.quote-section{
    padding:80px 0;

}
.quote-text{
    color:#c85fcf;
    font-style:italic;
    font-size:16px;

}
.quote-source{
display:block;
font-size: 12px;
letter-spacing: 1px;
margin-top:8px;
color:#8e8d99;
}

/* content */
.about-content{
    padding : 100px 0;
}
.badge-pill{
    display:inline-block;
    padding :16px 14px;
    background:#2b1f34;
    color: #d17acb;
    border-radius:20px;
    font-size:12px;
    margin-bottom:20px;

}

.content-title{
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: white;
    margin-bottom:20px;

}

.content-title span{
    color: #d17acb;
}

.about-content p{
    font-size: 14px;
    margin-bottom: 16px;
}

/* Author card */
.author-card{
    background:linear-gradient(180deg , #4b3458 ,#1a141a);
    border-radius : 20px;
    padding: 60px , 20px;

}
.author-circle
{
    width: 100xp;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #d17acb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display' , serif;
    font-size:32px;
    color: #d17acb;
    margin : auto;
}

.author-label{
    margin-top:15px;
    font-size: 13px;
    color: #a59fb5;
}

/* stats */

.stat-box{
    background: #1a141a;
    border-radius: 14px;
    padding: 15px;
    display: inline-block;

}

.stat-box h3{
    color: #d17acb;
    margin: 0;
}

.stat-box p{
    font-size: 12px;
    margin :0;
    color:#9b95aa;
}
.about-info .purple-dash{
    width: 42px;
    height: 2px;
    background: #a147a1;
}


.about-info-title{
    color: #fff;

}

/* education and research */
.main-section{
    margin: 20px;
    padding: 20px;
}
.education-content{
    width: 70vh;
    height: auto;

}
.education-content h2{
    color: #fff;
  

}
/* experience highlights */
.experience-section {
  background: radial-gradient(circle at top, #1c1125, #0b0711);
  color: #fff;
}

/* Title */
.experience-title {
  font-size: 28px;
  letter-spacing: 2px;
}

/* Card */
.experience-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px;
  text-align: left;
  height: 100%;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.experience-card:hover {
  border-color: var(--primary-purple);
}

/* Icon */
.icon-box {
  width: 42px;
  height: 42px;
  background: rgba(190,92,240,0.15);
  color: var(--primary-purple);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

/* Text */
.experience-card h5 {
  margin-bottom: 5px;
}

.company {
  color:var(--primary-purple);
  font-size: 14px;
}

.experience-card p {
  color: #b5a9c9;
  font-size: 14px;
  margin-top: 10px;
}

/* Link */
.journey-link {
  color:var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
  text-align: left;
}

.journey-link:hover {
    color: var(--primary-purple);
  text-decoration: underline;
}

/* Divider */
.custom-divider {
  border-color: rgba(255,255,255,0.08);
}

/* CTA */
.cta-title {
  font-size: 22px;
}

.btn-contact {
  background: var(--primary-purple);
  border: none;
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
}

/* Social */
.cta-social i {
  font-size: 20px;
  margin: 0 10px;
  color: #aaa;
  cursor: pointer;
}

.cta-social i:hover {
  color:var(--primary-purple);
}






/* ==== Contact Pages Styling ==== */
body {
  background: radial-gradient(circle at top left, #1c1125, #0b0711);
  color: #e6e1ee;
  font-family: "Inter", sans-serif;
}

/* Left Section */
.connect-badge {
  background: rgba(190, 92, 240, 0.15);
  color: var(--primary-purple);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.contact-title {
  font-size: 42px;
  font-weight: 700;
  margin-top: 10px;
}

.contact-title span {
  color: var(--primary-purple);
}

.contact-subtext {
  color: #b5a9c9;
  max-width: 420px;
  margin-top: 10px;
}

.section-label {
  font-size: 13px;
  color: var(--primary-purple);
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-item i {
  background: rgba(190, 92, 240, 0.15);
  padding: 10px;
  border-radius: 10px;
  color: var(--primary-purple);
}

.contact-item small {
  display: block;
  color: #b5a9c9;
}

.social-icons i {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  /* border-radius: 10px; */
  /* margin-right: 10px; */
  cursor: pointer;
}

.note-box {
  background: rgba(255,255,255,0.04);
  padding: 15px;
  border-radius: 12px;
  font-size: 13px;
  color: #b5a9c9;
}

/* links */
/* BOOK LINKS SECTION */
.book-links-box {
  margin-top: 40px;
  padding: 30px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1b0828, #120018);
  border: 1px solid #5d2a7d;
}

.book-subtext {
  color: #b38add;
  font-size: 14px;
}

.book-btn {
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.book-btn.amazon {
  background: #b5a9c9;;
  color: #000;
}

.book-btn.flipkart {
  background:#665f71;;
  color: #fff;
}

.book-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Right Card */
.contact-card {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 35px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-card h4{
    font-size: 3rem;
    font-weight: 400;
}

.form-subtext {
  color: #b5a9c9;
  font-size: 14px;
  margin-bottom: 20px;
}

.option-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.option-card:hover {
  border-color: var(--primary-purple);
  background: rgba(190, 92, 240, 0.15);
}

.custom-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 12px;
  padding: 12px;
}

.custom-input::placeholder {
  color: #9c8fb3;
}

.custom-input:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary-purple);
  box-shadow: none;
}

/* Button */
.send-btn {
  background:var(--primary-purple);
  border: none;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  color: #fff;
}
.contact-section {
    margin-top: 100px;
  padding-top: 200px;
}

.option-card {
  text-align: left;
  font-weight: 500;
  padding: 20px;
}

.social-icons i {
  transition: 0.3s;
}

.social-icons i:hover {
  background: rgba(190, 92, 240, 0.25);
  color: var(--primary-purple);
}

.contact-card h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* change for i'am name */
@media (max-width: 576px) {
  .intro-text {
    display: block !important;
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* =========================
   GLOBAL IMAGE FIX
========================= */

/* All image containers spacing */
.project-item,
.blog-card,
.image-card,
.profile-card,
.author-card,
.footer-brand img {
    margin-bottom: 16px;   /* 👈 universal vertical gap */
}

/* Images fit properly */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Rounded + premium look everywhere */
.project-item,
.blog-card,
.image-card {
    border-radius: 18px;
    overflow: hidden;
}

/* change for projects grid  */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;        /* 👈 balanced spacing */
    align-items: stretch;
}

.project-item.small {
    height: 240px;
}

.project-item.big {
    height: 380px;
    grid-row: span 2;
}

.blog-card {
    margin-bottom: 20px;
}

.blog-card img {
    height: 190px;
}

.image-stack {
    gap: 20px;
}

.image-card {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .projects-grid {
        gap: 16px;
    }

    .project-item.small {
        height: 220px;
    }

    .project-item.big {
        height: 320px;
    }
}

/* for youtube vedios */
iframe {
  border-radius: 16px;
  background: #000;
}

