
.navbar-brand {
  font-size: 2rem;
  font-family: "Roboto Serif", serif !important;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "GRAD" 0;
}

.navbar-nav .nav-link {
  font-size: 1.25rem;                         
  font-family: "Roboto Serif", serif;     
  font-weight: 700;                        
}

@media (max-width: 767.98px) {
  .navbar-nav .nav-link {
    font-size: 1.25rem;
  }
}


body {
  background-color: #cec9c9d5;
}

h1 {
  text-align: center;
  margin-top: 1rem;
  font-size: 2.5rem;
  font-family: "Roboto Serif", serif !important;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "GRAD" 0;
}

h2 {
  text-align: center;
  margin-top: 1rem;
  font-size: 2rem;
  font-family: "Roboto Serif", serif !important;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "GRAD" 0;
}

p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-family: "Roboto", sans-serif !important;
}

.res-card {
    background-color: #ede3ff;   
    border: 2px solid #000;     
    border-radius: 12px;         
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/*  hover effect */
.res-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}


/*caclulator style*/

.calc-body {
  background-color: #cec9c9d5;
}

.calc {
  margin: 3.75rem auto;
  /* 60px */
  border-collapse: collapse;
  width: 18rem;
  /* 260px */
  table-layout: fixed;
  background: #fbfbfc;
  border-radius: 0.75rem;
  /* 12px */
  overflow: hidden;
}

.calc-display {
  background: #33068f;
  text-align: right !important;
  padding: 1.25rem 1.75rem 1.25rem 0.75rem !important;
  /* trbl */
  font-size: 2rem !important;
  /* 42px */
  border: none;
}

.calc td {
  border: 1px solid #4b0ec2;
  text-align: center;
  padding: 0.875rem 0;
  /* 14px vertical */
  color: #fff;
  font-size: 1.5rem;
  /* 20px */
}

.top-btn {
  background: #a595ce;
  font-size: 1rem;
  /* 16px */
}

.op {
  background: #7b32f5;
  font-size: 1.5rem;
  /* 24px */
}

.num {
  background: #9669ee;
}

.zero {
  text-align: left;
  padding-left: 1.5rem;
  /* 24px */
}

.calc td:not(.calc-display):hover {
  filter: brightness(1.1);
}

/* end calculator style */

/* Rotating Headline - Help from GPT for wordwrapper! */

.skills-highlight {
  background: #f4ecff;          
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
}

/* Label style */
.cd-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.5rem;
  color: #6610f2;
  font-weight: 700;
}

/* Rotating word appearance */
.cd-words-wrapper b {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2b2340;                
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cd-words-wrapper b.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cd-words-wrapper b:not(.is-visible) {
  opacity: 0;
  transform: translateY(10px);
}

.cd-headline {
  font-size: 1.75rem;
  font-weight: 600;
}

.cd-words-wrapper {
  display: inline-block;
  position: relative;
  vertical-align: top;
}

/* hide all words by default */
.cd-words-wrapper b {
  display: none !important;
}

/* only the "visible" word should show */
.cd-words-wrapper b.is-visible {
  display: inline !important;
}

/* hidden words stay hidden */
.cd-words-wrapper b.is-hidden {
  display: none !important;
}

.cd-headline .cd-label {
  display: block;         
  margin-bottom: 0.25rem;  /
}

/* === End Rotating headline === */

.btn-primary {
  background-color: #6610f2 !important;
  border-color: #6610f2 !important;
}

.btn-primary:hover {
  background-color: #520dc2 !important;
  border-color: #520dc2 !important;
}

/* === purple accordian */

.accordion {
  --accordion-border-radius: 0.75rem;
  --accordion-inner-border-radius: 0.75rem;
}

/* Each accordion item */
.accordion-item {
  border: 1px solid #d8c9ff;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background-color: #f4ecff; /* light lavender */
}

/* Header button (collapsed state) */
.accordion-button {
  background-color: #f4ecff;   /* light lavender */
  color: #2b2340;              /* dark text */
  font-weight: 600;
}


.accordion-button:focus {
  box-shadow: 0 0 0 0.1rem rgba(102, 16, 242, 0.4);
}

/* Header when open */
.accordion-button:not(.collapsed) {
  color: #ffffff;
  background-color: #6610f2; 
  box-shadow: none;
}

/* Change the little arrow color when open */
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1); 
}

/* Body content */
.accordion-body {
  background-color: #ffffff;
  color: #2b2340;
}

.accordion-button {         
  font-size: 1.4rem;            
  font-weight: 600;             
}

#carouselExampleAutoplaying .carousel-item { aspect-ratio: 16 / 9; }
  #carouselExampleAutoplaying .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
