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

iframe {
  transform: scale(1);
  transform-origin: 0 0;
}

/* 1. Typography Styles */
.portfolio-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  /* Makes your name stand out cleanly */
  font-size: 2rem !important;
  /* Increased slightly for visual hierarchy */
  letter-spacing: -0.03em;
  /* Sleek, tight modern spacing */
}

.portfolio-role {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  /* Elegant letter-spacing for sub-roles */
  font-size: 0.9rem !important;
  /* Balanced contrast */
}

/* 2. Refined Button Sizing */
.custom-hero-btn {
  padding: 0.5rem 1.25rem !important;
  /* Snug, balanced padding */
  font-size: 0.95rem !important;
  /* Fits beautifully with paragraph text */
  font-weight: 500 !important;
  border-radius: 6px !important;
  /* Clean modern edge curves */
}

.feature-icon-small {
  width: 3rem;
  height: 3rem;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: .75rem;
}

.icon-square {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
}

.text-shadow-1 {
  text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25);
}

.text-shadow-2 {
  text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25);
}

.text-shadow-3 {
  text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25);
}

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}


.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.custom-tooltip {
  --bs-tooltip-bg: #232323;
  --bs-tooltip-color: #ffffff;
}


.scrollspy-about {
  height: 600px;
  overflow: auto
}

.nav {
  --bs-nav-link-padding-x: 1rem;
  --bs-nav-link-padding-y: 0.5rem;
  --bs-nav-link-font-weight: ;
  --bs-nav-link-color: #000;
  --bs-nav-link-hover-color: #727476;
  --bs-nav-link-disabled-color: #212529bf;
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-pills {
  --bs-nav-pills-border-radius: 0.375rem;
  --bs-nav-pills-link-active-color: #fff;
  --bs-nav-pills-link-active-bg: #444746;
}

.featurette-divider {
  margin: 5rem 0;
}

:root {
--chat--color-primary: #0d6efd; 
  --chat--color-primary-shade-50: #6ea8fe; 
  --chat--color-primary-shade-100: #cfe2ff;
  --chat--color-secondary: #20b69e;
  --chat--color-secondary-shade-50: #1ca08a;
  --chat--color-white: #ffffff;
  --chat--color-light: #f2f4f8;
  --chat--color-light-shade-50: #e6e9f1;
  --chat--color-light-shade-100: #c2c5cc;
  --chat--color-medium: #d2d4d9;
  --chat--color-dark: #212529;
  --chat--color-disabled: #777980;
  --chat--color-typing: #404040;

  --chat--spacing: 1rem;
  --chat--border-radius: 0.25rem;
  --chat--transition-duration: 0.15s;

  --chat--window--width: 400px;
  --chat--window--height: 600px;

  --chat--header-height: auto;
  --chat--header--padding: var(--chat--spacing);
  --chat--header--background: var(--chat--color-dark);
  --chat--header--color: var(--chat--color-light);
  --chat--header--border-top: none;
  --chat--header--border-bottom: none;
  --chat--header--border-bottom: none;
  --chat--header--border-bottom: none;
  --chat--heading--font-size: 2em;
  --chat--header--color: var(--chat--color-light);
  --chat--subtitle--font-size: inherit;
  --chat--subtitle--line-height: 1.8;

  --chat--textarea--height: 50px;

  --chat--message--font-size: 1rem;
  --chat--message--padding: var(--chat--spacing);
  --chat--message--border-radius: var(--chat--border-radius);
  --chat--message-line-height: 1.8;
  --chat--message--bot--background: var(--chat--color-white);
  --chat--message--bot--color: var(--chat--color-dark);
  --chat--message--bot--border: none;
  --chat--message--user--background: var(--chat--color-secondary);
  --chat--message--user--color: var(--chat--color-white);
  --chat--message--user--border: none;
  --chat--message--pre--background: rgba(0, 0, 0, 0.05);

  --chat--toggle--background: var(--chat--color-primary);
  --chat--toggle--hover--background: var(--chat--color-primary-shade-50);
  --chat--toggle--active--background: var(--chat--color-primary-shade-100);
  --chat--toggle--color: var(--chat--color-white);
  --chat--toggle--size: 64px;
}

/* Word Cloud Styles & Interactive States */
.word-default {
  fill: #4a5568;
  /* Dark grey slate color */
  cursor: pointer;
  user-select: none;
  transition: fill 0.2s ease;
}

.word-hovered {
  fill: #0d6dfd !important;
  /* Interactive blue on hover */
}

.word-selected {
  fill: #ffb703 !important;
  /* UPDATED: Vibrant theme yellow on click */
}

/* 1. Main Content Centering and Alignment (The Spacer Technique) */
/* By default, the text container is centered, and we use mt-auto to anchor tags at the bottom. */
.custom-layout-card .text-content-wrapper {
  justify-content: center;
  /* This handles "middle title" in Before state */
}

/* Anchors the tags footer to the very bottom, always. */
.custom-layout-card .card-tags-footer {
  margin-top: auto;
}

/* 2. Positioning within the centered content group */
.custom-layout-card .project-title-header {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

/* 3. Sliding Reveal Panel (Drawer Mechanism) */
.custom-layout-card .slide-reveal-panel {
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

/* ==============================================
       HOVER STATE ('After') Position Adjustments
    ============================================== */

/* 4. On Hover, switch alignment from middle-centered to top-aligned, creating a shift. */
.custom-layout-card:hover .text-content-wrapper {
  justify-content: flex-start;
}

/* 5. A slight bidirectional slide-up for the title itself for premium feel. */
.custom-layout-card:hover .project-title-header {
  transform: translateY(-8px);
}

/* 6. On Hover, expand and slide up the panel. */
.custom-layout-card:hover .slide-reveal-panel {
  max-height: 300px;
  /* Safe upper bound limit for truncated string block */
  opacity: 1;
  transform: translateY(0);
}

.contact-container {
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

    /* Modern Minimalist Input Fields */
    .contact-container .form-control,
    .contact-container .form-select {
        border-radius: 6px;
        border: 1px solid #dee2e6;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        background-color: #ffffff;
    }

    /* Subtle custom focus state to match the brand accent color */
    .contact-container .form-control:focus,
    .contact-container .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
        outline: 0;
    }

    /* Custom form wrapper card matching your solid panel elements */
    .contact-form-card {
        background-color: rgb(248, 249, 250);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .contact-submit-btn {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        border-radius: 6px !important;
        transition: transform 0.2s ease, background-color 0.2s ease;
    }
    
    .contact-submit-btn:hover {
        transform: translateY(-1px);
    }

    .thankyou-container {
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

    /* Form wrapper container matching your solid contact card panels */
    .thankyou-card {
        background-color: rgb(248, 249, 250);
        border: 1px solid rgba(0, 0, 0, 0.05);
        max-width: 540px;
        margin: 0 auto;
    }

    .countdown-ticker-box {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        font-weight: 500;
        background-color: #ffffff;
        border: 1px solid #dee2e6;
    }