/* Global Styles */
:root {
    --primary-color: #0084ff; /* Neon blue */
    --secondary-color: #ff6b00; /* Orange */
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --light-text: #f8f9fa;
    --gray-text: #adb5bd;
    --card-bg: #1e1e1e;
    --card-hover: #2c2c2c;
    --input-bg: #2a2a2a; /* Input background */
    --input-border: #444444; /* Input border */
    --input-text: #ffffff; /* Input text */
    --input-placeholder: rgba(255, 255, 255, 0.5); /* Placeholder text */
    --input-focus-bg: #333333; /* Focused input background */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--light-text);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    padding-top: 76px; /* Add padding to account for fixed navbar height */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0074e0;
    border-color: #0074e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.5);
}

.btn-outline-light {
    border-color: var(--light-text);
    color: var(--light-text);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--light-text);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1030; /* Ensure navbar stays on top */
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand img.logo {
    height: 40px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--light-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background-color: var(--darker-bg);
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -76px; /* Counteract the body padding-top */
    padding-top: 76px; /* Add back padding for proper spacing */
}

.hero-graphics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-bg.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-section::before {
    background-color: var(--primary-color);
    top: -100px;
    right: -100px;
    opacity: 0.15;
}

.hero-section::after {
    background-color: var(--secondary-color);
    bottom: -100px;
    left: -100px;
    opacity: 0.15;
}

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

/* Investment Focus */
.investment-focus {
    background-color: var(--dark-bg);
    padding: 5rem 0;
}

.focus-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.focus-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.focus-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.focus-icon i {
    font-size: 2rem;
    color: white;
}

.focus-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.focus-card p {
    color: var(--gray-text);
    margin-bottom: 0;
}

/* Investment Strategy Section */
.strategy-item {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.strategy-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-bottom: 1.75rem;
}

.strategy-icon i {
    font-size: 3rem;
    color: white;
}

.strategy-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.strategy-info p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Investment Strategy Cards */
.strategy-card {
    background: rgba(13, 17, 23, 0.7);
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.strategy-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(3, 169, 244, 0.15);
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(3, 169, 244, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.strategy-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 15px 0;
    position: relative;
}

.strategy-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
    position: relative;
}

.strategy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(3, 169, 244, 0.1), rgba(255, 152, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(3, 169, 244, 0.2);
}

.strategy-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

/* Portfolio Section */
.success-stories {
    background-color: var(--darker-bg);
    padding: 5rem 0;
}

.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 15px 20px;
    background-color: var(--bg-dark);
    text-align: center;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.portfolio-details {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.portfolio-details p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.key-features h6 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.key-features ul.small {
    font-size: 0.85rem;
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.portfolio-links .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.6rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.1), rgba(255, 107, 0, 0.1));
    padding: 5rem 0;
}

.cta-content {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-content::before,
.cta-content::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}

.cta-content::before {
    background-color: var(--primary-color);
    top: -150px;
    right: -150px;
    opacity: 0.1;
}

.cta-content::after {
    background-color: var(--secondary-color);
    bottom: -150px;
    left: -150px;
    opacity: 0.1;
}

.cta-content h2 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-content p {
    color: var(--gray-text);
    position: relative;
    z-index: 1;
}

.cta-content .btn {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    color: var(--light-text);
    position: relative;
}

.footer-logo {
    height: 40px;
}

.footer-text {
    color: var(--gray-text);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form .form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
}

.newsletter-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 132, 255, 0.25);
}

.copyright {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Modals */
.modal-content {
    background-color: var(--card-bg);
    color: var(--light-text);
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

/* Responsive */
@media (max-width: 992px) {
    body {
        padding-top: 62px; /* Adjusted for smaller navbar on mobile */
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
        margin-top: -62px; /* Counteract body padding on mobile */
        padding-top: 62px; /* Add back padding */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .focus-card {
        margin-bottom: 30px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .cta-content {
        padding: 2rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-heading {
        margin-top: 2rem;
    }
}

/* Insights Page Styles */
.featured-article-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.featured-img {
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.featured-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text-color);
    padding: 0.35rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.featured-meta, .article-meta {
    color: var(--muted-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.meta-author, .meta-date, .meta-category {
    margin-right: 1rem;
}

.featured-excerpt {
    margin-bottom: 1.5rem;
    flex: 1;
}

.articles-filter .btn-filter {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.articles-filter .btn-filter:hover, 
.articles-filter .btn-filter.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text-color);
}

.article-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.article-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--muted-color);
    margin-bottom: 1rem;
    flex: 1;
}

.article-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.article-link:hover {
    color: var(--secondary-color);
}

.article-link i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.article-link:hover i {
    transform: translateX(3px);
}

.article-item {
    transition: opacity 0.3s, transform 0.3s;
}

.blog-sidebar {
    margin-left: 2rem;
}

.sidebar-widget {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.search-form .input-group {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.search-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
    background-color: var(--input-bg);
    color: var(--text-color);
}

.search-form .btn {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

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

.categories-list a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}

.categories-list a:hover {
    color: var(--primary-color);
}

.categories-list span {
    color: var(--muted-color);
    font-size: 0.85rem;
}

.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 1rem;
}

.recent-post-content h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.recent-post-content h5 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-content h5 a:hover {
    color: var(--primary-color);
}

.recent-post-date {
    color: var(--muted-color);
    font-size: 0.8rem;
    margin: 0;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--input-bg);
    color: var(--text-color);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.sidebar-newsletter-form .form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.pagination .page-link {
    color: var(--text-color);
    background-color: var(--surface-color);
    border-color: var(--border-color);
    margin: 0 0.25rem;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text-color);
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text-color);
}

.webinar-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.webinar-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text-color);
    padding: 1rem;
    text-align: center;
    width: 75px;
    height: 75px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 1.25rem;
}

.webinar-date .day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.webinar-date .month {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.webinar-content {
    flex: 1;
}

.webinar-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.webinar-presenter, .webinar-time {
    font-size: 0.9rem;
    color: var(--muted-color);
    margin-bottom: 0.75rem;
}

/* Contact Page Styles */
.contact-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.75rem;
    color: var(--light-text-color);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.contact-card p {
    color: var(--muted-color);
    margin-bottom: 0;
    line-height: 1.7;
}

.contact-card p a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card p a:hover {
    color: var(--primary-color);
}

.form-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-info {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    color: var(--light-text-color);
    position: relative;
    overflow: hidden;
}

.form-info:before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -75px;
    right: -75px;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-description {
    opacity: 0.9;
    line-height: 1.8;
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.form-info .social-links {
    margin-top: 1rem;
}

.form-info .social-link {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--light-text-color);
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.form-info .social-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.contact-form {
    padding: 2.5rem;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 132, 255, 0.25);
    background-color: var(--input-focus-bg);
    color: var(--input-text);
}

.form-control::placeholder {
    color: var(--input-placeholder);
}

.form-check-input {
    background-color: var(--input-bg);
    border-color: var(--input-border);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.location-tabs .nav-pills {
    background-color: var(--surface-color);
    border-radius: 50px;
    padding: 0.5rem;
    display: inline-flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.location-tabs .nav-link {
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin: 0 0.25rem;
    font-weight: 500;
    transition: all 0.3s;
}

.location-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.map-container {
    background-color: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.map-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-info {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 300px;
}

.map-info h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-info p {
    margin-bottom: 0.75rem;
    color: var(--muted-color);
}

/* Accordion Styles for FAQ */
.accordion-item {
    background-color: var(--card-bg);
    border-color: var(--input-border);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--input-bg);
    color: var(--input-text);
    font-weight: 600;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--card-hover);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8f9fa'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230084ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--card-bg);
    color: var(--light-text);
}

.accordion-body a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.accordion-body a:hover {
    color: var(--secondary-color);
}

/* Additional responsive styles */
@media (max-width: 991.98px) {
    .blog-sidebar {
        margin-left: 0;
        margin-top: 3rem;
    }
    
    .featured-img {
        height: 300px;
        border-radius: 12px 12px 0 0;
    }
    
    .form-info {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .map-info {
        position: static;
        max-width: 100%;
        margin-top: -20px;
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 767.98px) {
    .articles-filter .btn-filter {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .featured-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
    
    .location-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .portfolio-details p,
    .article-full-content p,
    .article-preview {
        font-size: 0.9rem;
    }
    
    .key-features ul.small {
        font-size: 0.8rem;
    }
    
    .article-full-content h5 {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .webinar-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .webinar-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Article Full Content Styles */
.article-full-content {
    margin-top: 1rem;
}

.article-full-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.article-full-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-full-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.article-full-content li {
    margin-bottom: 0.5rem;
}

.article-preview {
    color: var(--muted-color);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-toggle {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.article-toggle:hover {
    color: var(--secondary-color);
}

.article-title {
    position: relative;
}

.article-title:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230084ff'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    margin-left: 0.5rem;
    vertical-align: middle;
    opacity: 0.7;
    transition: transform 0.3s;
}

/* Partners Section */
.partners-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

.partner-category {
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.partners-grid {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.partner-logo img {
    max-height: 70px;
    max-width: 100%;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
}

.partner-logo:hover img {
    filter: brightness(1);
}

@media (max-width: 768px) {
    .partner-logo {
        height: 80px;
        padding: 10px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
    
    .partner-category {
        font-size: 1.3rem;
    }
}

.case-study-card {
    background-color: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.case-study-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
}

.case-study-content {
    padding: 25px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.case-highlight {
    font-size: 1rem;
    color: var(--color-secondary);
    margin-bottom: 0;
    font-weight: 500;
}

/* Page Header Section */
.page-header {
    background-color: var(--darker-bg);
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.page-header::before,
.page-header::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}

.page-header::before {
    background-color: var(--primary-color);
    top: -150px;
    right: -150px;
    opacity: 0.1;
}

.page-header::after {
    background-color: var(--secondary-color);
    bottom: -150px;
    left: -150px;
    opacity: 0.1;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* Form Text Helper - Improved visibility */
.form-text {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Invalid Feedback - More visible */
.invalid-feedback {
    color: #ff6b6b;
    font-weight: 500;
}

/* Eligibility Criteria Section */
.criteria-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.criteria-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.criteria-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-bottom: 1.75rem;
}

.criteria-icon i {
    font-size: 3rem;
    color: white;
}

.criteria-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.criteria-card p {
    color: var(--gray-text);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Values Section Styles */
.value-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-bottom: 1.75rem;
}

.value-icon i {
    font-size: 3rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.value-card p {
    color: var(--gray-text);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Section Styles */
.team-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.team-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.team-info {
    padding: 25px 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1rem;
}

.team-bio {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.team-bio ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.team-bio li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.team-bio li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Community & Resources Section */
.resource-tabs .nav-pills {
    background-color: var(--card-bg);
    border-radius: 50px;
    padding: 0.5rem;
    display: inline-flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.resource-tabs .nav-link {
    color: var(--light-text);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin: 0 0.25rem;
    font-weight: 500;
    transition: all 0.3s;
}

.resource-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.resource-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.resource-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.08);
}

.resource-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon i {
    font-size: 28px;
    color: white;
}

.resource-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.resource-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.license-img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    width: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.license-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 255, 0.2);
}

.event-card {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    height: 100%;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.08);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-content {
    padding: 20px;
    flex: 1;
}

.event-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.event-meta {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.event-meta i {
    margin-right: 5px;
}

.event-content p {
    color: var(--gray-text);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        padding: 10px;
        flex-direction: row;
        justify-content: center;
        min-width: auto;
    }
    
    .event-date .day {
        font-size: 1.5rem;
        margin-right: 5px;
    }
    
    .event-date .month {
        font-size: 0.8rem;
    }
    
    .resource-card,
    .event-content {
        padding: 15px;
    }
}

/* Modal customization for license display */
.modal-content.bg-dark {
    background: var(--bs-dark-bg-subtle);
    border: 1px solid var(--primary-color);
}

.modal-content.bg-dark .modal-header,
.modal-content.bg-dark .modal-footer {
    border-color: var(--primary-color);
}

.modal-content.bg-dark img {
    max-height: 70vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 140, 255, 0.3);
} 