/* Logo and Name Styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo span {
    font-family: "Audiowide", sans-serif;
    font-optical-sizing: auto;
    font-size: 32px;
    font-weight: 700;
    color: #FFD700FF;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo span {
        font-size: 18px;
    }
}

/* General Styles */
body {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    color: #333;
}

body .strong {
    font-weight: 700;
    font-style: normal;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background: #8338BAFF;
    color: #fff;
    padding: 10px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #FFD700FF;
}

header .logo a {
    color: #FFD700FF;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #FFD700FF;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #8338BAFF, #FFD700FF, #8338BAFF, #FFD700FF);
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
    color: #fff;
    padding: 150px 0;
    text-align: center;
}

.hero .container {
    position: relative;
    z-index: 2;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Cube Container */
.cube-center-container {
    position: absolute;
    top: 30%;
    left: 42%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    perspective: 800px;
    z-index: 1;
}

.cube-container-left {
    position: absolute;
    top: 100%;
    left: 20%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    perspective: 800px;
}

.cube-container-right {
    position: absolute;
    top: 100%;
    left: 80%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    perspective: 1200px;
}

/* Cube */
.cube {
    width: 200%;
    height: 200%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 15s linear infinite;
}

/* Cube Faces */
.face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #FFD700FF;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Position Each Face */
.front {
    transform: translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

/* Cube Rotation Animation */
@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 30px;
}

.hero p {
    font-size: 28px;
    margin-bottom: 40px;
}

.hero .btn {
    background: #FFD700FF;
    color: #8338BAFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero .btn:hover {
    background: #fff;
    color: #8338BAFF;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 1rem auto 2rem;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #FFD700FF;
    color: #8338BAFF;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f9f9f9;
}

.about h2 {
    text-align: center;
    color: #8338BAFF;
    margin-bottom: 40px;
}

.lead {
    font-size: 1.25rem;
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.6;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    color: #FFD700FF;
    font-size: 2rem;
    margin-bottom: 15px;
}

.card h3 {
    color: #8338BAFF;
    margin-bottom: 15px;
}

.mission {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 50px auto 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission h3 {
    color: #8338BAFF;
    text-align: center;
    margin-bottom: 20px;
}

.mission ul {
    padding-left: 20px;
}

.mission li {
    margin-bottom: 10px;
    position: relative;
    list-style: none;
}

.mission li i {
    color: #FFD700FF;
    margin-right: 10px;
}

.cta-box {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .value-cards {
        grid-template-columns: 1fr;
    }

    .mission {
        padding: 30px 20px;
    }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    color: #8338BAFF;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(131, 56, 186, 0.1);
}

.service-icon {
    color: #FFD700FF;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #8338BAFF;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content {
    margin-bottom: 25px;
}

.service-content ul {
    padding-left: 20px;
    margin-top: 15px;
}

.service-content li {
    margin-bottom: 8px;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.service-content li:before {
    content: "→";
    color: #FFD700FF;
    position: absolute;
    left: 0;
}

.service-link {
    color: #8338BAFF;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #6a2d9b;
}

.service-link:after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #FFD700FF;
    transition: width 0.3s;
}

.service-link:hover:after {
    width: 100%;
}

@media (max-width: 768px) {

    /* Services Section Mobile Fixes */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }

    /* Ensure all content is visible */
    .service-content {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
    }

    .service-content p,
    .service-content ul {
        display: block;
        opacity: 1;
    }

    .service-content li {
        padding-left: 25px;
    }

    .service-content li:before {
        content: "→";
        color: #FFD700FF;
        position: absolute;
        left: 0;
    }

    /* Adjust typography for mobile */
    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .service-link {
        font-size: 0.9rem;
    }
}

/* News Section */
.news {
    padding: 50px 0;
    text-align: center;
}

.news h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #8338BAFF;
}

.news-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.news-item {
    background: #fff;
    padding: 20px;
    margin: 10px;
    flex: 1 1 calc(50% - 40px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.news-item h3 {
    color: #8338BAFF;
}

/* Contact Section */
.contact {
    background: #8338BAFF;
    color: #fff;
    padding: 50px 0;
}

.contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.contact h2 {
    font-size: 36px;
    margin: 0;
    flex: 1;
}

.contact-info {
    flex: 1;
    text-align: right;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.contact-info p {
    margin: 10px 0;
    font-size: 18px;
}

.contact-info a {
    color: #FFD700FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
}

.contact-info i {
    margin-right: 10px;
    color: #FFD700FF;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact h2 {
        text-align: center;
        margin-bottom: 20px;
    }

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

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .cube-center-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        perspective: 1200px;
        z-index: 1;
    }

    .cube {
        width: 200%;
        height: 200%;
    }
}

/* Services Section - Mobile Dropdown */
@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
    }

    .service-item {
        flex: 1 1 100%;
        margin: 5px 0;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
    }

    .service-title {
        padding: 15px;
        margin: 0;
        background: #8338BAFF;
        color: white;
        cursor: pointer;
        position: relative;
    }

    .service-title:after {
        content: '+';
        position: absolute;
        right: 15px;
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .service-title.active:after {
        content: '-';
    }

    .service-content {
        max-height: 0;
        overflow: hidden;
        padding: 0 15px;
        background: white;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .service-item.active .service-content {
        max-height: 200px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact h2 {
        text-align: center;
        margin-bottom: 20px;
    }

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

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    h2 {
        font-size: 28px;
    }
}

.service-item {
    transition: all 0.3s ease;
}

.service-title {
    transition: background-color 0.3s ease;
}

.service-title:hover {
    background-color: #6a2d9b;
}


/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #FFD700FF;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        order: 2;
        margin-left: auto;
    }

    nav {
        width: 100%;
        order: 3;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #6a2d9b;
        margin-top: 10px;
        border-radius: 5px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease-out;
    }

    .nav-list.show {
        display: flex;
        max-height: 500px;
        transition: max-height 0.3s ease-in;
    }

    .nav-list li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: block;
        padding: 15px;
        color: #fff;
        text-align: center;
    }

    .nav-list a:hover {
        background: rgba(255, 215, 0, 0.1);
    }

    /* Adjust header layout */
    header .container {
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .logo {
        order: 1;
    }
}
/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #8338BAFF;
    color: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    font-size: 12px;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    margin: 0 15px 10px 0;
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
}

.cookie-category {
    margin: 10px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-right: 15px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cookie-category input {
    margin-right: 10px;
}

.cookie-btn.primary {
    background: #FFD700FF;
    color: #8338BAFF;
}

.cookie-btn.secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-link {
    color: #FFD700FF;
    text-decoration: none;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        font-size: 10px;
    }

    .cookie-content p {
        margin-bottom: 12px;
    }
}