:root {
    /* Color Palette */
    --primary-color: #007aff; /* Vibrant Blue */
    --secondary-color: #0056b3; /* Darker Blue */
    --accent-color: #ff9500; /* Vibrant Orange */
    --text-primary: #1d1d1f; /* Near Black */
    --text-secondary: #6e6e73; /* Gray */
    --text-light: #86868b; /* Lighter Gray */
    --bg-light: #f5f5f7; /* Light Gray */
    --bg-dark: #1d1d1f; /* Near Black */
    --border-color: #d2d2d7; /* Light Gray Border */
    --success-color: #34c759; /* Green */
    --error-color: #ff3b30; /* Red */

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1.0625rem; /* 17px */
    --font-size-lg: 1.1875rem; /* 19px */
    --font-size-xl: 1.5rem; /* 24px */

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.5rem;

    /* Border Radius */
    --border-radius-sm: 0.3125rem; /* 5px */
    --border-radius-md: 0.625rem; /* 10px */
    --border-radius-lg: 1.25rem; /* 20px */

    /* Shadow */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Basic Reset & Normalize */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-light);
    background-image: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

/* Navigation Menu Styling */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--spacing-md) var(--spacing-xl);
    box-shadow: none;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: var(--spacing-sm) 0;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.dropdown-menu a::after {
    display: none;
}

.hamburger {
    display: none; /* Hidden by default on larger screens */
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

/* Responsive Design Breakpoints */
@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none; /* Hide nav links by default on small screens */
        flex-direction: column;
        width: 100%;
        background-color: white;
        text-align: center;
        gap: 0;
        padding-top: var(--spacing-md);
        border-top: 1px solid var(--border-color);
        margin-top: var(--spacing-md);
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: var(--spacing-md) 0;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    /* Mobile Dropdown Behavior */
    .nav-links .has-dropdown:hover .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
        width: 100%;
    }

    .nav-links .dropdown-menu a {
        padding: 0.5rem 0;
        font-size: 0.875rem;
    }

    .hamburger {
        display: block; /* Show hamburger icon on small screens */
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

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

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

/* Footer Styling */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.footer-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-links {
        gap: 1rem;
        flex-direction: column;
    }
}

/* Social Share Bar */
.social-share-bar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-size: 1.2rem;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-btn.x-twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

@media (max-width: 1024px) {
    .social-share-bar {
        left: auto;
        right: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
    }
}
