/* Root Variables */

:root {
    --primary-color: rgb(19, 14, 14);
    --secondary-color: rgb(204, 204, 204);
    --accent-color: rgb(240, 240, 240);
    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  }
  
  /* Base Styles */
  body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  @media (pointer: fine) {
    body {
      cursor: none;
    }
  
    .cursor-outer,
    .cursor-inner {
      width: 32px;
      height: 32px;
      position: fixed;
      border-radius: 50%;
      pointer-events: none;
      transform: translate(-50%, -50%);
      z-index: 9999;
      opacity: 1;
    }
  
    .cursor-outer {
      /*border: 2px solid rgba(61, 57, 57, 0.8);*/ /*looks better*/
      transition: all 0s ease-out;
      background: transparent;
    }
  
    .cursor-inner {
      background-color: rgba(155, 156, 149, 0.8);
      transition: all 0s ease-out;
    }
  
    /* Hover states for cursor */
    .cursor-hover {
      background-color: rgba(255, 255, 255, 0.1) !important;
      border-color: rgba(255, 255, 255, 0.2) !important;
      transform: translate(-50%, -50%) scale(1.5) !important;
    }
  
    .cursor-inner.cursor-hover {
      background-color: rgba(255, 255, 255, 0) !important;
      transform: translate(-50%, -50%) scale(0.5) !important;
    }
  
    .cursor-hidden {
      opacity: 0;
    }
  }
  
  /* For touch devices */
  @media (pointer: coarse) {
    body {
      cursor: auto;
    }
  
    .cursor-outer,
    .cursor-inner {
      display: none;
    }
  }
  
  /* Menu Button Styles */
  .menu-button {
    position: fixed;
    top: 20px;
    right: 10px;
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  /* Menu Overlay Styles */
  .menu-overlay {
    position: fixed;
    top: 20px; /* Same as menu button */
    right: 10px; /* Same as menu button */
    width: 90%;
    max-width: 500px;
    background: #000000;
    border-radius: 25px;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    z-index: 1001;
    transform-origin: top right;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 50px;
  }
  
  .menu-overlay.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
  }
  
  /* Close Button Styles */
  .close-button {
    position: absolute;
    top: 20px;
    right: 10px;
    background: rgb(146, 85, 85);
    color: #000000;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
  }
  
  /* Menu Content Styles */
  .menu-content {
    display: flex;
    flex-direction: column;
    height: 150%;
    gap: 40px;
    margin-top: 30px;
    position: relative;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 25px;
  }
  
  .menu-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .menu-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    transition: opacity 0.3s ease;
    width: fit-content;
    display: inline-block;
    position: relative;
  }
  
  .menu-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease;
  }
  
  .menu-links a:hover::after {
    width: 100%;
  }
  
  .menu-links a.active {
    color: #000000;
    background-color: rgba(190, 138, 95, 0.9);
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    opacity: 1;
  }
  
  .menu-links a.active::after {
    width: 0 !important;
  }
  
  .menu-links a.active:hover::after {
    width: 0 !important;
  }
  
  .social-links {
    position: absolute;
    bottom: -40px;
    right: -10px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 0px;
  }
  
  .social-links a {
    color: rgb(194, 194, 194);
    text-decoration: none;
    font-size: 25px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  
  .menu-links a:hover,
  .social-links a:hover {
    opacity: 0.6;
  }
  
  /* Page Overlay */
  body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    pointer-events: none;
  }
  
  body.menu-active::after {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
  }
  
  /* Hero Section Styles */
  .hero {
    height: 50vh;
    display: flex;
    align-items: center;
    padding: 0 5vw;
  }
  
  .hero-content {
    text-align: left;
    width: 100%;
    padding: 0 0px;
  }
  
  .hero-text {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-primary);
    font-weight: 500;
    color: rgb(200, 194, 188);
  }
  
  .dynamic-text {
    font-size: 2rem;
    font-weight: 300;
    display: flex;
    gap: 15px;
    font-family: var(--font-primary);
    font-weight: 300;
    flex-wrap: wrap;
  }
  
  .shatter-container {
    position: relative;
    display: inline-block;
    min-width: 500px;
    height: 2.5rem;
  }
  
  .shatter-word {
    position: absolute;
    left: 0;
    opacity: 0;
    visibility: hidden;
    font-size: inherit;
    color: inherit;
  }
  
  .shatter-word.active {
    opacity: 1;
    visibility: visible;
  }
  
  .shatter-word span {
    display: inline-block;
    transform-origin: center;
  }
  
  .intro-text {
    padding: 120px 5vw;
    position: relative;
  }
  
  .intro-text .container {
    max-width: 1200px;
  }
  
  .intro-text p {
    font-family: var(--font-primary);
    font-size: 20px;
    line-height: 1.4;
    font-weight: 105;
    color: var(--secondary-color);
    margin: 0;
    max-width: 800px;
  }
  
  .experience-section {
    padding: 80px 0;
    background: var(--coffee-dark);
    min-height: 100vh;
    position: relative;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
  }
  
  .experience-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  /* Card Styling */
  .experience-card {
    display: flex;
    gap: 30px;
    position: relative;
    padding: 20px;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideIn 0.6s ease forwards;
  }
  
  .experience-card.alt {
    flex-direction: row-reverse;
    transform: translateX(50px);
  }
  
  /* Year Marker */
  .card-year {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    opacity: 0.2;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 20px 0;
    position: sticky;
    top: 100px;
    height: fit-content;
    transition: opacity 0.3s ease;
  }
  
  .experience-card:hover .card-year {
    opacity: 0.8;
  }
  
  /* Card Content */
  .card-content {
    background: var(--coffee-medium);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .experience-card:hover .card-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }
  
  /* Role Tag */
  .role-tag {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--accent-color);
    color: var(--coffee-dark);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  /* Content Elements */
  h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .company-name {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .card-description p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  /* Achievements */
  .achievements {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
  }
  
  .achievement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
  }
  
  .achievement-icon {
    font-size: 1.2rem;
    min-width: 24px;
  }
  
  /* Tech Stack */
  .tech-stack {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
  }
  
  .stack-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .stack-items span {
    background: var(--coffee-dark);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
  }
  
  .stack-items span:hover {
    background: var(--accent-color);
    color: var(--coffee-dark);
  }
  
  /* Animations */
  @keyframes slideIn {
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .experience-card,
    .experience-card.alt {
      flex-direction: column;
      gap: 20px;
      transform: translateY(50px);
    }
  
    .card-year {
      writing-mode: horizontal-tb;
      transform: none;
      text-align: center;
      padding: 0;
    }
  
    .card-content {
      padding: 25px;
    }
  
    .role-tag {
      position: relative;
      top: 0;
      right: 0;
      display: inline-block;
      margin-bottom: 15px;
    }
  
    h3 {
      font-size: 1.3rem;
    }
  
    .achievement-item {
      font-size: 0.9rem;
    }
  }
  
  @media screen and (max-width: 480px) {
    .experience-section {
      padding: 60px 0;
    }
  
    .card-content {
      padding: 20px;
    }
  
    .stack-items span {
      font-size: 0.8rem;
      padding: 4px 10px;
    }
  }
  

  .journey-section {
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
  }
  
  .timeline-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
  }
  
  /* Fixed Side Panel */
  .timeline-info {
    position: sticky;
    top: 0;
    height: 100vh;
    background: var(--bg-card);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-color);
  }
  
  .section-title {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 2px;
  }
  
  /* Stats Section */
  .timeline-stats {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .stat-item {
    text-align: left;
    padding: 15px;
    background: rgba(202, 183, 183, 0.54);
    border-radius: 15px;
    transition: all 0.3s ease;
  }

  .stat-content{
    color: var(--text-primary);
    position: relative;
  }
  
  .stat-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
  }
  
  .stat-number {
    color: var(--accent-primary);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  
  /* Navigation */
  .timeline-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .nav-btn {
    padding: 15px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1.1rem;
  }
  
  .nav-btn.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
  }
  
  .nav-btn:hover:not(.active) {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
  }
  
  /* Timeline Content */
  .timeline-content {
    padding: 40px;
    overflow-y: auto;
    height: 100vh;
  }
  
  .timeline-year {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .timeline-year.hidden {
    display: none;
  }
  
  /* Timeline Item */
  .timeline-item {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
  }
  
  .timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .month {
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .year {
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  .event-type {
    padding: 5px 15px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 20px;
    font-size: 0.9rem;
  }
  
  /* Item Content */
  .item-content {
    padding: 20px;
  }
  
  .content-main {
    margin-bottom: 30px;
  }
  
  .content-main h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .organization {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .org-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }
  
  .event-description {
    color: var(--text-secondary);
    line-height: 1.6;
  }
  
  /* Metrics Grid */
  .metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .metric {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
  }
  
  .metric i {
    color: var(--accent-primary);
  }
  
  /* Achievements */
  .key-achievements {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
  }
  
  .key-achievements h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
  }
  
  .key-achievements ul {
    list-style: none;
    padding: 0;
  }
  
  .key-achievements li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
  }
  
  .key-achievements li::before {
    content: '→';
    color: var(--accent-primary);
    position: absolute;
    left: 0;
  }
  
  /* Content Footer */
  .content-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
  }
  
  .skills-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .skills-tags span {
    padding: 5px 12px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 15px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
  }
  
  .skills-tags span:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
  }
  
  .gallery-btn {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }
  
  .gallery-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
  }
  
  /* Responsive Design */
  @media screen and (max-width: 1024px) {
    .timeline-container {
      grid-template-columns: 250px 1fr;
    }
  }
  
  @media screen and (max-width: 768px) {
    .timeline-container {
      grid-template-columns: 1fr;
    }
  
    .timeline-info {
      position: relative;
      height: auto;
      border-right: none;
      border-bottom: 1px solid var(--border-color);
    }
  
    .timeline-nav {
      flex-direction: row;
      flex-wrap: wrap;
    }
  
    .timeline-content {
      height: auto;
      padding: 20px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .metrics-grid {
      grid-template-columns: 1fr;
    }
  
    .content-footer {
      flex-direction: column;
      gap: 15px;
    }
  
    .skills-tags {
      width: 100%;
    }
  }

  /*events/leadership experience*/
  .events-showcase {
    padding: 4rem 2rem;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.events-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.events-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

/* Event Card Styles */
.event-card {
    display: none;
    background: var(--bg-card);
    grid-template-columns: 45% 55%;
    min-height: 600px;
}

.event-card.active {
    display: grid;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Event Media Section */
.event-media {
    position: relative;
    overflow: hidden;
    background: #000;
}

.event-media video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.event-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.3)
    );
}

/* Event Content Styles */
.event-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
}

.event-header {
    margin-bottom: 2rem;
}

.organization-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-organization {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.event-organization::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--primary-color);
}

.event-position {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
}

.event-position:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.event-position i {
    font-size: 0.9rem;
    color: white;
}

.event-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.event-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-secondary);
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Event Highlights */
.event-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: auto;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.highlight:hover {
    transform: translateX(10px);
}

.highlight i {
    color: white;
    font-size: 1.4rem;
}

.highlight p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

/* Navigation Buttons */
.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Page Indicators */
.page-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.page-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.page-dot:hover::after {
    opacity: 1;
}

.page-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.page-dot.active::after {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .event-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .event-media {
        height: 400px;
        position: relative;
    }

    .event-media video {
        position: relative;
    }

    .event-content {
        padding: 2.5rem;
    }

    .event-organization {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .events-container {
        gap: 0.75rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .event-title {
        font-size: 1.8rem;
    }

    .event-media {
        height: 300px;
    }

    .event-highlights {
        grid-template-columns: 1fr;
    }

    .highlight {
        padding: 1rem;
    }

    .event-position {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .event-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    .events-showcase {
        padding: 2rem 1rem;
    }

    .event-content {
        padding: 2rem;
    }
}

/* Leadership positions */
.leadership-showcase {
  padding: 4rem 2rem;
  background: var(--primary-color);
  min-height: 50vh;
  position: relative;
  overflow: hidden;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.leadership-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.card-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
      circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.leadership-card:hover .card-glow {
  opacity: 1;
}

.card-content {
  position: relative;
  z-index: 2;
}

.role-tagL {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color:rgb(104, 230, 97);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.role-tagLp {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color:rgb(230, 105, 97);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.role-info {
  margin-bottom: 2rem;
}

.role-info h3 {
  color: #fff;
  font-size: 1.8rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  background: linear-gradient(to right, var(--accent-color), lightgray);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.role-info span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* Role Progression Styles */
.role-progression {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.progression-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.progression-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .role-progression {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.25rem;
  }

  .progression-arrow {
      transform: rotate(90deg);
  }
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  display: block;
  color: var(--accent-color);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Hover and Animation Effects */
.leadership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.leadership-card {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  .leadership-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }

  .role-info h3 {
      font-size: 1.5rem;
  }

  .stat-number {
      font-size: 1.5rem;
  }
}

/*menu forr leadership*/
.leadership-menu {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.menu-btn {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

.menu-btn.active {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* Animation for filtered cards */
.leadership-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease-out;
}

.leadership-card.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  position: absolute;
  visibility: hidden; 
  display: none;
  top: 0; 
  left: 0;
}

/* Responsive menu */
@media (max-width: 768px) {
  .leadership-menu {
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
  }

  .menu-btn {
      width: 100%;
      max-width: 200px;
  }
}

/* Updated Organization Badge Styles */
.organization-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Aligns items to the left */
  gap: 0.5rem;
}

.primary-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.org-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-color);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  width: fit-content; /* Makes the badge only as wide as its content */
}

.org-badge i {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.org-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .org-badge {
      font-size: 0.75rem;
      padding: 0.3rem 0.6rem;
  }
  
  .org-badge i {
      font-size: 0.8rem;
  }
}


  /*accomplishments*/
  <style>
  .accomplishments-section {
    padding: 4rem 0;
    background: rgba(18, 18, 20, 0.8);
    position: relative;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
  }
  
  .header-line {
    height: 3px;
    width: 100px;
    background:  var(--accent-color);
    margin: 0 auto;
  }
  
  .carousel-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
  }
  
  .carousel {
    display: flex;
    width: 400%;  /* 100% × number of slides */
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel.animated {
    transition: none; /* No transition when animated */
    animation: carousel-animation 16s infinite;
  }
  
  .carousel.animated:hover {
    animation-play-state: paused;
  }
  
  .carousel-slide {
    width: 25%;  /* 100% ÷ number of slides */
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
  }
  
  .accomplishment-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .accomplishment-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
  }
  
  .accomplishment-text {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
  }
  
  /* Animation keyframes */
  @keyframes carousel-animation {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-25%); }
    50%, 70% { transform: translateX(-50%); }
    75%, 95% { transform: translateX(-75%); }
    100% { transform: translateX(0); }
  }
  
  /* Navigation dots */
  .carousel-navigation {
    text-align: center;
    margin-top: 1.5rem;
  }
  
  .nav-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .nav-dot.active {
    background: rgba(255, 255, 255, 0.8);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .carousel-slide {
      padding: 1.5rem;
    }
    
    .accomplishment-logo {
      width: 80px;
      height: 80px;
    }
    
    .accomplishment-text {
      font-size: 1rem;
    }
  }
  
  /* Animation for text reveal */
  .hero-text span {
    opacity: 0;
    transition: all 0.3s ease;
    display: inline-block;
  }
  
  .hero-text span.fade {
    opacity: 1;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero-text {
      font-size: 2.5rem;
    }
  
    .dynamic-text {
      font-size: 1.8rem;
    }
  
    nav {
      padding: 10px;
    }
  
    nav ul {
      gap: 15px;
    }
  
    .word-rotation {
      min-width: 150px;
    }
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-primary);
    font-weight: 600;
  }
  
  button {
    font-family: var(--font-primary);
    font-weight: 500;
  }
  
  .text-line {
    font-family: var(--font-primary);
    font-weight: 500;
  }
  
  ::-webkit-scrollbar {
    width: 2px;
    height: 0.2px;
  }
  
  ::-webkit-scrollbar-track {
    background: rgb(121, 120, 120);
  }
  
  ::-webkit-scrollbar-thumb {
    background: rgb(171, 136, 109);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  .footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }
  
  .footer-bottom p {
    color: var(--secondary-color);
    opacity: 0.6;
    font-size: 0.9rem;
  }
  
  /* Large screens (1200px and below) */
  @media (max-width: 1200px) {
    .hero-text {
      font-size: 3.5rem;
    }
  
    .shatter-container {
      min-width: 400px;
    }
  
    .menu-overlay {
      width: 80%;
    }
  }
  
  /* Medium screens (992px and below) */
  @media (max-width: 992px) {
    .hero-text {
      font-size: 3rem;
    }
  
    .dynamic-text {
      font-size: 1.8rem;
    }
  
    .text-line {
      font-size: 2rem;
    }
  
    .menu-content {
      font-size: 22px;
    }
  
    .menu-links a {
      font-size: 22px;
    }
  }
  
  /* Tablets (768px and below) */
  @media (max-width: 768px) {
    .hero-text {
      font-size: 2.5rem;
    }
  
    .shatter-container {
      min-width: 300px;
    }
  
    .menu-overlay {
      width: 85%;
      max-width: none;
      right: 50%;
      transform: translateX(50%) scale(0.5);
      padding: 30px;
    }
  
    .menu-overlay.active {
      transform: translateX(50%) scale(1);
    }
  
    .menu-content {
      font-size: 20px;
      gap: 30px;
    }
  
    .social-links {
      position: relative;
      bottom: 0;
      right: 0;
      justify-content: center;
      margin-top: 20px;
    }
  
    .intro-text p {
      font-size: 18px;
    }
  }
  
  /* Mobile phones (576px and below) */
  @media (max-width: 576px) {
    .hero-text {
      font-size: 2rem;
    }
  
    .dynamic-text {
      font-size: 1.5rem;
    }
  
    .shatter-container {
      min-width: 250px;
    }
  
    .menu-button,
    .close-button {
      padding: 8px 20px;
      font-size: 14px;
    }
  
    .menu-overlay {
      top: 10px;
      padding: 20px;
    }
  
    .menu-content {
      font-size: 18px;
      gap: 25px;
    }
  
    .menu-links a {
      font-size: 18px;
    }
  
    .social-links a {
      font-size: 20px;
    }
  
    .text-line {
      font-size: 1.8rem;
    }
  
    .intro-text {
      padding: 60px 5vw;
    }
  
    .intro-text p {
      font-size: 16px;
    }
  
    .cursor-outer,
    .cursor-inner {
      width: 24px;
      height: 24px;
    }
  }
  
  /* Very small devices (400px and below) */
  @media (max-width: 400px) {
    .hero-text {
      font-size: 1.8rem;
    }
  
    .dynamic-text {
      font-size: 1.3rem;
    }
  
    .shatter-container {
      min-width: 200px;
    }
  
    .menu-content {
      font-size: 16px;
      gap: 20px;
    }
  
    .menu-links a {
      font-size: 16px;
    }
  
    .text-line {
      font-size: 1.5rem;
    }
  
    .intro-text p {
      font-size: 14px;
    }
  }
  
  /* Handle landscape orientation */
  @media (max-height: 600px) and (orientation: landscape) {
    .hero {
      height: 80vh;
    }
  
    .menu-overlay {
      height: 80vh;
      overflow-y: auto;
    }
  
    .menu-content {
      gap: 20px;
    }
  }
  
  /*uv.ai*/
  
  .ai-query-container {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    max-width: 550px;
    z-index: 998;
    text-align: center;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  
  .ai-query-container.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
  }
  
  .ai-query-box {
    width: 100%;
    padding: 15px 45px;
    background: rgba(19, 14, 14, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    color: var(--secondary-color);
    font-family: var(--font-primary);
    font-size: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
  }
  
  .ai-query-box::placeholder {
    color: rgba(204, 204, 204, 0.4);
    transition: all 0.3s ease;
  }
  
  /* Hover state */
  .ai-query-box:hover {
    background: rgba(19, 14, 14, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }
  
  /* Focus state */
  .ai-query-box:focus {
    background: rgba(19, 14, 14, 0.75);
    border-color: #be8a5f;
  }
  
  /* Active/Focus backdrop overlay */
  .site-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
    pointer-events: none;
  }
  
  .site-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  
  /* Response container */
  .ai-response-container {
    position: fixed;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    max-width: 550px;
    background: rgba(19, 14, 14, 0.85);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .ai-response-container.active {
    opacity: 1;
    visibility: visible;
  }
  
  .ai-response {
    color: var(--secondary-color);
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Add these styles for the send button */
  .ai-query-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /*Ai send button*/
  .send-button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 30%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
  }
  
  .send-button i {
    font-size: 18px;
    transition: all 0.3s ease;
  }
  
  .send-button:hover {
    color: #be8a5f;
  }
  
  .send-button:hover i {
    transform: translateX(2px);
  }
  
  /* Animation for button click */
  .send-button:active i {
    transform: translateX(4px) scale(0.95);
  }
  
  /* Show/hide button based on input */
  .send-button {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
    pointer-events: none;
  }
  
  .ai-query-box:valid ~ .send-button,
  .ai-query-box:focus ~ .send-button {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
  }
  
  /* Only show send button when input is focused AND has content */
  .ai-query-box:focus.has-content ~ .send-button {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
  }
  
  .send-button i {
    font-size: 18px;
    transition: all 0.3s ease;
  }
  
  .send-button:hover {
    color: #be8a5f;
  }
  
  .send-button:hover i {
    transform: translateX(2px);
  }
  
  /*backdrop-active*/
  body.backdrop-active::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    z-index: 998;
  }
  
  /* Add these styles for the chat display - SQUEEZED SPACE */
  .chat-display {
    position: fixed;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%) translateY(20px);
    width: 90%;
    max-width: 700px; /* Reduced from 800px */
    max-height: 60vh;
    background: rgba(19, 14, 14, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px 15px; /* Reduced horizontal padding */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }
  
  .chat-display.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  /* Center the conversation in a narrower column */
  .chat-inner {
    max-width: 85%; /* Center column width */
    margin: 0 auto; /* Center align */
  }
  
  .message {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: messageAppear 0.3s forwards;
  }
  
  @keyframes messageAppear {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .message-user {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
  }
  
  .message-ai {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
  }
  
  .message-content {
    padding: 12px 16px; /* Slightly reduced padding */
    border-radius: 15px;
    max-width: 75%; /* Reduced from 80% */
    line-height: 1.5;
    font-size: 15px;
    font-family: var(--font-primary);
  }
  
  .message-user .message-content {
    background: #be8a5f;
    color: white;
    border-bottom-right-radius: 5px;
  }
  
  .message-ai .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border-bottom-left-radius: 5px;
  }
  
  /* Loading animation */
  .gradient-flow {
    width: 100px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px auto;
  }
  
  .flow-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #be8a5f, transparent);
    animation: flowAnimation 1.5s infinite;
  }
  
  @keyframes flowAnimation {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  /* Message Animations */
  .message {
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  
  .message.fade-in {
    opacity: 0;
    transform: translateY(10px);
  }
  
  .message.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .message-ai.thinking {
    background-color: rgba(190, 138, 95, 0.05);
  }
  
  /* Typing Effect */
  .typing-effect::after {
    content: "▋";
    display: inline-block;
    animation: blink 0.5s infinite;
    opacity: 0.5;
    margin-left: 2px;
  }
  
  @keyframes blink {
    0%,
    100% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
  }
  
  /* Scrollbar styles for chat display */
  .chat-display::-webkit-scrollbar {
    width: 5px;
  }
  
  .chat-display::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .chat-display::-webkit-scrollbar-thumb {
    background: rgba(190, 138, 95, 0.5);
    border-radius: 10px;
  }
  
  /* Message Reveal Animation */
  @keyframes revealText {
    from {
      width: 0;
      opacity: 0;
    }
    to {
      width: 100%;
      opacity: 1;
    }
  }
  
  .reveal-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: revealText 0.3s ease-out forwards;
  }
  
  /* ===== ENHANCED MOBILE TEXT BUBBLE STYLES - SQUEEZED SPACE ===== */
  
  /* Standard Media Queries as Starting Point */
  @media (max-width: 768px) {
    .chat-display {
      width: 90%;
      max-width: 500px; /* Reduced for tablet */
      max-height: 50vh;
      bottom: 100px;
      padding: 15px 10px; /* Reduced horizontal padding */
    }
  
    .chat-inner {
      max-width: 90%; /* Slightly wider on tablets */
    }
  
    .ai-query-container {
      width: 85%;
      bottom: 20px;
    }
  
    .ai-query-box {
      padding: 12px 40px 12px 15px;
      font-size: 15px;
      border-radius: 22px;
    }
  
    .send-button {
      right: 15px;
    }
  
    /* Message bubbles - Text bubble style for mobile */
    .message-user,
    .message-ai {
      margin-bottom: 15px;
      position: relative;
      display: flex;
      align-items: flex-end;
      width: 100%; /* Full width of container */
    }
  
    /* Avatar placeholders */
    .message-user:before,
    .message-ai:before {
      content: "";
      display: block;
      width: 30px;
      height: 30px;
      background-color: #333;
      border-radius: 50%;
      flex-shrink: 0;
    }
  
    .message-user:before {
      margin-left: 10px;
      background-color: #744f3a;
      order: 2;
    }
  
    .message-ai:before {
      margin-right: 10px;
      background-color: #222;
      order: 0;
    }
  
    .message-content {
      position: relative;
      max-width: 70%; /* Reduced from 75% */
      padding: 10px 14px;
      font-size: 14px;
      line-height: 1.4;
      order: 1;
    }
  
    /* Sharp corner adjustments */
    .message-user .message-content {
      border-radius: 18px 18px 4px 18px;
      margin-right: 10px;
    }
  
    .message-ai .message-content {
      border-radius: 18px 18px 18px 4px;
      margin-left: 10px;
      background-color: #3a3a3a; /* Darker for mobile */
    }
  
    /* Thinking dots adjusted for bubbles */
    .thinking-container {
      margin-left: 40px;
      align-items: flex-start;
    }
  
    .gradient-flow {
      width: 80px;
      height: 2px;
      margin: 5px 0 5px 40px;
    }
  }
  
  /* Medium Mobile Breakpoint */
  @media (max-width: 576px) {
    .chat-display {
      width: 92%;
      max-width: 350px; /* Further reduced for medium mobile */
      bottom: 85px;
      padding: 12px 8px; /* Further reduced horizontal padding */
      border-radius: 15px;
    }
  
    .chat-inner {
      max-width: 95%; /* Almost full width of display */
    }
  
    .ai-query-container {
      width: 90%;
      bottom: 15px;
    }
  
    .ai-query-box {
      padding: 11px 35px 11px 15px;
      font-size: 14px;
      border-radius: 20px;
      background: rgba(25, 20, 20, 0.75);
    }
  
    /* Smaller, more compact bubbles */
    .message-user:before,
    .message-ai:before {
      width: 26px;
      height: 26px;
    }
  
    .message-content {
      padding: 9px 12px;
      font-size: 13px;
      max-width: 70%; /* Match mobile proportions */
    }
  
    .message-user,
    .message-ai {
      margin-bottom: 12px;
    }
  
    /* Add initials to avatars */
    .message-user:before {
      content: "👤";
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
    }
  
    .message-ai:before {
      content: "uv.ai";
      color: #be8a5f;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
    }
  }
  
  /* Small Mobile Breakpoint */
  @media (max-width: 480px) {
    .chat-display {
      width: 85%;
      max-width: 100%; /* Full width on small mobile */
      border-radius: 15px 15px 0 0;
      bottom: 70px;
      padding: 10px 5px; /* Minimal horizontal padding */
      max-height: 55vh;
    }
  
    .chat-inner {
      max-width: 90%; /* Almost full width but with some margin */
      padding: 0 10px; /* Add some padding inside */
    }
  
    .ai-query-container {
      width: 92%;
      bottom: 12px;
    }
  
    .ai-query-box {
      padding: 10px 35px 10px 12px;
      font-size: 14px;
      border-radius: 18px;
      background: rgba(25, 20, 20, 0.85);
    }
  
    /* Even more compact bubbles */
    .message-user:before,
    .message-ai:before {
      width: 24px;
      height: 24px;
    }
  
    .message-content {
      padding: 8px 10px;
      font-size: 13px;
      line-height: 1.35;
      max-width: 60%; /* More compact for mobile */
    }
  
    .message-user .message-content {
      margin-right: 8px;
    }
  
    .message-ai .message-content {
      margin-left: 8px;
    }
  
    .message-user,
    .message-ai {
      margin-bottom: 10px;
    }
  
    /* Tail adjustment for better bubble appearance */
    .message-user .message-content:after,
    .message-ai .message-content:after {
      content: "";
      position: absolute;
      bottom: 0;
      width: 10px;
      height: 10px;
    }
  
    .message-user .message-content:after {
      right: -5px;
      border-radius: 0 0 0 10px;
      box-shadow: -5px 0 0 0 #be8a5f;
    }
  
    .message-ai .message-content:after {
      left: -5px;
      border-radius: 0 0 10px 0;
      box-shadow: 5px 0 0 0 #3a3a3a;
    }
  }
  
  /* Very Small Mobile Breakpoint */
  @media (max-width: 360px) {
    .chat-display {
      padding: 8px 3px; /* Minimal padding */
      bottom: 60px;
    }
  
    .chat-inner {
      max-width: 98%; /* Almost full width */
    }
  
    .ai-query-container {
      width: 95%;
      bottom: 10px;
    }
  
    .ai-query-box {
      padding: 9px 30px 9px 10px;
      font-size: 13px;
      border-radius: 16px;
    }
  
    .message-content {
      padding: 7px 9px;
      font-size: 12px;
      max-width: 60%; /* Even more compact */
    }
  
    .message-user:before,
    .message-ai:before {
      width: 22px;
      height: 22px;
      font-size: 9px;
    }
  
    .message-user .message-content {
      margin-right: 6px;
    }
  
    .message-ai .message-content {
      margin-left: 6px;
    }

    .gradient-flow {
      width: 60px;
      margin-left: 30px;
    }
  }
  
  /* iPhone SE and other very small devices */
  @media (max-width: 320px) {
    .chat-display {
      padding: 7px 2px;
      bottom: 55px;
    }
  
    .chat-inner {
      max-width: 100%; /* Full width */
      padding: 0 5px; /* Minimal inner padding */
    }
  
    .ai-query-container {
      width: 97%;
      bottom: 8px;
    }
  
    .ai-query-box {
      padding: 8px 28px 8px 10px;
      font-size: 12px;
      border-radius: 14px;
    }
  
    .message-content {
      padding: 6px 8px;
      font-size: 11px;
      max-width: 58%; /* Most compact */
    }
  
    .message-user:before,
    .message-ai:before {
      width: 20px;
      height: 20px;
      font-size: 8px;
    }
  
    /* Reduce avatar margin */
    .message-user:before {
      margin-left: 5px;
    }
  
    .message-ai:before {
      margin-right: 5px;
    }
  }
  
  /* Landscape Mode */
  @media (max-height: 500px) and (orientation: landscape) {
    .chat-display {
      max-height: 65vh;
      bottom: 70px;
      max-width: 600px; /* Wider but still constrained */
    }
  
    .chat-inner {
      max-width: 90%;
    }
  
    .ai-query-container {
      width: 70%;
      bottom: 12px;
    }
  
    /* Wider bubbles for landscape */
    .message-content {
      max-width: 50%; /* More compact in landscape */
    }
  }
  
  /* Specific styling for tails on the text bubbles */
  @media (max-width: 768px) {
    /* Improve tail appearance with pseudo-elements */
    .message-user .message-content,
    .message-ai .message-content {
      position: relative;
    }
  
    /* Remove the default border radius adjustments */
    .message-user .message-content {
      border-radius: 18px;
    }
  
    .message-ai .message-content {
      border-radius: 18px;
    }
  
    /* Add custom tails with pseudo-elements */
    .message-user .message-content:before {
      content: "";
      position: absolute;
      bottom: 0;
      right: -8px;
      width: 15px;
      height: 15px;
      background: #be8a5f;
      clip-path: polygon(0 0, 0% 100%, 100% 100%);
      border-bottom-right-radius: 5px;
    }
  
    .message-ai .message-content:before {
      content: "";
      position: absolute;
      bottom: 0;
      left: -8px;
      width: 15px;
      height: 15px;
      background: #3a3a3a;
      clip-path: polygon(100% 0, 0 100%, 100% 100%);
      border-bottom-left-radius: 5px;
    }
  }
  
  /* Fix for iOS Input Zoom */
  @media (max-width: 768px) {
    input,
    select,
    textarea {
      font-size: 16px !important;
    }
  
    .ai-query-box {
      font-size: 16px !important;
    }
  }
  
  /* Additional wrapper for HTML implementation - add this to your markup */
  /* This helps center and constrain the messages on all screen sizes */
  .chat-container {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  /* Desktop specific message narrowing */
  @media (min-width: 769px) {
    .chat-container {
      max-width: 65%; /* Narrower conversation area on desktop */
      margin: 0 auto;
    }
  
    .message-content {
      max-width: 70%; /* Narrower messages */
    }
  }
  
  /* Connect Section Styling */
:root {
  --coffee-dark: #1a1818;
  --coffee-medium: #2c2424;
  --coffee-light: #3d3232;
  --accent-color: #c8aa6e;  /* Coffee accent color */
  --text-primary: #ffffff;
  --text-secondary: #a9a9a9;
}

.connect-section {
  padding: 100px 0;
  background-color: var(--coffee-dark);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.connect-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(200, 170, 110, 0.1); /* Subtle coffee-colored line */
}

.connect-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

/* Connect Cards Styling */
.connect-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.connect-card {
  background: var(--coffee-medium);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(200, 170, 110, 0.1);
}

.connect-card:hover {
  transform: translateY(-10px);
  background: var(--coffee-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--coffee-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.connect-card:hover .card-icon {
  background: var(--accent-color);
  color: var(--coffee-dark);
}

.connect-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.connect-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.connect-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.connect-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.connect-link:hover::after {
  width: 100%;
}

/* Projects Page Specific Styles */
.all-projects-section {
    padding: 120px 5% 80px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Animation for project cards */
.project-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .all-projects-section {
        padding: 100px 1rem 60px;
    }

    .section-header h1 {
        font-size: 2.5rem;
    }

    .projects-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-header h1 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section Styles */
.about-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  
}

/* Profile Content Layout */
.profile-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-top: 3rem;
}

/* Profile Visual Styles */
.profile-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-decoration {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent-color);
  border-radius: 20px;
  transform: translate(10px, 10px);
  pointer-events: none;
}

@media (max-width: 768px) {
  .profile-image-container {
      border: none; /* Remove border */
      box-shadow: none; /* Remove any shadow if exists */
  }

  .profile-image {
      border: none;
      border-radius: 15px; /* Optional: keep slight rounding */
  }

  /* If you have any decoration or border element */
  .image-decoration {
      display: none; /* Remove any decorative border element */
  }
}


/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  text-align: center;
}

.stat-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

/* Profile Details Styles */
.profile-details {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.bio-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  color: transparent;
}

.bio-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Focus Areas */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.focus-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.focus-item:hover {
  transform: translateY(-5px);
}

.focus-item i {
  color: var(--accent-color);
}

/* Goals List */
.goals-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.goals-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.goals-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Interests Tags */
.interests-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.interest-tag {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border-radius: 20px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.interest-tag:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profile-content {
      grid-template-columns: 1fr;
      gap: 3rem;
  }

  .profile-visual {
      max-width: 500px;
      margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-section {
      padding: 4rem 1.5rem;
  }

  .bio-section h3 {
      font-size: 1.8rem;
  }

  .focus-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .quick-stats {
      grid-template-columns: repeat(2, 1fr);
  }

  .focus-grid {
      grid-template-columns: 1fr;
  }

  .interests-tags {
      gap: 0.5rem;
  }
}

/* Animation ready state */
.animate-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation in state */
.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations for list items */
.goals-list li.animate-in {
  transition-delay: calc(var(--item-index) * 0.1s);
}

.interest-tag.animate-in {
  transition-delay: calc(var(--item-index) * 0.1s);
}

@media (max-width: 768px) {
  html, body {
      max-width: 100%;
      overflow-x: hidden;
  }
  
  /* Optional: If you still want vertical scrolling */
  body {
      overflow-y: auto;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
