/* Define base color variables for easy customization */
:root {
    --color-primary: #051C35;
    --color-secondary: #010E23;
    --color-accent: #ffc107;
    --color-light: #f0f0f0;
    --color-light-bg: #c0c0c0;
    --color-dark: #333;
    --color-dark-light: #666;
    --logo-width: 75px;
    --logo-height: 75px;
}


@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.6))
               brightness(1);
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(147, 51, 234, 0.8))
               drop-shadow(0 0 40px rgba(216, 180, 254, 0.4))
               brightness(1.2);
        transform: scale(1.05);
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.6))
               brightness(1);
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-6px) rotate(2deg);
    }
    75% {
        transform: translateY(4px) rotate(-2deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes music-wave {
    0% {
        width: 40px;
        opacity: 0.6;
    }
    50% {
        width: 60px;
        opacity: 1;
    }
    100% {
        width: 40px;
        opacity: 0.6;
    }
}

body {

  background-color: var(--color-primary);
  background-image: 
    linear-gradient(30deg, var(--color-secondary) 12%, transparent 12.5%, transparent 87%, var(--color-secondary) 87.5%, var(--color-secondary)),
    linear-gradient(150deg, var(--color-secondary) 12%, transparent 12.5%, transparent 87%, var(--color-secondary) 87.5%, var(--color-secondary)),
    linear-gradient(30deg, var(--color-secondary) 12%, transparent 12.5%, transparent 87%, var(--color-secondary) 87.5%, var(--color-secondary)),
    linear-gradient(150deg, var(--color-secondary) 12%, transparent 12.5%, transparent 87%, var(--color-secondary) 87.5%, var(--color-secondary));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
  background-repeat: repeat;
  font-family: Arial, sans-serif; /* Defaulting to system font */
  color: var(--color-dark);
  line-height: 1.6em;
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: color 0.2s;
}

.main-footer {
  padding: 20px;
}
.main-header {
  padding-left: 0px;
  padding-top: 0px;
  padding-right: 20px;
}
.main-header,
.main-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    color: var(--color-light);
}

.product-list .product-item a,
.opensource-list .opensource-item a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.product-list .product-item a:hover,
.opensource-list .opensource-item a:hover {
    color: var(--color-accent);
    cursor: pointer;

}

.main-header .logo {
    max-width: var(--logo-width); /* Adjusted logo size */
    margin-right: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav .nav-link {
    margin-left: 20px;
    color: var(--color-light);
}

.main-nav .nav-link:hover {
    color: var(--color-accent);
}

.main-header .company-name {
    font-size: 2em;
    font-weight: bold;
    margin-right: auto;
}

.product-list .product-item,
.opensource-list .opensource-item {
    margin-bottom: 15px;
    padding-left: 15px;
    list-style-type: none;
    border-left: 3px solid var(--color-primary);
    padding-left: 10px;
    transition: border 0.5s ease-in-out;
}

.product-list .product-item:hover,
.opensource-list .opensource-item:hover {
    border-color: var(--color-accent);
}
.main-footer {
    background-color: #333;
    color: #f0f0f0;
    padding: 20px;
    font-size: 14px;
    display: flex; /* Add this */
    flex-direction: column; /* Add this */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.about-us, .contact-us, .social-media {
    flex: 1 0 200px;
    margin-right: 10px;
    margin-bottom: 20px;
}

.footer-content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-content p, .footer-content a {
    margin-bottom: 5px;
}

.footer-content a {
    color: #f0f0f0;
    transition: color 0.5s ease-in-out;
}

.footer-content a:hover {
    color: #ffc107;
}

.social-icon {
    margin-right: 10px;
    max-width: 24px;
}

.product-list .product-item a {
    display: flex;
    align-items: center;
}

.product-list .product-logo {
    width: var(--logo-width);
    height: var(--logo-height);
    border-radius: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 15px;
    object-fit: contain;
}

.articles-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.articles-list .articles-item {
    margin-bottom: 1em;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    height: 220px;
}

.articles-list .articles-item a {
    display: flex;
    flex-direction: column;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s;
    height: 100%;
}

.articles-list .articles-item a:hover {
    color: var(--color-accent);
    cursor: pointer;
}

.articles-list .article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.2s;
}

.articles-list .articles-item:hover .article-image {
    transform: scale(1.1);
}

.articles-list .articles-item .article-text {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: rgba(255, 255, 255, 0.99);
    padding-left: 10px;
    padding-top: 10px;
    border: 1px solid black;
    border-radius: 0 0 10px 10px;
    width: 100%;
}

.showcase-list .showcase-item a {
    display: flex;
    align-items: start;
}

.showcase-list .showcase-logo {
    width: var(--logo-width);
    height: var(--logo-height);
    margin-right: 15px;
    border-radius: 15px;
    object-fit: contain;
}

.showcase-list .showcase-content {
    display: flex;
    flex-direction: column;
}

.showcase-item {
    margin-bottom: 15px;
    padding-left: 15px;
    list-style-type: none;
} 

.showcase-item a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.showcase-item a:hover {
    color: var(--color-accent);
    cursor: pointer;
}

.showcase-list .showcase-logo {
    width: var(--logo-width);
    height: var(--logo-height);
    margin-right: 15px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.showcase-list .showcase-item a:hover .showcase-logo {
    transform: scale(1.1) rotate(90deg);
}

.showcase-list .showcase-item a:hover .rhythmiq-logo {
    animation: 
        pulse-glow 1s linear infinite,
        float 1.5s ease-in-out infinite;
    transform-origin: center;
    will-change: transform, filter; /* Performance optimization */
}

.rhythmiq-logo::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    animation: music-wave 0.75s linear infinite; /* Changed to linear */
    border-radius: 2px;
}
.founder {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.profile-photo {
    flex-shrink: 0;
    width: 128px;
    height: 128px;
    margin-right: 20px;
    object-fit: cover;
    border-radius: 50%;
}

.founder-info {
    flex-grow: 1;
}

.social-media-links {
    margin-bottom: 10px;
}

.social-media-links a {
    margin-right: 10px;
    text-decoration: none;
    color: #051C35;
}

.social-media-links a:hover {
    color: #010E23;
}

.product-margin-left {
    color: blue;
    margin-left: 90px;
}
.product-margin-left img {
    margin-right: 1em;
    float: left;
}

h1 {
  font-size: 1.75rem;
  font-weight: bold;
}
h2 {
  font-size: 1.5rem;
  font-weight: bold;
}
h3 {
  font-size: 1.25rem;
  font-weight: bold;
}
.footer-content p {
  color: var(--color-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}


h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.cta-button {
    background: #4361ee;  /* More refined blue */
    color: var(--color-light);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: #3651d4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
}
.main-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;  /* Increased padding */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 2rem auto;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2rem;
}

}

[x-cloak] { display: none }
