@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: "Poppins", sans-serif;
}

:root{
    --bg-color: #081b29;
    --main-color: #64DD17;
    --text-color:#333;
    --second-text-color: #555;
    --white-color: #fff;
    --cover-color: linear-gradient(45deg, #64DD17, #00E676);
    --pages-color: linear-gradient(90deg, #fff, #EEEEEE);
    --border: .125rem solid #64DD17;
    --box-shadow: 0 0 .6rem rgba(0, 0, 0, .2);
}

body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
}

.wrapper {
    position: relative;
    width: 66rem;
    height: 45rem;
    padding: 2rem;
    perspective: 250rem;
    animation: show-animate 2s forwards;
}

@keyframes show-animate {
    0%, 30% {
        opacity: 0;
        transform: rotate(-20deg);
    }

    100% {
        opacity: 1;
        transform: rotate(0deg);
    }
}

.cover{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--cover-color);
    box-shadow: var(--box-shadow);
    border-top-left-radius: .6rem;
    border-bottom-left-radius: .6rem;
    transform-origin: right;
}

.cover.cover-left{
    z-index: -1;
}

.cover.cover-right {
    z-index: 100;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.cover.cover-right.turn{
    transform: rotateY(180deg);
}

.book{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    perspective: 250rem;
}

.book .book-page{
    position: absolute;
    width: 50%;
    height: 100%;
    background: var(--pages-color);
    box-shadow: 0 0 .6rem rgba(0, 0, 0, .1);
    display: flex;
    padding: 2rem;
}

.book.page-left {
    box-shadow: -.6rem .6rem .6rem rgba(0, 0, 0, .1);
}

.profile-page{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profile-page img{
    min-height: 50px;
    min-width: 180px;
    margin-bottom: .8rem;
}

.profile-page h1{
    font-size: 2.7rem;
    line-height: 1;
}

.profile-page h3{
    font-size: 1.3rem;
    color:  #00E676 ;
}

.profile-page .social-media{
    margin: .6rem 0 .8rem;
}

.profile-page .social-media a {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: var(--border);
    border-radius: 50%;
    font-size: 1.3rem;
    color: #00E676;
    margin: 0.2rem;
    transition: .5s;
}

.profile-page .social-media a:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.profile-page p {
    text-align: justify;
}

.profile-page .btn-box{
    margin-top: 1.2rem;
}

.btn{
    display: inline-flex;
    width: 9.5rem;
    height: 3rem;
    justify-content: center;
    align-items: center;
    background: #00E676;
    border: var(--border);
    border-radius: .3rem;
    font-size: .9rem;
    color: var(--white-color);
    font-weight: 500;
    margin: 0 1rem;
    transition: .5s;
}

.btn:hover {
    background: transparent;
    color: var(--main-color);
}

.btn-box .btn:nth-child(2) {
    background: transparent;
    color: var(--main-color);
}

.btn-box .btn:nth-child(2):hover {
    background: var(--main-color);
    color: var(--white-color);
}

.book-page.page-right {
    position: absolute;
    right: 0;
    transform-style: preserve-3d;
    padding: 1.5rem 2rem;
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.book-page.page-right.turn {
    transform: rotateY(-180deg);
}

.book-page .page-front,
.book-page .page-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pages-color);
    padding: 1.5rem 2rem;
}

.book-page .page-front {
    transform: rotateY(0deg) translateZ(1px);
}

.book-page .page-back {
    transform: rotateY(180deg) translateZ(1px);
}

.title{
    text-align: center;
    margin-bottom: 1rem;
}

.edu-box{
    border-left: var(--border);
}

.edu-box .edu-content {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 1.2rem;
}

.edu-box .edu-content p {
    font-size: small;
}

.edu-box .edu-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -0.65rem;
    width: 1.2rem;
    height: 1.2rem;
    background: var(--main-color);
    border-radius: 50%;
}

.edu-content .year {
    color: var(--main-color);
}

.edu-content .year i {
    margin-right: .4rem;
}

.number-page{
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
}

.nextprev-btn {
    position: absolute;
    bottom: .9rem;
    right: 1.5rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    font-size: 2rem;
    color: var(--second-text-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
}

.nextprev-btn:hover {
    color: var(--main-color);
}

.nextprev-btn.back {
    left: 1.5rem;
}

.services-box {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.services-box .services-content {
    flex: 1 1 10rem;
    border: var(--border);
    border-radius: .5rem;
    text-align: center;
    font-size: small;
    padding: .8rem .5rem 1.1rem;
    transition: .3s ease;
}

.services-box .services-content:hover {
    box-shadow: var(--box-shadow);
}

.services-content i {
    font-size: 1.4rem;
    color: var(--main-color);
}

.services-content h3 {
    font-size: 1.1rem;
}

.services-content p {
    margin: .1rem;
}

.skill-box {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.skill-box .skill-content {
    flex: 1 1 20rem;    
}

.skill-content {
    line-height: 1;
    margin-bottom: .6rem;
    font-size: smaller;
}

.skill-content .content {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.skill-content .content span {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: .3rem;
    font-weight: 500;
    transition: .3s ease;
}

.skill-content .content span:hover {
    box-shadow: var(--box-shadow);
}

.skill-content .content span i {
    font-size: 1.3rem;
    color: var(--main-color);
}

.contact-box {
    text-align: center;
}

.contact-box .field {
    width: 100%;
    background: transparent;
    border: var(--border);
    border-radius: .3rem;
    padding: .8rem;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-box .field::placeholder {
    color: var(--text-color);
}

.contact-box textarea {
    resize: none;
    height: 15rem;
}

.contact-box .btn {
    cursor: pointer;
}

.back-profile {
    position: absolute;
    bottom: 1.2rem;
    right: 2rem;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: var(--border);
    border-radius: .3rem;
    font-size: 1.1rem;
    color: var(--main-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
}

.back-profile:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.back-profile p {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(.5);
    font-size: 1rem;
    color: var(--main-color);
    opacity: 0;
    transition: .5s;
}

.back-profile:hover p {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    top: -1.8rem;
}

ul {
    list-style-type: none;     /* Removes bullet points */
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

ul li {
    display: flex;             /* Label + Value inline */
    align-items: flex-start;   /* Keeps top alignment consistent */
    margin-bottom: 6px;        /* Space between lines */
}

ul li strong {
    display: inline-block;
    width: 230px;              /* Ensures equal space for all labels */
    font-weight: 600;
    color: #222;
}

ul li span {
    flex: 1;                   /* Makes value take remaining space */
    color: #444;
}


.student-details {
    background-color: #f7f8f8;
    border-left: 4px solid #0056b3;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 40px auto;
    max-width: 700px;
    font-family: 'Poppins', sans-serif;
    color: #222;
}

.student-details-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.student-year {
    color: #0056b3;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.student-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.student-details-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #d6dce5;
    padding: 6px 0;
}

.student-details-list strong {
    color: #333;
    font-weight: 600;
    min-width: 200px;
}

.student-details-list span {
    color: #555;
}



/* Overview Section Styling (Compact Version) */


/* Header */
.overview-header {
  background: #fff;
  color: linear-gradient(90deg, #64DD17, #85c783);
  padding: 10px 20px;
  border-bottom: 3px solid #64DD17;
  text-align: left;
}

.overview-header h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

/* Content */
.overview-content {
  padding: 18px 30px;
  color: #222;
}

.overview-content p {
  font-size: 14.5px; /* smaller text for better fitting */
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
  color: #333;
  transition: all 0.3s ease;
}

.overview-content p:hover {
  transform: translateX(3px);
  color: #002d66;
}

/* Text Highlights */
.overview-content strong {
  color: #0056b3;
  font-weight: 600;
}

.overview-content em {
  color: #444;
  font-style: italic;
  background: rgba(0, 86, 179, 0.05);
  padding: 1px 4px;
  border-radius: 4px;
}

/* Decorative Line */
.overview-section::after {
  content: "";
  display: block;
  height: 3px;
  width: 50px;
  background: linear-gradient(90deg, #0056b3, #4a90e2);
  margin: 8px auto 0;
  border-radius: 2px;
}


/* CSS */
.week1-content {
    font-family: Arial, sans-serif;
    max-width: 700px;
    margin: 0 auto;
}

.week1-content .title {
    text-align: center;
    color: #222;
    font-size: 18px;
    margin-bottom: 15px;
}

.week1-content .edu-content strong {
    font-size: 14px;
}

.week1-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-top: 5px;
}

.week1-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
    font-size: 14px;
    color: #333;
}

.week1-content ul li {
    display: flex;           /* flex layout */
    align-items: flex-start;  /* align top */
    margin-bottom: 8px;
}

.week1-content ul li strong {
    display: inline-block;
    width: 160px;           /* fixed width for uniform alignment */
    flex-shrink: 0;         /* do not shrink */
}

.week1-content ul li::before {
    content: "✔";           /* checkmark symbol */
    color: #4CAF50;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}



/* Activity list with checkmark + fixed-width heading style */
.activity-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}

.activity-list li {
  position: relative;
  padding-left: 25px; /* space for checkmark */
  margin-bottom: 10px;
  font-size: 14px;
  color: #222;
  line-height: 1.5;
  width: 100%; /* make li take full width of container */
}

/* Checkmark */
.activity-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
  font-weight: 600;
  font-size: 13px;
}

/* Heading on its own line, no wrapping */
.point strong {
  display: inline-block;    /* inline-block so it takes width of content */
  font-weight: 600;
  color: #111;
  margin-bottom: 2px;
  white-space: nowrap;      /* prevents heading from breaking */
}

/* Content below heading */
.point span {
  display: block;
  margin-left: 0;
  word-wrap: break-word;    /* wrap content naturally */
}
.activity-list li:not(.point strong) {
  font-weight: 400;
}

/* Graphs layout */
.graphs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 12px;
  justify-content: space-between;
}

.graph-item {
  width: calc(50% - 7px); /* two per row */
  text-align: center;
}

.graph-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.graph-item figcaption {
  font-size: 13px;
  color: #374151;
  margin-top: 6px;
  text-align: left;
}

/* Remove this rule to prevent the last graph being bigger */
/* .graph-item:last-child {
  width: 100%;
} */






