body{
    margin: 0;
    padding: 0;
    max-width: 100%;

}
header{
    display: flex;
    padding: 10px 10px;
    flex-direction: row;
    max-width: 100%;
    justify-content: space-between;
    background-color: black;
    align-items: center;
}
.logo img{
    width: 50px;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
}
nav img{
    max-width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.15s;
    
}
nav img:hover{
    transform: scale(1.2);
}
nav img:active{
    transform: scale(0.8);
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1); /* grow 10% */
  }
  100% {
    transform: scale(1);
  }
}
.hero {
    min-height: 90vh;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 20px;
}
.hero-content {
    max-width: 600px;
}
.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero p {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 25px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.primary-btn {
    background: white;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.primary-btn:hover {
    transform: scale(1.05);
    background: #e5e5e5;
}
.secondary-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.secondary-btn:hover {
    background: white;
    color: black;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }
}
.activities{
    display: flex;
    max-width: 100%;
    min-height: 80vh;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    
}
.pomodoro-container {
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;

    background: rgba(0, 0, 0, 0.2);   /* semi-transparent black */
    backdrop-filter: blur(10px);      /* blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(0,0,0,0.2); /* subtle border */
    color: white;                      /* text stands out */
}
#timer-display{
    font-size: 2rem;
    font-weight: bold;
    margin: 10px;
}
button {
  background-color: black;  
  color: white;            
  border: none;             
  padding: 10px 20px;       
  font-size: 16px;         
  cursor: pointer;          
  transition: all 0.3s ease; 
  border-radius: 5px;      
}

button:hover {
  background-color: #333;   
  transform: scale(1.05);  
}

button:active {
  background-color: #555;   
  transform: scale(0.95);   
}
.todo-container {
    border-radius: 20px;
    padding: 20px 40px;
    margin-top: 20px;

    background: rgba(0, 0, 0, 0.2);   /* same glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(0,0,0,0.2);
    color: white;
}
@media (max-width: 768px) {
  .todo-container {
    width: 90%;           /* takes ~90% of screen */
    margin: 20px auto;    /* centers it horizontally */
    padding: 15px 20px;   /* reduce padding for small screens */
  }
}
.task-input input {
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;

    background: rgba(255,255,255,0.1);
    color: white;
}

.task-input button {
    background: black;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.task-input button:hover {
    background: #333;
}

.task-input button:active {
    background: #555;
}
#task-list li {
    background: rgba(255,255,255,0.1);
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
}
.progress-container {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 10px;
    width: 0%;
    background: white;
    transition: width 0.3s ease;
}
.completed{
    text-decoration: line-through;
    color: blue;
}
@media (max-width: 768px) {

  .todo-container {
    padding: 15px 20px; /* reduce side spacing */
    margin: 15px;
  }

  .task-input {
    display: flex;
    flex-direction: column; /* stack input + buttons */
    gap: 10px;
  }

  .task-input input {
    width: 100%; /* full width */
  }

  .task-input button {
    width: 100%; /* buttons take full width */
    margin-left: 0; /* remove side spacing */
  }

  #task-list li {
    font-size: 14px; /* slightly smaller text */
  }

  .progress-container {
    margin-top: 10px;
  }

  .progress-bar {
    height: 8px; /* slimmer bar for mobile */
  }

}
.grind-aid {
    max-width: 100%;
    min-height: 100vh;
    background-color: black;
    justify-content: center;
    align-items: center;
    position: relative; /* IMPORTANT */
    color: white;
}
.custom-shape-divider-bottom-1775678322 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1775678322 svg {
    position: relative;
    display: block;
    width: calc(127% + 1.3px);
    height: 105px;
}

.custom-shape-divider-bottom-1775678322 .shape-fill {
    fill: #FFFFFF;
}

/** For mobile devices **/
@media (max-width: 767px) {
    .custom-shape-divider-bottom-1775678322 svg {
        width: calc(127% + 1.3px);
        height: 93px;
    }
}
.shape-fill {
    fill: white; /* or whatever your next section color is */
}
.journal-container{
    width: 100%;
    display: flex;
    justify-content: center;
}
.journal {
    max-width: 500px;
    margin: 10% auto;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
#journalInput {
    width: 100%;
    height: 120px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;

    background: rgba(255,255,255,0.1);
    color: white;
    resize: none;
    margin-bottom: 10px;
}
#saveBtn {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;

    background: black;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

#saveBtn:hover {
    background: #333;
}

#saveBtn:active {
    background: #555;
}

#journalRecord {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 20px;

    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 10px 30px rgba(0,0,0,0.4);

    color: white;
}
#journalRecord h3 {
    text-align: center;
    opacity: 0.6;
    font-weight: 400;
    letter-spacing: 1px;
}
.journal-entry {
    background: rgba(255,255,255,0.08);
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;

    border: 1px solid rgba(255,255,255,0.05);

    transition: all 0.3s ease;
}
.journal-entry:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
/* Overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

/* When active */
.modal.active {
    opacity: 1;
    pointer-events: all;
}
.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 20px;

    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);

    color: white;
    position: relative;

    transform: scale(0.8);
    transition: 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}
.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 20px;

    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);

    color: white;
    position: relative;

    transform: scale(0.8);
    transition: 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}
.modal-body p {
    margin-top: 20px;
    line-height: 1.6;
    font-size: 15px;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;

    font-size: 22px;
    cursor: pointer;
    color: white;
    opacity: 0.7;
    transition: 0.2s;
}

.close-btn:hover {
    opacity: 1;
}
#quotes {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    max-width: 500px;
    margin: 60px auto;
    padding: 30px 20px;

    background: rgba(0, 0, 0, 0.3); /* dark glass on white bg */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.1);

    color: white;
}
#quote {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}
#author {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}
#nextBtn {
    background: white;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;

    cursor: pointer;
    transition: 0.3s ease;
}

#nextBtn:hover {
    background: #afafaf;
    transform: scale(1.05);
}

#nextBtn:active {
    background: #555;
    transform: scale(0.95);
}
.footer {

    background: white;
    color: black;
    padding: 20px 10px;
    margin-top: 50px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-content {
    text-align: center;
}

.footer p {
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: 0.3s ease;
}

/* subtle hover effect */
.footer p:hover {
    opacity: 1;
}