:root {
    /* Colors */
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #3b82f6;
    /* Tech Blue */
    --accent-pub: #8b5cf6;
    /* Publisher Purple */
    --accent-edu: #f59e0b;
    /* Education Amber */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --white: #ffffff;
    --bg-light: #f1f5f9;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--secondary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.highlight {
    color: var(--accent);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 50px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    transition: color 0.3s;
    font-family: inherit;
    font-size: 0.9rem;
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--accent);
}

.divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 8rem;
    background: var(--gradient-hero);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Feature Strip */
.features-strip {
    display: flex;
    gap: 2rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 250px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent);
}

.feature-item:nth-child(2) i {
    color: var(--accent-pub);
}

.feature-item:nth-child(3) i {
    color: var(--accent-edu);
}

.feature-item h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Tech Section */
.tech-section {
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.sub-title {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.service-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Publishing Section */
.publishing-section {
    background: #f8fafc;
}

.row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.col-content {
    flex: 1;
}

.publishing-section .sub-title {
    color: var(--accent-pub);
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list li i {
    font-size: 1.5rem;
    color: var(--accent-pub);
    margin-top: 0.25rem;
}

.feature-list h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list h4 a {
    color: var(--accent-pub);
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.feature-list h4 a:hover {
    transform: scale(1.1);
}

.feature-list p a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.feature-list p a:hover {
    color: var(--accent-pub);
}

.col-image {
    flex: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.abstract-visual {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ddd6fe 0%, #f5f3ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.p-visual {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

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

.feature-image:hover {
    transform: scale(1.05);
}

.abstract-visual i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Education Section */
.education-section {
    background: var(--white);
}

.education-section .sub-title {
    color: var(--accent-edu);
}

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

.edu-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--bg-light);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.edu-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: #f1f5f9;
}

.edu-card.highlight {
    background: #fffbeb;
    border-color: #fef3c7;
}

.edu-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.edu-card p {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.link-arrow {
    font-weight: 600;
    color: var(--accent-edu);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.link-arrow:hover i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    background: #0f172a;
    color: var(--text-secondary);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand h3 span {
    color: var(--accent);
}

.footer-brand p {
    line-height: 1.6;
    margin-right: 2rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .features-strip {
        flex-wrap: wrap;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .row {
        flex-direction: column;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand p {
        margin-right: 0;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-white,
    .btn-outline-white {
        width: 100%;
        text-align: center;
    }
}

/* Team Section */
.team-section {
    background: var(--bg-light);
    position: relative;
    z-index: 10;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    width: 260px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

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

.team-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.team-card h3 a:hover {
    color: var(--accent);
}

.team-card h3 a i {
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.team-card h3 a:hover i {
    opacity: 1;
}

.team-card .role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.team-card .role-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Specific Role Colors */
/* Owner - Dark Blue/Primary */
.team-card:nth-child(1) .team-img-wrapper {
    border-color: var(--primary);
}

.team-card:nth-child(1) .team-placeholder {
    background: var(--primary);
}

.team-card:nth-child(1) .role {
    color: var(--primary);
}

/* Tech - Blue */
.team-card:nth-child(2) .team-img-wrapper {
    border-color: var(--accent);
}

.team-card:nth-child(2) .team-placeholder {
    background: var(--accent);
}

.team-card:nth-child(2) .role {
    color: var(--accent);
}

/* Pub - Purple */
.team-card:nth-child(3) .team-img-wrapper {
    border-color: var(--accent-pub);
}

.team-card:nth-child(3) .team-placeholder {
    background: var(--accent-pub);
}

.team-card:nth-child(3) .role {
    color: var(--accent-pub);
}

/* Edu - Amber */
.team-card:nth-child(4) .team-img-wrapper {
    border-color: var(--accent-edu);
}

.team-card:nth-child(4) .team-placeholder {
    background: var(--accent-edu);
}

.team-card:nth-child(4) .role {
    color: var(--accent-edu);
}

/* IT - Gray */
.team-card:nth-child(5) .team-img-wrapper {
    border-color: #64748b;
}

.team-card:nth-child(5) .team-placeholder {
    background: #64748b;
}

.team-card:nth-child(5) .role {
    color: #64748b;
}

/* Responsive Team */
@media (max-width: 768px) {
    .team-grid {
        gap: 1.5rem;
    }

    .team-card {
        width: 100%;
        max-width: 320px;
    }
}

/* Location & Map */
.location-info-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.address {
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.address i {
    color: var(--accent);
}

.map-container {
    width: 100%;
    /* max-width: 800px; Remove max-width for full width in footer container */
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: grayscale(20%);
    /* Blend better with dark footer */
    transition: filter 0.3s;
}

.map-container:hover {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .address {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .map-container {
        height: 250px;
    }

    .location-info-footer {
        padding-top: 2rem;
        margin-bottom: 2rem;
    }
}