/* Google font*/

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Science+Gothic:wght@100..900&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

:root {
    --header-height: 3.5rem;

    /* Colors */
    --heroRED-color: #d45752;
    --darkred-color: #721616;
    --blue-color: #1b1386;
    --blue-color_light: #6055f2;
    --blue-color_mid: #392fc9;
    --blue-color_darker: #090631;
    ;
    --black-color: #272727;
    --white-color: #fff;
    --white-grey: #bcbec0;
    --highlighter: #f2ba70;
    --special-color-green: #3ed68d;
    --special-color-yellow: #fff000;
    --special-color-blue: #59cdff;
    --special-color-pink: #e97ff3;

    /* Font-family */
    --body-font: "Zilla Slab", serif;
    --header-family: "Science Gothic", sans-serif;
    --special-font: "Caveat", cursive;

    /* Font and Typography */
    /* .5rem =  8 | 1rem = 16rem */
    --biggest-font-size: 4rem;
    --h1-font-size: 3rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 4rem;
    --normal-font-size: 1rem;
    --medium-font-size: 1.3rem;
    --small-font-size: 0.813rem;
    --smallest-font-size: 0.75rem;
    --special-font-family: "Orbitron", sans-serif;

    /* box shadow */
    --main-shadow-box-shadow: 0 0.1rem 3rem -0.25rem #35100f;
    --shadwo-box-shadow: 0 0.1rem 2rem -0.25rem #35100f;

    /* Font-weight */
    --weight-regular: 400;
    --weight-bold: 700;

    /*margin and padding*/
    --bigest-marigin-top: 9rem;
    --biger-marigin-top: 8rem;
    --big-marigin-top: 5rem;
    --small-margin-block: 2rem;
    --smaller-margin-block: 1rem;
    --smallest-margin-block: 0.5rem;

    /* z index*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* Reponsive typography*/
@media screen and (min-width: 1150px) {
    :root {
        --biggest-font-size: 4.5rem;
        --h1-font-size: 3rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smallest-font-size: 0.813rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Zilla Slab", serif;
    font-weight: 300;
    font-style: normal;
    background: var(--white-color);
    color: var(--black-color);
    overflow-x: hidden;

}

/* Header */
.nav-header {
    width: 100%;
    padding: 10px 25px;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: var(--highlighter);
    transition: background 0.3s ease;
}

.nav-inner {
    max-width: 1440px;
    margin-inline: auto;
    padding: 10px 50px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-items: center;
    box-sizing: border-box;
    text-align: center;
}


.nav-logo img {
    width: 80px;
    /* adjust size */
    height: auto;
}


/* Dropdown menu */
.has-dropdown {
 position: relative;


}

.dropdown {
  top: 100%;
  left: 0;
  min-width: 200px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  border-radius: 6px;
  z-index: 1000;
}

.dropdown li a {
  display: block;
  padding: .4rem 2rem;
  color:var(--blue-color_mid);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing:.5px;

}

.dropdown li a:hover {
color: var(--blue-color_darker)
}

/* Show dropdown */
.dropdown.open {
  max-height: 500px; /* large enough to show all items */
  opacity: 1;
}

/* Arrow rotation */
.menu-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 1rem;
      display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--blue-color);
    border-bottom: 2px solid var(--blue-color);
    transform: rotate(45deg);
    transition: transform 0.35s ease;
}

.menu-arrow.open {
  transform: rotate(-135deg); /* points up */
  color: var(--blue-color_mid);
}


.menu-arrow:hover{
    border-right: 2px solid var(--blue-color_darker);
    border-bottom: 2px solid var(--blue-color_darker);
}



.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons .icon {
    width: 22px;
    height: 22px;
    fill: var(--blue-color);
    transition: opacity 0.2s ease;
}


.social-icons a:hover .icon {
    fill: var(--blue-color_darker);
}

.menu-container {
    display: flex;
    gap: 10px;
    font-family: var(--header-family);
}

/* Burger Icon */
.burger {
    width: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    width: 100%;
    height: 3px;
    background: var(--blue-color);
    transition: all 0.4s ease;
}

.burger:hover span {
    background: var(--blue-color_darker);
}

.burger.active span {
    background: var(--blue-color_mid);
}

/* Burger Animation */
.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Fullscreen Nav */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    color: var(--white-color);
    background: var(--highlighter);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.nav-overlay.active {
    transform: translateY(0);
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li {
    margin: 5px 0;
    font-family: var(--header-family);
}

.nav-links a {
    font-size: 2rem;
    text-decoration: none;
    color: var(--blue-color);
    position: relative;
    display: inline-block;
    display: flex;
    justify-items: center;
    justify-content: center;
    align-items: center;
    gap: 10px;

}

/* Hover Underline */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--white-grey);
    transition: width 0.3s ease;
}


.nav-links a:hover {
 color: var(--blue-color_darker);
}

/* Scroll arrows */
.scroll-arrow {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 998;
}


#scrollToggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--blue-color);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}

.arrow {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-right: 3px solid var(--white-color);
    border-bottom: 3px solid var(--white-color);
    transform: rotate(0deg); /* points up */
    transition: transform 0.35s ease;
}

#scrollToggle:hover {
    background: var(--blue-color_mid);
    transform: scale(1.05);
}

#scrollToggle .arrow {
    width: 10px;
    height: 10px;
    transform: rotate(-135deg);
    color: var(--white-color);
    /* UP */
    transition: transform 0.35s ease
}

/* Point DOWN */
#scrollToggle.down .arrow {
    transform: rotate(45deg);
}



/* HERO SECTION */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    /* 2 columns */
    gap: 1rem;
    width: 100%;
    align-items: center;
    min-height: min(60svh, 820px);
    padding-block: clamp(4rem, 5vh, 3.5rem);
    padding-inline: 1rem;
    font-weight: 300;
    justify-items: center;
}

.hero-inner {
    grid-column: 1 / 2;
    align-self: center;
    opacity: 0;
    transform: translateY(24px);
    animation: heroContentIn 0.6s ease-out forwards;
    animation-delay: 0.6s;
    /* starts AFTER image */
}

.hero-inner h2 {
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeIn 0.6s ease-out forwards;
    animation-delay: 0.6s;
    /* starts after image */
}

@keyframes heroContentIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .image-card img,
    .hero-inner {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero-title {
    font-family: var(--header-family);
    text-align: start;
    color: var(--blue-color);
    line-height: 50px;
    margin-top: 1rem;
}

.hero-subtext {
    font-style: italic;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-weight: 500;

}

.hero-intro,
.footer-mail {
    font-family: var(--header-family);
    color: var(--blue-color);
    letter-spacing: 1px;
    font-size: 1rem;

    /* sizing */
    display: inline-block;
    width: fit-content;
    /* 🔑 stops at last letter */
    white-space: nowrap;

    /* typing effect */
    overflow: hidden;

    /* animation */
    clip-path: inset(0 100% 0 0);
    animation: typing 2.6s steps(28, end) forwards, blink 0.7s step-end infinite;
}


.project_body span a {
    margin-block: 1rem;
    font-family: var(--header-family);
}

.hero span a {
    color: var(--blue-color);
    font-size: 1.3rem;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    font-family: var(--header-family);

}

.project_body span a {
    color: var(--blue-color);
    font-weight: 500;
}


.hero span a:hover,
.project_body span a:hover {
    color: var(--blue-color_mid);
}

.hero-subtitle {
    font-weight: 300;
    text-align: start;
}

h2 {
    font-weight: 200;
    color: var(--black-color);
}

h3 {
    font-weight: 300;
    font-family: var(--header-family);
    font-size: 1.5rem;
}

.hero-inner {
    grid-column: 1 / 2;
    align-self: center;
    /* <-- ensures vertical alignment inside its cell */
    display: block;
    text-align: center;
}

.image-card {
    grid-column: 2 / 3;
    display: flex;
    justify-content: center;
    /* center the image horizontally */
    align-items: center;
    /* center vertically within the grid row */
}

.image-card img {
    width: 150px;
    max-width: 300px;
    opacity: 0;
    transform: scale(0.85);
    animation:
        imagePop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
        imageWiggle 2s ease-in-out infinite;
    animation-delay:
        0.2s,
        /* pop starts */
        1.8s;
    /* wiggle starts AFTER hero-inner */
}

@keyframes imagePop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroContentIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle, slow wiggle */
@keyframes imageWiggle {
    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1) rotate(1deg);
    }

    50% {
        transform: scale(1) rotate(0deg);
    }

    75% {
        transform: scale(1) rotate(-1deg);
    }

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

.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}

/* typing motion */
@keyframes typing {
    to {
        clip-path: inset(0 0 0 0);
    }
}


/* Word-by-word animation */
.animate-word span {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
    animation: wordFade 0.6s forwards;
}

@keyframes wordFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.main {
    width: 100%;
    align-items: center;
    padding: 2rem 2rem;
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.project_title {
    padding-block: 1rem;
    font-size: 2rem;
    font-family: var(--header-family);
    color: var(--black-color);
    font-weight: 500;
    width: 100%;
}

.project_body,
.project_videos .project_body {
    margin-inline: 2rem;

}

.project_body {
    text-align: left;
}

#cyberattack-vid .project {
    display: flex;
    justify-content: center;
    /* horizontal centering */
    align-items: center;
    /* vertical centering */
    text-align: center;

}

.project_body a {
    display: inline-block;
    white-space: nowrap;
    color: var(--blue-color);
    font-family: var(--header-family);
    font-weight: 400;
    font-size: 1rem;
}

.project_body a:hover {
    color: var(--blue-color_mid);

}

.project_body a:first-of-type {
    padding-inline-end: 10px;
}

.project_body a:last-of-type {
    padding-inline-end: 0;
}

/* ===============================
   FLIPBOOK CONTAINER
=============================== */
.flipbook-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    padding-inline: 1rem;
}

/* ===============================
   NAV BUTTONS
=============================== */
.flipbook-container button {
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 2rem;
    display: grid;
    place-items: center;
    color: var(--blue-color)
}

.nav.prev {
    justify-self: start;
}

.nav.next {
    justify-self: end;
}

/* ===============================
   BOOK WRAPPER
=============================== */
.book {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 1rem auto;
    border: 1px solid var(--white-grey);
}

/* ===============================
   PAGE BASE
=============================== */
.page {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

/* ===============================
   PAGE ORIGINS
=============================== */
.page.left {
    transform-origin: right center;
}

.page.right {
    transform-origin: left center;
}

/* ===============================
   FLIP STATES
=============================== */
.book.flip-next .page.left {
    transform: rotateY(-180deg);
}

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

/* ===============================
   CANVAS STYLING
=============================== */
.page canvas {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 3 / 4;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ===============================
   PAGE NUMBER INDICATOR
=============================== */
#pageNumberContainer {
    grid-column: 1 / -1;
    /* span full width of the grid */
    text-align: center;
    margin-bottom: 2rem;
}

#pageNumber {
    border: 1px solid var(--white-grey);
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#pageNumber:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}


.main_inner,
.More_project {
    min-height: 60vh;
    /* full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 👈 vertical centering */
    align-items: center;
    /* 👈 horizontal centering */
}


.More_project {
    margin-block: 2rem;
}


.main_video {
    margin-block: 1rem;
}

.main .subtitles {
    letter-spacing: 5px;
}

.project_videos {
    margin-top: 5rem;
}

.project_videos .project_body {
    margin-bottom: 5rem;
}

.video-text {
    justify-items: center;

}

.instagram-reel {
  max-width: 420px;
  margin: 0 auto;
}

.instagram-reel iframe {
  width: 100%;
  height: 480px;
}

.ed_video,
.instagram-reel {
    width: 100%;
    max-width: 1024px;
    aspect-ratio: 16 / 9;
    height: auto;
}

#AR25_file {
    height: 562px;
}



.gallery-wrapper,
.gallery-wrapper2,
.gallery-wrapper3 {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


.gallery-direction {
    font-family: var(--header-family);
    font-size: .8rem;
    font-weight: 600;
    padding-bottom: .5rem;
}

.arrow-right {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.gallery {
    display: flex;
    gap:5px;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
}

.gallery::-webkit-scrollbar {
    display: none;
}


.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.gallery-indicators span {
    width: 8px;
    height: 8px;
    border: 1px solid var(--black-color);

    transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-indicators span.active {
    background: var(--black-color);
    transform: scale(1.3);
}

.subtitles {
    align-items: center;
    text-align: center;
    margin-block: 2rem;
    letter-spacing: 5px;
}

.More_project .project,
.video-text {
    align-items: center;
    text-align: center;
    margin-block: 2rem;
    padding-inline: 4rem;
}

.item {
    flex: 0 0 90vw;
    height: 66%;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
    background: #5c0626;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.item:hover img {
    transform: scale(1.05);
}

.caption {
    position: relative;
    left: 15px;
    bottom: 15px;
    padding-top: 20px;
    border-radius: 6px;
    max-width: 100%;
    font-size: 14px;
    color: var(--white-color);
}



.gallery-wrapper2 .item {
    background: #192442;  
}

.gallery-wrapper3 .item {
    background: #1d1e1e;  
}

/*--start of About me ---*/

.about {
    max-width: 900px;
    margin: 6rem auto;
    padding: 0 1.5rem;
}

.about-title {
    font-family: var(--header-family);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: var(--blue-color);
}

.accordion {
    border: 1px solid var(--black-color);
    padding: 2rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: .5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--blue-color);
}

.accordion-header span:first-child {
    font-weight: 400;
    letter-spacing: 0.3px;
    font-family: var(--header-family);
}

/* Arrow */
.accordion-arrow {
    width: 14px;
    height: 14px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header[aria-expanded="true"] .accordion-arrow {
    transform: rotate(-135deg);
}

.accordion-header span:hover,
.accordion-arrow:hover {
    color: var(--blue-color_mid);

}




/* Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    margin: 1rem 0 1rem;
    max-width: 720px;
    line-height: 1.7;
    opacity: 0.85;
}

.accordion-subheader {
    font-weight: 600;
}


.accordion-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.accordion-content li {
    margin-bottom: 0.8rem;
}

section,
footer {
    scroll-margin-top: 90px;
    /* match header height */
}

/*--Footer ---*/

.footer {
    width: 100%;
    padding: 1rem 5vw;
    text-align: center;
    align-items: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-name {
    font-family: var(--header-family);
    color: var(--blue-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.footer-rights {
    margin: 4px 0 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.icon-link:hover,
.flipbook-container button:hover {
    opacity: 0.6;
    color: var(--blue-color_mid);
}

.icon {
    width: 22px;
    height: 22px;
    fill: var(--blue-color);
}

/* ----------------------------
   RESPONSIVE BREAKPOINTS
------------------------------*/


.menu-label {
    display: none;
}

/* 300px screens */
@media (min-width: 300px) {


    .nav-logo img {
        width: 35px;
        /* perfect for 320-375 width */
        height: auto;
    }


    .nav-header {
        padding: 0px 10px;
    }

    .nav-inner {
        padding: 10px 5px;
    }


    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
    }


    .dropdown li a {
    font-size: .8rem;
    width: 100%;
    max-width: 1440px;
}

    .social-icons .icon-link span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    section,
    .hero-intro {
        width: 100%;
        align-items: center;
    }

    .hero-inner {
        grid-column: 1 / -1;
        align-self: center;
        order: 2;
        width: 300px;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        line-height: 2.5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        align-items: center;

    }

    .hero-inner h2 {
        padding-top: 1rem;
        padding-inline: 15px;
        align-items: center;
        font-size: 1rem;
        text-align: center;
    }

    .hero span a {
        font-size: 1.2rem;
        text-align: center;
        margin-top: 2rem;
        padding: 5px;
        top: 20px;
        position: relative;
        width: 300px;


    }

    .hero-intro,
    .footer-mail {
        text-align: center;
    }



    .footer-mail {
        font-size: 1rem;

    }



    .image-card {
        grid-column: 1 / -1;
        /* ✅ force into single column */
        margin-top: 1rem;
        order: 1;
        width: 100%;
    }

    .image-card img {
        width: 150px;
        max-width: 420px;
        height: auto;
        object-fit: cover;
    }



    .main {
        padding: 0rem;
        margin-top: 0;

    }

    .main_pdf {
        width: 100%;
        display: flex;
        justify-content: center;
        /* horizontal center */
        align-items: center;
        /* vertical center */
    }

    .subtitles {
        letter-spacing: 2px;
        font-size: 1rem;
        margin-block: 2rem;
    }

    .project_title {
        font-size: 1rem;
        padding-inline: .5rem;
    }

    #AR25_file {
        height: 350px;
        width: 100%;
    }

    .project_videos {
        margin-top: 3rem;
    }


    .project_body,
    .project_videos .project_body,
    .gallery-direction {
        margin-inline: 1rem;
    }

    .video-text .project_body {
        margin-inline: 0;
    }


    .project_body span {
        margin-block: 1rem;
        display: block;
        margin: .5rem auto;

    }

    .project_videos .project_body {
        margin-bottom: 1rem;
    }

    .More_project .project {
        padding-inline: 0rem;
        margin-block: 1rem;
    }

    .about {
        padding: 0 .5rem;
    }

    .accordion {
        padding: .5rem;
    }

    .accordion-header {

        font-size: 1rem;
    }

    .accordion-arrow {
        width: 10px;
        height: 10px;
        margin-inline: 10px;

    }


    .accordion-content p {
        margin: .5em 0 .5rem;
        max-width: 720px;
        line-height: 1.3;

    }


    .footer-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        /* ✅ vertical centering */
        flex-wrap: wrap;
        gap: 20px;
    }

    .video-text {

        padding-inline: 1rem;
    }




}


/* Tablets (min 600px) */
@media (min-width: 600px) {


    .hero-inner {
        width: 500px;
    }

    .hero-intro,
    .footer-mail {
        font-size: 1.3rem;
        text-align: center;
    }

    .nav-links a {
        font-size: 2rem;
        width: 100%;  
    }


.nav-links li {
    margin: 10px 0;
    font-family: var(--header-family);
}

    .dropdown li a {
        font-size:1.3rem;
        width: 100%;
        padding-inline: 3rem;
    }

    .menu-arrow {
    width: 15px;
    height: 15px;
    border-right: 3px solid var(--blue-color);
    border-bottom: 3px solid var(--blue-color);

}

    #AR25_file {
        height: 380px;
        width: 100%;
    }

    .hero-inner h2 {
        padding-inline: 25px;

    }


    .project_body,
    .project_videos .project_body,
    .video-text,
    .gallery-direction {
        margin-inline: 2rem;
    }


    .accordion {
        padding: 1rem;
    }




    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }



}

@media (max-width: 767px) {
    .flipbook-container {
        display: flex;
        /* row layout */
        justify-content: space-between;
        /* buttons at edges */
        align-items: center;
        /* vertical centering */
        padding-inline: 0rem;
        width: 100%;
    }

    .nav.prev,
    .nav.next {
        flex-shrink: 0;
        /* prevent buttons from shrinking */
    }

    .book {
        width: 70%;
        /* book width fits between buttons */
        max-width: 300px;
        /* optional cap */
        display: flex;
        justify-content: center;
        margin: 1rem auto;
        /* center between buttons */
    }

    .book canvas {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    #rightPage {
        display: none;
        /* single-page mode */
    }
}

/* Tablets landscape (min 768px) */
@media (min-width: 768px) {

    .nav-links li {
        margin: 28px 0;
    }


    .dropdown li a {
        font-size: 1.4rem;
        width: 100%;
        padding-inline: 3rem;
    }

    #AR25_file {
        height: 600px;
        width: 100%;
    }


    #rightPage {
        display: block;
    }


    #rightPage,
    #leftPage {
        width: 300px;
    }

    .page canvas {
        max-width: 360px;
    }


    .social-icons .icon-link span {
        display: inline;
    }

    .social-icons .icon-link span {
        margin-left: 6px;
        transition: opacity 0.2s ease;
    }

    .hero {

        min-height: min(50svh, 820px);

    }


}

/* Desktop (min 1024px) */
@media (min-width: 1024px) {

    body {
        font-size: var(--medium-font-size);
    }

    .nav-header {
        padding: 0px 50px;
    }


    .hero {
        max-width: 1200px;
        margin-inline: auto;
        padding-inline: 2rem;
        min-height: min(45svh, 600px);
        padding-block: clamp(6rem, 5vh, 3.5rem);
    }

    .hero-title,
    .hero-inner {
        width: 500px;
    }

    .hero-inner h2 {
        font-size: 1.3rem;

    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-intro {
        white-space: normal;
        max-width: 100%;
        text-align: center;
    }

    .project_title {
        padding-block: 1rem;
        font-size: 1.5rem;
        font-family: var(--header-family);
        font-weight: 500;
    }


    .project_body,
    .video-text .project_body,
    .project_title {
        width: 800px;
    }

    .page canvas {
        max-width: 420px;
    }

     #rightPage,
    #leftPage {
        width: 450px;
    }

    .gallery-direction {
        align-items: center;
        text-align: center;
        font-size: 1rem;

    }

    .item {
        flex: 0 0 70vw;

    }

    .gallery-wrapper,
     .gallery-wrapper2,
     .gallery-wrapper3
     {
        padding: 2rem;
    }
}




/* Larger Desktop (min 1440px) */
@media (min-width: 1440px) {
    .nav-links a {
        font-size: 2rem;
    }


.nav-links li {
    margin: 10px 0;
}

    .dropdown li a {
        font-size:1.6rem;
        width: 100%;
    }

    .menu-arrow {
    width: 18px;
    height: 18px;
    border-right: 3px solid var(--blue-color);
    border-bottom: 3px solid var(--blue-color);

}

    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* FORCE horizontal */
        align-items: center;
        gap: 1rem;
        max-width: 1024px;
        margin-inline: auto;
        padding: 6rem 1rem;
    }

    .hero-inner {
        grid-column: auto;
        /* RESET */
        order: 0;
        /* RESET */
        width: 100%;
        justify-items: start;
        align-items: start;
    }

    .hero-title {
        font-size: 4rem;
        line-height: 4.5rem;
    }

    .image-card {
        grid-column: auto;
        /* RESET */
        order: 0;
        /* RESET */
        justify-self: end;
        margin-top: 0;
    }

    .image-card img {
        width: 300px;
        height: auto;
    }

    .hero-title,
    .hero-inner {
        width: 100%;
    }


    .main_innner {
       min-height: 60vh;

    }

    .More_project {
    margin-block: 0rem;
    min-height: 35vh;
}
}