/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #4064d7;
    --primary-dark: #2d4a9e;
    --accent-color: #4064d7;
    --text-color: #4B4F58;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #2d3748;
    --border-color: #e2e8f0;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Varela Round', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Hero Section */
.hero {
    margin-top: 60px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../Images/blackboard-business-chalkboard-355988-e1535100413852.jpg') center center / cover no-repeat;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-color);
}

.services h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1rem;
}

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

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.teamviewer-badge {
    display: inline-block;
    position: relative;
    margin-top: 1rem;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.teamviewer-badge:hover {
    opacity: 0.85;
}

.teamviewer-badge img {
    display: block;
    border-radius: 4px;
}

.teamviewer-badge span {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    width: 115px;
    line-height: 1.2;
}

/* Integrations Section */
.integrations {
    padding: 5rem 0;
    background: var(--bg-light);
}

.integrations h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.integrations-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.integration-category {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.integration-card {
    background: var(--bg-color);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.integration-card strong {
    display: block;
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.integration-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.integrations-cta-inline {
    margin: 1rem 0 0.5rem;
}

.btn-small {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.btn-small:hover {
    background: var(--primary-dark);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-color);
}

.contact h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-color);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item svg {
    width: 22px;
    height: 22px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-color);
    font-weight: 400;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item span {
    color: var(--text-light);
}

.contact-item-link {
    text-decoration: none;
    border: 2px solid var(--primary-color);
    background: var(--bg-light);
}

.contact-item-link:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.contact-item-link:hover svg,
.contact-item-link:hover strong,
.contact-item-link:hover span {
    color: white;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 1.5rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer p {
    opacity: 0.8;
}

.footer a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer a:hover {
    opacity: 1;
}

/* Privacy Policy Page */
.page-content {
    padding: 7rem 0 4rem;
    min-height: calc(100vh - 150px);
}

.page-content h1 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.page-content h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-color);
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.page-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-light);
}

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

.page-content a {
    color: var(--accent-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 55px;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .services {
        padding: 3rem 0;
    }

    .integrations {
        padding: 3rem 0;
    }

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

    .contact {
        padding: 3rem 0;
    }

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