.bg-purple { background-color: #6a1b9a; }
.bg-blue { background-color: #007bff; min-height: 210px; border-radius: 10px; }
.bg-pink { background-color: #e91e63; color: white; }
.search-bar { max-width: 500px; }
.btn-pink { background-color: #e91e63; color: white; border: none; }
.btn-pink:hover { background-color: #d81b60; }
.bg-purple1 { background-color: #6a1b9a; }

.dashboard-img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  background-color: #f8f9fa; /* optional: light background for charts with transparency */
  padding: 5px;
  border: 1px solid #ddd;
}
.nav-link.active {
  font-weight: bold;
  border-bottom: 2px solid rgb(209, 198, 198);
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 25px;
  background-color: #007bff;
  color: white;
  padding: 10px 14px;
  border-radius: 50%;
  display: none;
  font-size: 18px;
  z-index: 999;
  transition: opacity 0.4s ease-in-out;
  opacity: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.back-to-top:hover {
  background-color: #0056b3;
}
.back-to-top.show {
  display: block;
  opacity: 1;
}


.pitch_deck-btn {
  background: linear-gradient(90deg, #ff6600, #ff9900);
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  text-transform: uppercase;
  animation: pulse 1.5s infinite;
  transition: background 0.3s, transform 0.2s;
}

.pitch_deck-btn:hover {
  background: linear-gradient(90deg, #ff9900, #ff6600);
  transform: scale(1.05);
}



.portfolio-btn {
  background: linear-gradient(90deg, #ff6600, #ff9900);
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  text-transform: uppercase;
  animation: pulse 1.5s infinite;
  transition: background 0.3s, transform 0.2s;
}

.portfolio-btn:hover {
  background: linear-gradient(90deg, #ff9900, #ff6600);
  transform: scale(1.05);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 153, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); }
}
:root {
    --bg: #fafafa;
    --accent: #0ea5a4;
    --muted: #6b7280;
    --card: #ffffff;
    --glass: rgba(255, 255, 255, 0.6);
    --maxw: 1200px;
    --radius: 12px;
    --gap: 20px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
    box-sizing: border-box
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  overflow-x:hidden;
}

main {
    flex: 1; /* pushes footer down */
}


.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 28px
}

/* Header / Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 40;
  
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  position:relative;
z-index:1000;
    padding: 14px 28px
}

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

.brand img {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 8px
}

.brand h1 {
    font-size: 18px;
    margin: 0
}

nav ul {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none
}

nav a {
    color: #111;
    text-decoration: none;
    font-weight: 600
}

/* Hero */
.hero {
    position: relative;
    margin-top: 12px;
    border-radius: var(--radius);
    overflow: hidden
}

.hero video {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block
}

.two-col {
  display: flex;
  gap: 20px;
}

.two-col .card {
  flex: 1; /* Equal column width */
  box-sizing: border-box;
}

.img-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-pic {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.two-col {
  display: flex;
  gap: 20px; /* space between columns */
}

.two-col .card {
  flex: 1; /* equal width for both columns */
}


.hero .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero .content {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
    color: #fff;
    padding: 28px;
    border-radius: 10px;
    text-align: center;
    max-width: 900px
}

.hero h2 {
    font-size: 32px;
    margin: 0 0 10px
}

.hero p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9)
}

/* Two column section */
.two-col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--gap);
    align-items: center;
    margin: 28px 0
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06)
}

.profile-pic {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    display: block
}

/* Certifications & Achievements */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 10px 0
}
.item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert .item,
.achieve .item {
    padding: 10px;
    border-radius: 5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--card));
    text-align: center
}
.achievements
{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cert .item h3 {
    margin: 8px 0 4px;
    font-size: 16px
}

.cert .item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

/* Latest posts - 2 column layout */
.posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 28px 0
}

.post {
    display: flex;
    gap: 12px;
    background: var(--card);
    padding: 12px;
    border-radius: 10px;
    align-items: flex-start
}

.post img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px
}

.post h4 {
    margin: 0 0 6px;
    font-size: 16px
}

.post p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

footer {
    margin-top: 0; /* remove extra spacing */
    padding: 20px 0;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}


/* Responsive */
@media (max-width:1000px) {
    .two-col {
        grid-template-columns: 1fr 260px
    }

    .cert .item,
    .achieve .item {
        padding: 12px
    }
}

@media (max-width:820px) {
    .nav {
        padding: 12px
    }

    .hero video {
        height: 260px
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .posts {
        grid-template-columns: 1fr
    }
}

@media (max-width:420px) {
    .brand h1 {
        font-size: 15px
    }

    .hero h2 {
        font-size: 22px
    }
}
.home-btn {
  background: linear-gradient(90deg, #ff6600, #ff9900);
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  text-transform: uppercase;
  animation: pulse 1.5s infinite;
  transition: background 0.3s, transform 0.2s;
}

.portfolio-btn:hover {
  background: linear-gradient(90deg, #ff9900, #ff6600);
  transform: scale(1.05);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 153, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 153, 0, 0); }
}
.latest-posts {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.latest-posts h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post-card {
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.post-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.post-excerpt {
  font-size: 1rem;
  color: #555;
}
/* Remove extra bottom margin from the last container */
.container:last-child {
  margin-bottom: 0;
}
.navbar-toggler {
  border: none;
}

/* Hamburger icon for navbar toggler */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

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



