* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-text-decoration-skip: none;
    -webkit-user-drag: none;
}

body {
    font-family: 'Vazir', sans-serif;
    direction: rtl;
    background-color: #f0f4f8;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}


body::-webkit-scrollbar {
    width: 10px;
}

.popup-button.disabled {
    background-color: #5452dba9 !important;
    color: #d3d3d3;
    cursor: not-allowed;
}

body::-webkit-scrollbar-track {
    background: #ecf0f1;
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
    background: #e67e22;
    border-radius: 10px;
    border: 2px solid #ecf0f1;
    transition: background-color 0.3s ease;
}

body::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}


header {
    background: url('image/background.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    transition: background-color 0.5s ease;
}

header:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

header .content {
    z-index: 2;
    padding: 20px;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

header h1 {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header p {
    font-size: 1.5rem;
    margin-top: 10px;
}


@media (max-width: 768px) {
    header {
        background: url('image/IMG_20241214_194811.webp') no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1rem;
    }
}


.scroll-down {
    position: absolute;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;
    z-index: 2;
}

@media (max-width: 768px) {
    .scroll-down {
        bottom: 70px;
    }

}

.scroll-down .triangle {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 18px solid white;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-25px);
    }

    60% {
        transform: translateY(-15px);
    }
}


nav {
    position: fixed;
    top: 0px;
    width: 100%;
    
    background-color: rgba(44, 62, 80, 0);
    padding: 15px 0;
    z-index: 10;
    
    transition: top 0.7s ease-in-out, background-color 0.7s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    max-height: 60px;
    overflow: hidden;
}


nav.scrolled {
    background-color: rgba(44, 62, 80, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

nav ul {
    list-style-type: none;
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 5px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.5s ease, left 0.5s ease;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    header p {
        font-size: 1.2rem;
    }

    nav ul li {
        margin: 1px;
    }

    nav ul li a {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}



.intro {
    background: linear-gradient(
        to bottom,
        #f8fafc 0%,
        #edf2f7 100%
    );
    padding: clamp(2rem, 5vh, 6rem) clamp(1rem, 3vw, 3rem);
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.intro-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(1rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #2c3e50;
    margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #34495e;
    border-radius: 2px;
}

.intro p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    text-align: justify;
    font-weight: 400;
    padding: 0 clamp(0.5rem, 2vw, 1.5rem);
    position: relative;
    transition: transform 0.3s ease;
}

.intro .school-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    margin: clamp(1.5rem, 4vh, 2.5rem) auto;
    display: block;
}


@media (min-width: 769px) {
    .intro p:hover {
        transform: translateX(10px);
    }

    .intro p::before {
        content: '';
        position: absolute;
        right: -10px;
        top: 8px;
        width: 3px;
        height: 0;
        background: #007bff;
        transition: height 0.3s ease;
        border-radius: 3px;
    }

    .intro p:hover::before {
        height: calc(100% - 16px);
    }

    .intro .btn:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    }
}


.intro .btn {
    background-color: #007bff;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
    border: none;
    cursor: pointer;
    display: inline-block;
}


@media screen and (max-width: 768px) {
    .intro {
        padding: 2rem 0.5rem;
    }
    
    .intro-content {
        padding: 1.5rem 1rem;
        margin: 0;
        border-radius: 8px;
    }
    
    .intro p {
        text-align: justify;
        line-height: 1.8;
        padding: 0 0.8rem;
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }
    
    .intro .btn {
        padding: 1rem 0;
        font-size: 1rem;
        width: calc(100% - 2rem);
        text-align: center;
        margin: 1.5rem auto;
        border-radius: 8px;
        display: block;
    }

    .intro h2 {
        font-size: 1.6rem;
        margin: 0.5rem 0 1.5rem 0;
        padding: 0 0.5rem 1rem 0.5rem;
    }

    .intro .school-image {
        margin: 1rem auto;
        border-radius: 8px;
    }
}


@media screen and (max-width: 480px) {
    .intro {
        padding: 1.5rem 0;
    }

    .intro-content {
        padding: 1rem 0.5rem;
        box-shadow: none;
    }

    .intro h2 {
        font-size: 1.4rem;
        padding: 0 0.3rem 0.8rem 0.3rem;
    }

    .intro p {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 0 0.6rem;
        margin-bottom: 1.2rem;
    }

    .intro .btn {
        width: calc(100% - 1rem);
        margin: 1rem auto;
        padding: 0.9rem 0;
        font-size: 0.95rem;
    }
}


@keyframes gracefulFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-content > * {
    animation: gracefulFade 0.6s ease-out forwards;
    opacity: 0;
}

.intro-content > *:nth-child(1) { animation-delay: 0.1s; }
.intro-content > *:nth-child(2) { animation-delay: 0.2s; }
.intro-content > *:nth-child(3) { animation-delay: 0.3s; }
.intro-content > *:nth-child(4) { animation-delay: 0.4s; }
.intro-content > *:nth-child(5) { animation-delay: 0.5s; }


@media (hover: none) {
    .intro p:hover {
        transform: none;
    }

    .intro p::before {
        display: none;
    }

    .intro .btn:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
    }
}


@media print {
    .intro {
        padding: 2cm;
        background: none;
    }
    
    .intro-content {
        box-shadow: none;
        padding: 0;
    }
    
    .intro .btn {
        display: none;
    }

    .intro p {
        page-break-inside: avoid;
    }
}


[dir="rtl"] .intro p {
    text-align: justify;
}

[dir="rtl"] .intro p::before {
    right: auto;
    left: -10px;
}


.achievements {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.achievements h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.achievement-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.achievement {
    max-width: 300px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.achievement img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.achievement h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.achievement p {
    font-size: 1rem;
}

.achievement:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .achievements {
        padding: 40px 10px;

    }

    .achievements h2 {
        font-size: 2rem;

    }

    .achievement-list {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 20px;

        justify-items: center;

    }

    .achievement {
        max-width: 100%;

    }

    .achievement img {
        width: 90%;

    }

    .achievement h3 {
        font-size: 1.3rem;

    }

    .achievement p {
        font-size: 0.9rem;

    }
}



.gallery {
    padding: 80px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px;

    }

    .gallery-grid img {
        width: 100%;
        border-radius: 5px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

    }

    .gallery-grid img {
        width: 100%;
        border-radius: 3px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
    }
}



footer {
    padding: 20px;
    background-color: #34495e;
    color: white;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
}

.btn {
    display: inline-block;

    padding: 12px 24px;

    font-size: 16px;

    color: #fff;

    background-color: #007bff;

    border: none;

    border-radius: 5px;

    text-decoration: none;

    transition: background-color 0.3s;

    margin: 20px auto;

    text-align: center;

}

.btn:hover {
    background-color: #0056b3;

}


.gallery {
    text-align: center;

}


.small-image-1,
.small-image-2 {
    position: absolute;
    width: 65px;
    height: auto;
    border: 2px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    z-index: 5;
}

.small-image-1 {
    top: 20px;
    left: 20px;
}

.small-image-2 {
    top: 20px;
    right: 20px;
}

.small-image-3 {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: 100px;
    height: auto;
    border-radius: 8px;
    z-index: 5;
}


@media (max-width: 768px) {

    .small-image-1,
    .small-image-2,
    .small-image-3 {
        width: 60px;
    }
}


.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #7a7a7aa9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top.hide {
    cursor: default;
}

.scroll-to-top i {
    color: #ffffff; 
    font-size: 20px;
}


@media screen and (max-width: 768px) {
    .scroll-to-top {
        left: 15px; 
        bottom: 20px; 
        width: 45px; 
        height: 45px;
        right: auto; 
    }
}


@media screen and (min-width: 769px) {
    .scroll-to-top {
        right: 30px;
        bottom: 30px;
        left: auto; 
    }
}




@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);

    }

    50% {
        transform: translateY(-5px);

    }
}


.contact-us {
    text-align: center;
    padding: 4rem;
    background: radial-gradient(circle at center, #ffffff, #e9ecef);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;

}

.contact-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1));
    transform: translateX(-50%) rotate(30deg);
    pointer-events: none;
}

.contact-us h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: #444;
    text-transform: uppercase;
    animation: slideIn 1s ease-in-out;
    font-weight: 900;
}


.social-media {
    display: flex;

    justify-content: center;

    gap: 30px;

}

.social-link {
    text-decoration: none;

    color: #555;

    transition: color 0.3s, box-shadow 0.3s;

    border: 2px solid transparent;

    border-radius: 8px;

    padding: 10px;

}

.social-link:hover {
    color: #007BFF;

    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);

    border: 2px solid #007BFF;

}

.social-icon {
    width: 60px;

    height: 60px;

    margin-bottom: 10px;

}

.social-icon:hover {
    filter: brightness(1.1);

}

@media (max-width: 768px) {
    .contact-us {
        padding: 3rem;

    }

    .contact-us h2 {
        font-size: 2.5rem;

    }

    .social-media {
        gap: 20px;

    }

    .social-link {
        padding: 8px;

    }

    .social-icon {
        width: 50px;

        height: 50px;
    }
}

@media (max-width: 480px) {
    .contact-us {
        padding: 2rem;

    }

    .contact-us h2 {
        font-size: 2rem;

    }

    .social-media {
        gap: 15px;

    }

    .social-link {
        padding: 6px;

    }

    .social-icon {
        width: 40px;

        height: 40px;
    }
}


.popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    cursor: pointer;
    font-size: 28px;
    color: #aaa;
    float: right;
    transition: color 0.3s;
}

.close:hover {
    color: #ff6b6b;
}

.form {
    margin-top: 20px;
}

.form input,
.form select {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: background-color 0.3s, border-color 0.3s;
}

.form input:focus,
.form select:focus {
    outline: none;
    border-color: #24b5f8;

    background-color: #ffffff;

}

.form select:hover {
    background-color: #f1f1f1;
}

.submit-button {
    background-color: #4c90af;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #4569a0;
}

.switch-form {
    text-align: center;
    margin-top: 10px;
}

.popup-message {
    color: red;
    margin-top: 10px;
    text-align: center;
}

.success-popup {
    transition: opacity 0.5s ease;
}

.switch-form a {
    color: #007BFF;

    text-decoration: none;

}

.switch-form a:hover {
    text-decoration: underline;

}


.loader {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 40px auto;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
}

.close1 {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.close1:hover {
    transition: color 0.3s ease;
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgb(255, 96, 96);
    font-size: 30px;
    cursor: pointer;
}

.shrvin {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
    width: 85%;
    max-width: 650px;
    margin: 40px auto;
    text-align: right;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.shrvin::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 60%);
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.shrvin:hover::before {
    opacity: 1;
}

.shrvin h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 26px;
    font-family: 'Vazir', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.shrvin h2:hover {
    transform: scale(1.1);
}

.shrvin p {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 400;
    position: relative;
    z-index: 1;
    opacity: 0.9;
    transition: opacity 0.4s ease-in-out;
}

.shrvin p:hover {
    opacity: 1;
}

.read-more-button {
    display: inline-block;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #ffffff;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    width: 100%;
    letter-spacing: 0.5px;
}

.read-more-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

.read-more-button:hover::before {
    left: 100%;
}

.read-more-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.6);
}

.read-more-button:active {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.5);
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.read-more-button {
    animation: pulse-shadow 2s infinite;
}

@media screen and (max-width: 768px) {
    .shrvin {
        padding: 25px;
        margin: 25px auto;
    }

    .shrvin h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .shrvin p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .read-more-button {
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .shrvin {
        padding: 18px;
        margin: 18px auto;
        border-radius: 20px;
    }

    .shrvin h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .shrvin p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .read-more-button {
        padding: 12px 22px;
        font-size: 15px;
    }
}

@media (hover: none) {
    .shrvin:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .read-more-button:hover {
        transform: none;
        box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
    }

    .read-more-button:active {
        transform: translateY(2px);
        box-shadow: 0 5px 20px rgba(41, 128, 185, 0.5);
    }
}

.loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    opacity: 1;
    visibility: visible; 
    transition: opacity 1s ease, visibility 1s ease;
}

.d1,
.d2 {
    border: 5px solid #6c757d;
    border-radius: 50%;
}

.loading .d1 {
    width: 55px;
    height: 55px;
    position: absolute;
    border-left-color: transparent;
    animation: load161 1s linear infinite;
}

.loading .d2 {
    width: 40px;
    height: 40px;
    border-top-color: transparent;
    border-right-color: transparent;
    margin: 7.5px;
    animation: load2812 1.5s linear infinite;
}

@keyframes load161 {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes load2812 {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.top-text,
.bottom-text {
    color: #333;
    font-size: 18px;
    font-family: Arial, sans-serif;
    text-align: center;
    opacity: 1;
    transition: opacity 1s ease;
}

.top-text {
    position: absolute;
    top: 60px;
    font-size: 33px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .top-text {
        font-size: 28px;
    }
}

.bottom-text {
    position: absolute;
    bottom: 200px;
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .bottom-text {
        position: absolute;
        bottom: 100px;
        font-size: 20px;
        font-weight: bold;
    }
}

body {
    overflow: hidden; 
}
