:root {
    --gold: #C8A45D;
}

body {
    background: #0E0E0E;
}

header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7)), url(../images/header.jpg);
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

section {
    padding: clamp(60px, 10vw, 120px) 0;
}


.glass-nav {
   
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 92%;
    max-width: 1200px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(30px);
    border: 1px dashed rgba(200, 164, 93, .35);
    border-radius: 60px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, .35);
    z-index: 99999;
}

.logo {

    font-family: "Cinzel", serif;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.navbar-nav {
    gap: 12px;
}

.nav-link {
   
     color: #fff;
    font-size: 1rem;
    transition: .4s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.navbar-toggler {
    border: none;
    color: var(--gold);
    font-size: 24px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.contact {
    border: 1px dashed;
    border-radius: 15px;
    background: rgba(37, 36, 36, 0.705);
}

.title {
    padding-top: clamp(8%, 12vh, 15%);
    padding-left: clamp(5%, 7vw, 10%);
    padding-right: clamp(5%, 7vw, 10%);
    width: 100%;
}

.kemet-card h5 {
    color: var(--gold-light);
    letter-spacing: 2px;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    padding-bottom: 15px;
}

.kemet-card h1 {
    font-size: clamp(2.2rem, 12vw, 4.5rem);
    letter-spacing: 1.7px;
}

.kemet-card span {
    color: var(--gold);
    letter-spacing: 1.8px;
    font-size: clamp(2.5rem, 13vw, 5rem);
}

.kemet-card p {
    white-space: pre-line;
    letter-spacing: 1.5px;
    line-height: 1.7;
    padding-top: 13px;
    font-size: clamp(0.95rem, 1.2vw, 1.2rem);
    max-width: 600px;
}

.btn-group {
    display: flex;
    gap: 16px;
    padding-top: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn1 {
    border: 1px solid var(--gold-light);
    padding: 15px 30px;
    border-radius: 10px;
    background-image: url(../images/btn2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    color: black;
    font-weight: bold;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease;
    background-position: center 60%;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    display: inline-block;
    text-align: center;
}

.btn1:hover {
    transform: translateY(-4px);
}

.btn2 {
    border: 1px solid var(--gold-light);
    padding: 15px 30px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-position 0.9s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease-in-out ;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    display: inline-block;
    text-align: center;
}

.btn2:hover {
    color: black;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/btn2.webp);
    background-position: center;
}


.Ancient-Egypt {
    display: flex;
    padding: clamp(40px, 7vw, 7%);
    justify-content: center;
    gap: clamp(20px, 3vw, 50px);
    flex-wrap: wrap;
    align-items: center;
}

.Ancient-left {
    flex: 1 1 45%;
    min-width: 280px;
    padding-top: clamp(20px, 5%, 8%);
}

.Ancient-left h6 {
    color: var(--gold);
    letter-spacing: 1.8px;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    padding-bottom: 10px;
}

.Ancient-left h3 {
    white-space: pre-line;
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
}

.Ancient-left p {
    padding-top: 10px;
    letter-spacing: 1px;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    margin-bottom: 36px;
    line-height: 1.7;
}

.btn3 {
    display: inline-block;
    border: 1px solid var(--gold-light);
    padding: 15px 30px;
    border-radius: 10px;
    background-image: url(../images/btn2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    color: black;
    font-weight: bold;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    text-align: center;
}

.btn3:hover {
    transform: translateY(-3px);
}

.Ancient-right {
    flex: 1 1 45%;
    min-width: 280px;
}

.Ancient-right img {
    border: 3px dashed var(--gold);
    border-radius: 40px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 480px;
    border: 2px dashed #6b614d;
    background: var(--dark);
    border-radius: 12px;
    color: #F6EBD5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 0px 15px #433c2e71;


}

.card-img-top {
    height: clamp(200px, 30vw, 280px);
    object-fit: cover;
    border-radius: 12px;
    width: 99%;
    margin: 3px auto;
}

.card-body {
    padding: 15px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body p i {
    padding-right: 5px;
}

.card-body p {
    color: #C8A45D;
    font-size: clamp(0.9rem, 1vw, 1rem);
}

.card-body h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    padding-bottom: 5px;
}

.card-text {
    color: whitesmoke !important;
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    flex: 1;
}

.btn4 {
    display: inline-block;
    border: 1px solid var(--gold-light);
    padding: 7px 14px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    margin-top: 18px;
    background-image: url(../images/papyrs-btn.webp);
    background-repeat: no-repeat;
    background-size: cover;
    color: black;
    background-position: center 73%;
    font-weight: bold;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    align-self: flex-start;
    font-size: 1rem;
}

.btn4:hover {
    transform: translateY(-3px);
}

.featured-artifact {
    background: #111;
    margin-top: 40px;
}

.artifact-image-box {
    position: relative;
    border: 3px solid #C8A45D;
    border-radius: 30px;
    overflow: hidden;
    transition: .5s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
    aspect-ratio: 4 / 3;
    max-height: 600px;
}

.artifact-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}
.artifact-image-box img:hover {
    transform: scale(1.1);
}

.artifact-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin: 20px 0;
    color: #fff;
}

.artifact-text {
    color: #cfcfcf;
    line-height: 2;
    margin-bottom: 30px;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.artifact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 35px;
}

.artifact-info h5 {
    color: white;
    margin-bottom: 8px;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
}
.artifact-info i {
    color: #C8A45D;
}

.artifact-info span {
    font-size: clamp(0.9rem, 1vw, 1rem);
}

.section-tag {
    color: #C8A45D;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

.papyrus-btn {
    display: inline-block;
    border: 1px solid var(--gold-light);
    padding: 12px 28px;
    border-radius: 18px;
    background-image: url(../images/btn2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    color: black;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

.papyrus-btn:hover {
    transform: translateY(-5px);
        box-shadow: 0 0px 15px #433c2e71;

}

.wonders-preview {
    background: #0f0f0f;
}

.wonders-box {
    background: #181818;
    border: 2px dashed rgba(200, 164, 93, .25);
    border-radius: 35px;
    overflow: hidden;
    padding: clamp(30px, 5vw, 60px);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.wonders-box:hover {
    transform: translateY(-8px);
        box-shadow: 0 0px 19px #433c2e71;

}

.wonders-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.wonders-content span {
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

.wonders-content h2 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    margin: 20px 0 15px;
}

.wonders-content p {
    color: #ccc;
    line-height: 2;
    margin-bottom: 30px;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.wonders-content .papyrus-btn {
    align-self: flex-start;
}

.wonders-image {
    overflow: hidden;
    border-radius: 25px;
}

.wonders-image img {
    width: 100%;
    border-radius: 25px;
    transition: .6s;
}

.wonders-box:hover img {
    transform: scale(1.08);
}

 
.slider-section {
    padding-top: 100px;
    padding-bottom: 0;
    background: #0f0f0f;
}

.pharaoh-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background: #0f0f0f;
    position: relative;
}

.pharaoh-slider-container::before,
.pharaoh-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.pharaoh-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #0f0f0f, transparent);
}

.pharaoh-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #0f0f0f, transparent);
}

.slider-track {
    display: flex;
    gap: 20px;
    animation: sliderScroll 30s linear infinite;
    width: max-content;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slider-item {
    flex-shrink: 0;
    width: 180px;
    text-align: center;
    transition: .4s;
}

.slider-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px dashed rgba(200, 164, 93, .3);
    transition: .4s;
}

.slider-item:hover img {
    transform: scale(1.08);
    border-color: #C8A45D;
}

.slider-item span {
    display: block;
    margin-top: 10px;
    color: #C8A45D;
    font-family: "Cinzel", serif;
    font-size: 0.9rem;
}

@keyframes sliderScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.pharaohs-section {
    padding-top: 60px;
    padding-bottom: 80px;
    background: #0f0f0f;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
}

.explore-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
    margin: 10px 0 5px;
    font-family: "Cinzel", serif;
}

.typing-text {
    color: #C8A45D;
    font-family: "Cinzel", serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    min-height: 2em;
    letter-spacing: 2px;
}

.section-desc {
    color: #ccc;
    max-width: 700px;
    margin: 10px auto 0;
}


.testimonials {
    background: transparent;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-title span {
    color: #C8A45D;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
}

.section-title h2 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    margin: 20px 0;
}

.section-title p {
    color: #bdbdbd;
    line-height: 2;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: testimonials 30s linear infinite;
}

.testimonial-card {
    width: clamp(280px, 30vw, 360px);
    background: #F4E4BC;
    border: 3px solid #C8A45D;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    flex-shrink: 0;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #C8A45D;
    margin: 0 auto 15px;
}

.testimonial-card h4 {
    color: #333;
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
}

.testimonial-card small {
    color: #333;
    font-size: clamp(0.8rem, 1vw, 1rem);
}

.stars {
    color: #D4AF37;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    margin: 12px 0;
}

.testimonial-card p {
    color: #333;
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}

@keyframes testimonials {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}



@media (max-width: 991px) {
    .glass-nav {
        border-radius: 40px;
        padding: 8px 18px;
    }
    .nav-link {
        font-size: 1rem;
        text-align: center;
    }
    .navbar-nav {
        gap: 8px;
        padding-top: 10px;
    }
    .Ancient-left, .Ancient-right {
        flex: 1 1 100%;
        min-width: 0;
    }
    .Ancient-left {
        padding-top: 0;
    }
    .card {
        max-width: 100%;
        min-height: 420px;
    }
    .title {
        padding-top: 15%;
        padding-left: 5%;
    }
    .kemet-card h1 {
        font-size: clamp(2.5rem, 10vw, 3.8rem);
    }
    .kemet-card span {
        font-size: clamp(2.8rem, 11vw, 4.2rem);
    }
    .wonders-content {
        align-items: center;
        text-align: center;
    }
    .wonders-content .papyrus-btn {
        align-self: center;
    }
    .artifact-image-box {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    header {
        min-height: 90vh;
    }
    .title {
        padding-top: 20%;
        padding-left: 4%;
        padding-right: 4%;
        text-align: center;
    }
    .kemet-card h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    .kemet-card span {
        font-size: clamp(2.2rem, 13vw, 3.5rem);
    }
    .kemet-card p {
        font-size: 0.95rem;
        margin: 0 auto;
    }
    .btn-group {
        justify-content: center;
    }
    .btn1, .btn2 {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    .Ancient-Egypt {
        padding: 30px 5%;
        gap: 25px;
    }
    .Ancient-left h3 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        white-space: normal;
    }
    .Ancient-left p {
        font-size: 0.95rem;
    }
    .card {
        min-height: 380px;
        margin-bottom: 15px;
    }
    .card-img-top {
        height: 200px;
    }
    .card-body h3 {
        font-size: 1.4rem;
    }
    .btn3, .btn4 {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    .btn4 {
        align-self: center;
        width: 100%;
        text-align: center;
    }
    .artifact-image-box {
        max-height: 350px;
    }
    .wonders-box {
        padding: 25px;
    }
    .wonders-content h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-box a,
    .footer-box p {
        text-align: center;
    }
    .pharaoh-item img {
        width: clamp(100px, 25vw, 160px);
    }
    .testimonial-card {
        width: clamp(250px, 70vw, 300px);
        padding: 20px 15px;
    }
    .papyrus-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}


@media (max-width: 576px) {
    .glass-nav {
        border-radius: 30px;
        padding: 5px 12px;
        top: 5px;
    }
    .logo {
        font-size: 1rem;
    }
    .navbar-toggler {
        font-size: 20px;
    }
    header {
        min-height: 85vh;
    }
    .title {
        padding-top: 25%;
        padding-left: 3%;
        padding-right: 3%;
    }
    .kemet-card h5 {
        font-size: 0.85rem;
        padding-bottom: 10px;
    }
    .kemet-card h1 {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }
    .kemet-card span {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }
    .kemet-card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    .btn1, .btn2 {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .Ancient-Egypt {
        padding: 20px 4%;
        gap: 20px;
    }
    .Ancient-left h6 {
        font-size: 0.9rem;
    }
    .Ancient-left h3 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        white-space: normal;
    }
    .Ancient-left p {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    .btn3 {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .card {
        min-height: 340px;
    }
    .card-img-top {
        height: 180px;
    }
    .card-body h3 {
        font-size: 1.2rem;
    }
    .card-text {
        font-size: 0.8rem;
    }
    .btn4 {
        font-size: 0.85rem;
        padding: 10px 18px;
    }
    .artifact-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .artifact-text {
        font-size: 0.9rem;
    }
    .artifact-info {
        flex-direction: column;
        gap: 12px;
    }
    .wonders-box {
        padding: 18px;
    }
    .wonders-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .wonders-content p {
        font-size: 0.9rem;
    }
    .section-title h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .section-title p {
        font-size: 0.9rem;
    }
    .testimonial-card {
        width: 260px;
        padding: 15px 12px;
    }
    .testimonial-card h4 {
        font-size: 1rem;
    }
    .testimonial-card p {
        font-size: 0.85rem;
    }
    .footer-top h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .footer-bottom {
        font-size: 0.75rem;
    }
    .pharaoh-item img {
        width: clamp(80px, 20vw, 120px);
    }
    .papyrus-btn {
        font-size: 0.85rem;
        padding: 12px 18px;
    }
}

@media screen and (max-width: 368px) {
    .glass-nav {
        border-radius: 30px;
        padding: 5px 12px;
        top: 5px;
    }
    .logo{
        font-size: 0.9rem;
    }
     .navbar-toggler {
        font-size: 20px;
    }
    .navbar-nav a{
        font-size: 1rem;
    }

}