/* Color Variables */
:root {
    /* Brand Colors */
    --color-primary: #553E8B;
    --color-secondary: #976DE8;
    
    /* Background Colors */
    --color-bg: #f9f8fc;
    --color-bg-light: #f5f2fc;
    --color-bg-card: #f1eefa;
    --color-bg-alt: #eae6f7;
    --color-bg-placeholder: #e6e1f5;
    
    /* Text Colors */
    --color-text: #333;
    --color-text-secondary: #666;
    --color-text-light: white;
    
    /* Utility Colors */
    --color-border: #ddd;
    --color-shadow-light: rgba(0, 0, 0, 0.05);
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-shadow-medium: rgba(0, 0, 0, 0.15);
    --color-overlay: rgba(0, 0, 0, 0.8);
    
    /* Special Colors */
    --color-blue-light: #e9f3ff;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
}

/* Shared Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    z-index: 100;
    background-color: rgba(249, 248, 252, 0.8); /* Using rgba for transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: all 0.3s;
}

/* Shared Page Elements */
.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* Buttons and Links */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
}

.btn-outline {
    background: none;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 3rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8); /* Using rgba for transparency */
    margin-bottom: 1.5rem;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6); /* Using rgba for transparency */
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: var(--color-bg);
        width: 70%;
        max-width: 300px;
        height: 100vh;
        padding: 5rem 2rem 2rem;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px var(--color-shadow);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }
    
    .mobile-menu-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.my-4 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Image Placeholders */
[src^="images/placeholder"] {
    background-color: var(--color-bg-placeholder);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    text-align: center;
    font-size: 0.9rem;
}

[src^="images/placeholder"]::before {
    content: "Image will be here";
    position: absolute;
}
