* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #7928ca;
    --accent-color: #ff0080;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --border-color: #2d3748;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 40, 202, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 128, 0.05) 0%, transparent 50%);
    z-index: -1;
}

/* Header Styles */
.header {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    animation: rotate 10s linear infinite;
}

.logo-bar {
    position: absolute;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.logo-bar-1 {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
}

.logo-bar-2 {
    width: 8px;
    height: 2px;
    top: 35%;
    right: 30%;
    transform: rotate(45deg);
}

.logo-bar-3 {
    width: 8px;
    height: 2px;
    bottom: 35%;
    right: 30%;
    transform: rotate(-45deg);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link.active::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger Active State - X Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 140px);
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    min-height: 80vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--bg-primary);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-1);
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-2);
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 180px;
    height: 180px;
    background: var(--gradient-3);
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tools Section */
.tools-section {
    padding: 4rem 0;
}

/* Tools Search Box */
.tools-search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 0.75rem;
}

.tools-search-box {
    width: 100%;
    max-width: 500px;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tools-search-box:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2), var(--shadow-glow);
}

.tools-search-box::placeholder {
    color: var(--text-secondary);
}

.search-results-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    min-height: 1.2rem;
}

.search-results-count.has-results {
    color: var(--primary-color);
}

/* Search highlight/hidden states */
.tool-category.search-hidden {
    display: none;
}

.tool-list li.search-hidden {
    display: none;
}

.tool-list li.search-highlight a {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tool-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tool-category:hover::before {
    left: 100%;
}

.tool-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tool-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.tool-list {
    list-style: none;
}

.tool-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.tool-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-list a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tool-list li:hover {
    transform: translateX(5px);
}

/* View More Link */
.view-more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-more-link:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.view-more-link i {
    transition: transform 0.3s ease;
}

.view-more-link:hover i {
    transform: translateX(4px);
}

/* Best Badge */
.badge-best {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 10px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

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

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .main-content {
        padding: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Learn AI Page Styles */
.page-header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.search-section {
    margin-bottom: 3rem;
    text-align: center;
}

.search-box {
    width: 100%;
    max-width: 500px;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.search-box::placeholder {
    color: var(--text-secondary);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.topic-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.topic-card:hover::before {
    left: 100%;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.topic-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
}

.topic-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.topic-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.topic-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Topic Page Styles */
.topic-content {
    max-width: 1200px;
    margin: 0 auto;
}

.topic-header {
    text-align: center;
    padding: 2rem 0 3rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.topic-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-1);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.topic-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topic-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-bottom: 3rem;
}

.content-main {
    min-width: 0;
}

.content-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.content-section h4 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-primary);
}

.content-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-list {
    list-style: none;
    counter-reset: step-counter;
}

.step-list li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.6;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.model-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.model-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.model-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.model-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.model-card ul {
    list-style: none;
}

.model-card li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.model-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: var(--text-primary);
}

.external-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.external-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.use-case:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.use-case h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: var(--bg-card);
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Sidebar Styles */
.content-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0.5rem;
}

.sidebar-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

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

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.language-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Navigation Styles */
.topic-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

.nav-group {
    display: flex;
    gap: 1rem;
}

.nav-button {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.nav-button.primary {
    background: var(--primary-color);
    color: var(--bg-primary);
}

.nav-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.nav-button.secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive Design for Topic Pages */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-sidebar {
        position: static;
        order: -1;
    }

    .topic-header h1 {
        font-size: 2.5rem;
    }
}

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

    .nav-group {
        width: 100%;
        justify-content: space-between;
    }

    .nav-button {
        flex: 1;
    }

    .feature-highlights,
    .model-comparison,
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .topic-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 1rem;
    }

    .code-block {
        padding: 1rem;
    }

    .code-block pre {
        font-size: 0.8rem;
    }
}

/* Topic Page Styles */
.topic-content {
    max-width: 1200px;
    margin: 0 auto;
}

.topic-header {
    text-align: center;
    padding: 2rem 0 3rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.topic-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-1);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.topic-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topic-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-bottom: 3rem;
}

.content-main {
    min-width: 0;
}

.content-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.content-section h4 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-primary);
}

.content-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-list {
    list-style: none;
    counter-reset: step-counter;
}

.step-list li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
    line-height: 1.6;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.model-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.model-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.model-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.model-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.model-card ul {
    list-style: none;
}

.model-card li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.model-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: var(--text-primary);
}

.external-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.external-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.use-case:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.use-case h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: var(--bg-card);
    font-weight: 600;
    color: var(--text-primary);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Sidebar Styles */
.content-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0.5rem;
}

.sidebar-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

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

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.language-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Navigation Styles */
.topic-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

.nav-group {
    display: flex;
    gap: 1rem;
}

.nav-button {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.nav-button.primary {
    background: var(--primary-color);
    color: var(--bg-primary);
}

.nav-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-button.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.nav-button.secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive Design for Topic Pages */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-sidebar {
        position: static;
        order: -1;
    }

    .topic-header h1 {
        font-size: 2.5rem;
    }
}

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

    .nav-group {
        width: 100%;
        justify-content: space-between;
    }

    .nav-button {
        flex: 1;
    }

    .feature-highlights,
    .model-comparison,
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .topic-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 1rem;
    }

    .code-block {
        padding: 1rem;
    }

    .code-block pre {
        font-size: 0.8rem;
    }
}

/* Logo Image Styles */
.logo-img {
    width: 50px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin: 4rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    margin: 4rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    opacity: 0.9;
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Additional Category Icons */
.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Logo Image Styles */
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin: 4rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    margin: 4rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    opacity: 0.9;
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Additional Category Icons */
.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Logo Image Styles */
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    object-fit: contain;
}

/* Category Icons - Fixed Design */
.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

/* Tool Category - Fixed Layout */
.tool-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.tool-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.tool-list {
    list-style: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tool-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    line-height: 1.4;
}

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

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    margin: 4rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    margin: 4rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Tools Grid Responsive */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .tool-category {
        padding: 1.5rem;
        min-height: 250px;
    }

    .tool-category h3 {
        font-size: 1.2rem;
    }
}

/* Ensure text doesn't overflow */
.tool-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    word-break: break-word;
}

.tool-list li {
    word-break: break-word;
    hyphens: auto;
}

/* Team Row Layout */
.team-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-row .team-member {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-row .member-image {
    flex-shrink: 0;
}

.team-row .member-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-row .member-bio {
    flex-grow: 1;
}

/* Enhanced Team Member Styles */
.team-member {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

.team-member.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.member-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.member-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 3px solid var(--primary-color);
}

.team-member.featured .member-photo {
    height: 300px;
}

.team-row .member-photo {
    height: 180px;
}

.member-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.member-affiliation {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.expertise-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive Design for Team Section */
@media (max-width: 1200px) {
    .team-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-row .team-member:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .team-member.featured {
        grid-template-columns: 1fr;
    }

    .team-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-row .team-member:nth-child(3) {
        grid-column: 1;
        max-width: none;
    }

    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {

    .mission-grid,
    .offerings-grid,
    .vision-list,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-content h1 {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        padding: 0 1rem;
    }

    .team-row .member-photo {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 1.5rem;
    }

    .member-photo {
        height: 180px;
    }

    .team-member.featured .member-photo {
        height: 250px;
    }

    .team-row .member-photo {
        height: 160px;
    }

    .mission-card,
    .offering-item,
    .vision-item,
    .stat-card {
        padding: 1.5rem;
    }

    .team-member {
        padding: 1.5rem;
    }
}

/* About Page Styles */
.about-hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 auto 1.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.mission-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Offerings Grid */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offering-item {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.offering-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.offering-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Team Section */
.team-section {
    background: var(--bg-secondary);
}

.team-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-member.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.member-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.member-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 3px solid var(--primary-color);
}

.team-member.featured .member-photo {
    height: 300px;
}

.member-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.member-affiliation {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.member-bio {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-best {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    vertical-align: middle;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.4);
}



/* Vision Section */
.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vision-item {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.vision-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.vision-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .team-member.featured {
        grid-template-columns: 1fr;
    }

    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {

    .mission-grid,
    .offerings-grid,
    .vision-list,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-content h1 {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 1.5rem;
    }

    .member-photo {
        height: 200px;
    }

    .team-member.featured .member-photo {
        height: 250px;
    }

    .mission-card,
    .offering-item,
    .vision-item,
    .stat-card {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.contact-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contacts Grid */
.contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contact-card.featured {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 2px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.contact-image {
    position: relative;
    flex-shrink: 0;
}

.contact-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 3px solid var(--primary-color);
}

.contact-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

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

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-role {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.contact-link:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(5px);
}

.contact-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.contact-link span {
    font-size: 0.95rem;
}

/* Contacts Row */
.contacts-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contacts-row .contact-card {
    flex-direction: column;
    text-align: center;
    height: 100%;
}

.contacts-row .contact-image {
    margin: 0 auto 1.5rem;
}

.contacts-row .contact-photo {
    width: 120px;
    height: 120px;
}

.contacts-row .contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contacts-row .contact-bio {
    flex-grow: 1;
}

/* General Contact Section */
.general-contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-method {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-primary);
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-method p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.method-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.method-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Collaboration Section */
.collaboration-content {
    max-width: 900px;
    margin: 0 auto;
}

.collab-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.collab-type {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.collab-type:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.collab-type h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.collab-type p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contacts-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts-row .contact-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-card.featured {
        flex-direction: column;
    }

    .contact-image {
        margin: 0 auto 1.5rem;
    }

    .contact-photo {
        width: 120px;
        height: 120px;
    }

    .contact-card.featured .contact-photo {
        width: 150px;
        height: 150px;
    }

    .contacts-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contacts-row .contact-card:nth-child(3) {
        grid-column: 1;
        max-width: none;
    }

    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {

    .contact-methods,
    .collab-types {
        grid-template-columns: 1fr;
    }

    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-content {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-method,
    .collab-type {
        padding: 1.5rem;
    }

    .contact-photo {
        width: 100px;
        height: 100px;
    }

    .contact-card.featured .contact-photo {
        width: 120px;
        height: 120px;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.contact-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.contact-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contacts Grid - Simplified */
.contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-card.featured {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 2px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.contact-image {
    position: relative;
    flex-shrink: 0;
}

.contact-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.contact-card.featured .contact-photo {
    width: 140px;
    height: 140px;
}

.contact-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: var(--bg-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

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

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-role {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.contact-link:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-link i {
    width: 16px;
    text-align: center;
    font-size: 1rem;
}

.contact-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contacts Row */
.contacts-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contacts-row .contact-card {
    flex-direction: column;
    text-align: center;
    height: 100%;
    padding: 1.5rem;
}

.contacts-row .contact-image {
    margin: 0 auto 1rem;
}

.contacts-row .contact-photo {
    width: 100px;
    height: 100px;
}

.contacts-row .contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contacts-row .contact-role {
    margin-bottom: 1rem;
}

.contacts-row .contact-links {
    justify-content: center;
    margin-top: auto;
}

/* Collaboration Section */
.collaboration-content {
    max-width: 1000px;
    margin: 0 auto;
}

.collab-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.collab-type {
    padding: 2.5rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.collab-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
}

.collab-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

.collab-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.collab-type h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.collab-type p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contacts-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts-row .contact-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .contact-card.featured {
        flex-direction: column;
    }

    .contact-image {
        margin: 0 auto;
    }

    .contact-photo {
        width: 100px;
        height: 100px;
    }

    .contact-card.featured .contact-photo {
        width: 120px;
        height: 120px;
    }

    .contacts-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contacts-row .contact-card:nth-child(3) {
        grid-column: 1;
        max-width: none;
    }

    .collab-types {
        grid-template-columns: 1fr;
    }

    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-links {
        justify-content: center;
    }

    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-content {
        padding: 0 1rem;
    }

    .collab-types {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contacts-row .contact-card {
        padding: 1.5rem;
    }

    .collab-type {
        padding: 2rem 1.5rem;
    }

    .contact-photo {
        width: 80px;
        height: 80px;
    }

    .contact-card.featured .contact-photo {
        width: 100px;
        height: 100px;
    }

    .contacts-row .contact-photo {
        width: 80px;
        height: 80px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        justify-content: center;
    }

}


/* News Page Styles - Article-wise Layout */
.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Search Section */
.search-section {

    text-align: center;
}

.search-box {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* News Articles */
.news-article {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    width: calc(33.333% - 14px);
    /* 3 columns with gap consideration */
}

@media (max-width: 992px) {
    .news-article {
        width: calc(50% - 10px);
        /* 2 columns */
    }
}

@media (max-width: 600px) {
    .news-article {
        width: 100%;
        /* 1 column */
        margin-bottom: 2rem;
    }
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-color);
}

/* Article Header */
.article-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.article-category {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.article-category.security {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
}

.article-category.release {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.article-category.enterprise {
    background: linear-gradient(135deg, #9c88ff, #8c7ae6);
    color: white;
}

.article-category.breakthrough {
    background: linear-gradient(135deg, #ff9ff3, #f368e0);
    color: white;
}

.article-category.video {
    background: linear-gradient(135deg, #00d2d3, #01a3a4);
    color: white;
}

.article-category.image {
    background: linear-gradient(135deg, #feca57, #ff9f43);
    color: white;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0;
}

/* Article Image - Common Size */
.article-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.news-article:hover .article-image img {
    transform: scale(1.02);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--text-primary);
    padding: 1rem 2rem;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.9;
}

/* Article Content */
.article-content {
    padding: 2rem;
}

.article-summary {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-highlights {
    margin-bottom: 2rem;
}

.article-highlights h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.article-highlights ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.article-highlights li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: var(--text-secondary);
}

.article-highlights li::before {
    content: "▸";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.article-highlights strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-note {
    background: rgba(0, 212, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-secondary);
    margin: 1.5rem 0;
}

/* Read More Link */
.article-readmore {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.readmore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.readmore-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 4rem 0;
}

.page-link {
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: var(--bg-primary);
    border-color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    border-radius: var(--border-radius);
    margin: 4rem 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.newsletter-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Responsive Design for News Page */
@media (max-width: 1200px) {
    .news-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 968px) {
    .article-title {
        font-size: 1.7rem;
    }

    .article-image img {
        height: 400px;
    }

    .article-content,
    .article-header {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.5rem;
    }

    .article-image img {
        height: 300px;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .newsletter-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.3rem;
    }

    .article-image img {
        height: 250px;
    }

    .article-content,
    .article-header {
        padding: 1rem;
    }

    .article-summary {
        font-size: 1rem;
    }

    .article-highlights h3 {
        font-size: 1.2rem;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .newsletter-section {
        padding: 3rem 1rem;
    }
}

/* Ensure AI News button gets the same active styling */
.nav-link.active[href="news.html"]::after {
    width: 80%;
}

.nav-link.active[href="news.html"] {
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
}

/* Remove active underline but keep hover for News */
.nav-link.active[href="news.html"]::after {
    display: none;
}

/* Keep hover effect */
.nav-link[href="news.html"]:hover::after {
    display: block;
    width: 80%;
}

/* ===== FIX FOR NEWS BUTTON UNDERLINE ===== */
/* Remove the blue underline only for the News button when active */
nav .nav-menu li a[href="news.html"].active::after {
    width: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Optional: Keep hover effect */
nav .nav-menu li a[href="news.html"]:hover::after {
    width: 80%;
    opacity: 1;
    visibility: visible;
}

/* Masonry Grid Styles */
.news-grid {
    display: block;
    margin: 0 -15px;
}

.masonry-sizer {
    width: 33.333%;
}

.masonry-item {
    width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

@media (max-width: 968px) {

    .masonry-sizer,
    .masonry-item {
        width: 50%;
    }
}

@media (max-width: 600px) {

    .masonry-sizer,
    .masonry-item {
        width: 100%;
    }
}

/* About Page Redesign */

/* Hero Brand */
.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Mission & Vision Styling */
.section-header {
    margin-bottom: 3rem;
}

.mission-text,
.vision-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
}

.about-section.alt-bg {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.team-card {
    background: rgba(22, 33, 62, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.team-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    padding: 3px;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-card);
    /* Creates visual gap */
}

.team-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Icons in Cards */
.card-icon {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* Offering Items */
.offering-item h3 i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.vision-item h4 i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Supported By Section */
.supported-section {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.support-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.support-logo-container {
    background: #ffffff;
    /* White background for logo visibility */
    padding: 1.5rem 3rem;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.support-logo-container:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.support-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Support Logo Responsive - Mobile Fix */
@media (max-width: 768px) {
    .support-logo-container {
        padding: 1rem 1.5rem;
        max-width: 90%;
        margin: 0 auto;
    }

    .support-logo {
        height: 50px;
        max-width: 100%;
    }

    .supported-section {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .support-logo-container {
        padding: 0.75rem 1rem;
    }

    .support-logo {
        height: 40px;
    }

    .support-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

.team-img-wrapper.large {
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
}

.contact-sub {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Social Buttons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-btn.whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

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

.social-btn.github:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.social-btn.email:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.social-btn.website:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.social-btn:hover {
    transform: translateY(-3px) rotate(360deg);
}

/* Expanded buttons for guides */
.contact-card-premium .social-btn.whatsapp,
.contact-card-premium .social-btn.website {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 25px;
}

.contact-card-premium .social-btn:hover {
    transform: translateY(-3px);
    /* No rotation for pills */
}

/* Compact Cards */
.contact-card-adjust {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card-adjust:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.contact-card-adjust .team-img-wrapper {
    margin-bottom: 1rem;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Our Other Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: rgba(22, 33, 62, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.project-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.project-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-logo {
    box-shadow: 0 8px 35px rgba(0, 212, 255, 0.6);
    transform: scale(1.05);
}

.project-card:hover .project-logo img {
    transform: scale(1.1);
}

.project-content h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.project-description strong {
    color: var(--primary-color);
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.feature-tag i {
    font-size: 0.9rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments for projects section */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 2rem;
    }

    .project-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }

    .project-content h3 {
        font-size: 1.4rem;
    }

    .project-features {
        flex-direction: column;
        align-items: center;
    }
}