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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Minecraft', sans-serif;
}

/* Prevent zooming on inputs */
input, select, textarea {
  font-size: 16px;
}

@font-face {
    font-family: 'Minecraft';
    src: url('f/minecraft.ttf') format('truetype');
}


:root {
    --bg-color: #1f242d;
    --second-bg-color: #164E3B;
    --text-color: #E8E8E8;
    --main-color: #4B70F5;
    --back-color: #00ffff;
    --main-bg-color: #ffffff;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--second-bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: default;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    text-align: center;
    padding: 0.8rem 1.5rem;
    border-radius: 0.8rem;
    position: relative;
    overflow: hidden;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.5px;
    background: var(--main-color);
    transition: all 0.3s ease;
}

.navbar a:hover::before,
.navbar a.active::before {
    width: 100%;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    background: rgba(75, 112, 245, 0.1);
    transform: translateY(-3px);
}

.navbar .btn {
    background: linear-gradient(135deg, #4B70F5, #3DC2EC);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(75, 112, 245, 0.3);
    border: none;
}

.navbar .btn:hover {
    background: linear-gradient(135deg, #3DC2EC, #4B70F5);
    box-shadow: 0 6px 15px rgba(75, 112, 245, 0.5);
    transform: translateY(-3px);
}

/* Mobile Menu Icon */
#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#menu-icon:hover {
    color: var(--main-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--second-bg-color);
        backdrop-filter: blur(10px);
        padding: 2rem 3%;
        border-top: .2rem solid var(--main-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar.active {
        display: flex;
        animation: slideDown 0.5s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar a {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
        padding: 0.50rem;
        font-size: 1.8rem;
    }

    .navbar .btn {
        width: 100%;
        margin-top: 1rem;
    }
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img {
    width: 35vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2.4rem);
    }
    100% {
        transform: translateY(0);
    }
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span {
    background: linear-gradient(135deg, #4B70F5, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-title {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.subtitle {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #E8E8E8;
    letter-spacing: 0.5px;
}

.description {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 4.2rem;
    }
    
    .subtitle {
        font-size: 2.4rem;
    }
    
    .description {
        font-size: 1.6rem;
        padding: 0 2rem;
    }
    
    .cta-buttons {
        gap: 1.5rem;
    }
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}


    .btn {
        padding: 55px;
        background: linear-gradient(135deg, #4B70F5, #3DC2EC);
        color: var(--back-color)
        border: none;
        transition: all 0.4s ease-in-out;
    }

    .btn:hover {
        background: linear-gradient(135deg, #402E7A, #4C3BCF);
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--second-bg-color);
}

.about-img img {
    width: 35vw;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2.6rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.services h2 {
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    min-height: 0;
    height: auto;
    padding: 2rem 0;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
}

.services-container .services-box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);
}

.services-box {
	width: calc(100% - 20px);
}

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

.services-box h3 {
    font-size: 2.6rem;
}

.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

.portfolio {
    background: var(--second-bg-color);
    padding-bottom: 7rem;
}

.portfolio h2 {
    margin-bottom: 4rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
}

.footer-text p {
    font-size: 1.6rem;
    align-items: center;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
}


.footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }
    section {
        padding: 10rem 3% 2rem;
    }
    .services {
        padding-bottom: 7rem;
    }
    .portfolio {
        padding-bottom: 7rem;
    }
    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 768px) {
    .about-content 
    .btn {
        background: linear-gradient(135deg, #4B70F5, #3DC2EC);
        color: var(--back-color)
        border: none;
        transition: all 0.4s ease-in-out;
    }

    .btn:hover {
        background: linear-gradient(135deg, #402E7A, #4C3BCF);
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    #menu-icon {
        display: block;
    }
    .navbar {
        overflow-y: auto; 
        max-height: 390px;
        position: absolute;
        top: 90%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--second-bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
        border-bottom-left-radius: 4rem;
        border-bottom-right-radius: 4rem;
    }
    .navbar.active {
        display: block;
    }
    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }
    .home-content {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .home {
        flex-direction: column;
    }
    .home-content h3 {
        font-size: 2.6rem;
    }
    .about-content h3 {
        font-size: 2.6rem;
        text-align: center;
    }
    .about-content h2 {
        text-align: center;
    }
    .home-content h1 {
        font-size: 5rem;
    }
    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }
    .about {
        flex-direction: column-reverse;
    }
    .about img {
        width: 70vw;
        margin-top: 4rem;
    }
    .services h2 {
        margin-bottom: 3rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
}

@media (max-width: 366px) {
    .home-img img,
    .about img {
        width: 90vw;
    }
    .footer {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

.download-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transition: .5s ease;
}

.btn-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.download-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
}

#linkContainer {
    text-align: center;
}

#linkContainer a {
    display: inline-block;
    padding: 1rem 2.8rem;
    margin: 0.5rem auto;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn {
    background: linear-gradient(135deg, #4B70F5, #3DC2EC);
    color: var(--back-color);
    border: none;
    padding: 1.5rem 3.5rem;
    font-size: 1.8rem;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.btn:hover {
    background: linear-gradient(135deg, #402E7A, #4C3BCF);
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0, 255, 255, 1);
}

:root {
    --glow-color: rgba(0, 255, 255, 0.8);
}

.scroll-behavior {
    scroll-behavior: smooth;
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Minecraft', sans-serif;
}

:root {
    --bg-color: #1a1a1a;
    --second-bg-color: #2a2a2a;
    --text-color: #ffffff;
    --main-color: #4C3BCF;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    background: var(--second-bg-color);
    padding: 2rem 9%;
}

.navbar a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

.btn {
    padding: 1rem 2.8rem;
    background: var(--main-color);
    color: var(--text-color);
    border-radius: 4rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 1rem var(--main-color);
    transform: scale(1.05);
}

.services-container .services-box {
    background: var(--second-bg-color);
    border: 0.2rem solid var(--bg-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.services-container .services-box:hover {
    border-color: var(--main-color);
    transform: scale(1.03);
}
.icon {
            width: 40px; 
            height: 40px;
            margin-right: 10px;
        }

        .toolbox {
            fill: #00ffff;
        }

        .tools {
            fill: #ffffff;
        }
        .footer-iconTop{
          position: absolute;
          right:20px;
        }

/* Social Icons and Devs Icons */

.social-icons {
	display: flex;
	position: auto;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

.social-icons a {
	margin-right: 15px;
}

/* Developers Icons */

.dev-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
	justify-content: center;
	max-width: 400px;
	margin: 20px auto; 
}

.dev-icons a {
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid #1e1e1e;
	border-radius: 10px;
	transition: all 0.3s ease-in-out;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	background-color: #2c2c2c;
}

.dev-icons a:hover {
	border-color: #00ffff;
	box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
	transform: scale(1.1);
	background-color: transparent;
}

.dev-icons img {
	width: 25px;
	height: 25px;
	transition: transform 0.3s ease-in-out;
}

.dev-icons a:hover img {
	transform: rotate(10deg) scale(1.2);
}


/* Minecraft List */

.minecraft_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
}

@media (max-width: 768px) {
    .minecraft_list {
        padding: 0.5rem;
    }
}

.bluemods_item_holder {
    position: relative;
    background: linear-gradient(145deg, #1e1e1e, #252525);
    border: 2px solid #4B70F5;
    border-radius: 15px;
    padding: 20px;
    margin: 15px auto;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(75, 112, 245, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: grab;
}

.bluemods_item_holder:active {
    cursor: grabbing;
    transform: scale(0.98);
    border-color: #00ffff;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

.bluemods_item_holder:first-child {
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.5); }
    100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.3); }
}

.bluemods_item_holder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(75, 112, 245, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bluemods_item_holder:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(75, 112, 245, 0.3);
    border-color: #00ffff;
    background: linear-gradient(145deg, #252525, #1a1a1a);
}

.bluemods_item_holder:hover::before {
    opacity: 1;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.5; }
}

.bluemods_item_holder::before,
.bluemods_item_holder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(75, 112, 245, 0.2), rgba(75, 112, 245, 0));
    animation: rotate-glow 6s linear infinite;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.bluemods_item_holder:hover::before,
.bluemods_item_holder:hover::after {
    opacity: 1;
}

@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bluemods_item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.bluemods_icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bluemods_icon:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 12px rgba(75, 112, 245, 0.6);
}

.bluemods_label {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


a, button, div {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}


/* Container for Docs */

.services-container .services-box-docs {
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
    border-color: var(--main-color);
    max-width: 100%;
    overflow-y: auto;
    height: auto;
}

.services-box-docs {
	width: calc(100% - 20px);
}

.services-box-docs h3 {
    font-size: 2.6rem;
}

.services-box-docs p {
    font-size: 1.6rem;
    margin: 0rem 0 2rem;
}

.services-box-docs a {
    font-size: 1.6rem;
}

.services-box-docs ah {
    font-size: 1.6rem;
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    margin: 0 auto;
    width: 300px;
}

.services-box-docs i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box-docs li {
    text-align: left; 
    padding-left: 20px;
    margin: 0 auto;
    width: 300px;
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    margin: 0 auto;
    width: 300px;
}


/* Loading Screen Styles */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none; /* Hidden by default */
}

.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #4B70F5, #3DC2EC);
    mask: radial-gradient(transparent 55%, black 56%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #4B70F5, #3DC2EC);
    mask: radial-gradient(transparent 55%, black 56%);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading a {
    color: white;
    margin-top: 20px;
    font-size: 16px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4B70F5, #3DC2EC);
    animation: loading 2s linear infinite;
}

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

/* Disable scrolling */
.no-scroll {
    overflow: hidden;
}