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

:root {
    --tevora-blue: #5BC0EB;
    --tevora-dark: #1a1a2e;
    --tevora-light: #f8f9fa;
    --accent: #00d4ff;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(91, 192, 235, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: transparent;
    /* removed blue frame behind logo */
    clip-path: none;
    /* disable decorative clip so PNG displays without colored shape */
    border-radius: 8px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fill the icon area so no transparent edges show */
    display: block;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--tevora-blue), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text.animated {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--accent);
    animation: typing 5s steps(6, start) forwards, blink 0.7s step-end 5s 5, cursor-white 0.1s step-end 8.5s forwards;
}

@keyframes typing {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes blink {

    0%,
    49% {
        border-right-color: var(--accent);
    }

    50%,
    99% {
        border-right-color: transparent;
    }

    100% {
        border-right-color: var(--accent);
    }
}

@keyframes cursor-white {
    0% {
        border-right-color: white;
    }

    100% {
        border-right-color: white;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
}

.nav-links a {
    color: var(--tevora-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--tevora-blue);
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: var(--tevora-blue);
}

.nav-cta {
    background: var(--tevora-blue);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 1200;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--tevora-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 192, 235, 0.3);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--tevora-dark);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Page Container */
.page {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f5fb 100%);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1.5rem 2rem;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 1.5rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(91, 192, 235, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--tevora-dark);
    letter-spacing: -2px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

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

.hero-content .highlight {
    color: var(--tevora-blue);
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: 1rem;
    }
}

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

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

.btn {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--tevora-blue) 0%, #00d4ff 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(91, 192, 235, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--tevora-dark) 0%, #1a3a5e 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(91, 192, 235, 0.5);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background: white;
    color: var(--tevora-blue);
    border: 2px solid var(--tevora-blue);
}

.btn-secondary:hover {
    background: var(--tevora-blue);
    color: white;
    transform: translateY(-3px);
}

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

.globe-fallback {
    position: absolute;
    width: 280px;
    height: 280px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none !important;
}

.globe-fallback.active {
    display: block !important;
    opacity: 1;
}

.hero-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circuit-node {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--tevora-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--tevora-blue);
    animation: pulse-node 2s ease-in-out infinite;
}

@keyframes pulse-node {

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

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--tevora-blue), transparent);
    height: 2px;
    animation: flow 3s linear infinite;
}

@keyframes flow {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Features Section */
.features {
    padding: 8rem 3rem;
    background: white;
}

@media (max-width: 768px) {
    .features {
        padding: 5rem 1.5rem;
    }
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    color: var(--tevora-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--tevora-dark);
    margin-bottom: 1rem;
}

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

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

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
}

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

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    border-color: var(--tevora-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(91, 192, 235, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--tevora-blue), #00d4ff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.6rem;
    color: var(--tevora-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Stats Section */
.stats {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, var(--tevora-dark) 0%, #16213e 100%);
    color: white;
}

@media (max-width: 768px) {
    .stats {
        padding: 4rem 1.5rem;
    }
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--tevora-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Services Page */
/* Services listing page hero (different from individual service pages) */
.services-hero:not(:has(.hero-visual)) {
    padding: 6rem 2rem 5rem;
    background: linear-gradient(135deg, var(--tevora-dark) 0%, #16213e 100%);
    color: white;
    margin-top: 0;
    border-bottom: 1px solid rgba(91, 192, 235, 0.15);
    padding-top: calc(60px + 4rem);
}

@media (max-width: 768px) {
    .services-hero:not(:has(.hero-visual)) {
        padding: calc(60px + 3rem) 1.5rem 3rem;
    }
}

@media (max-width: 480px) {
    .services-hero:not(:has(.hero-visual)) {
        padding: calc(60px + 2rem) 1rem 2rem;
    }
}

.services-hero:not(:has(.hero-visual)) .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.services-hero:not(:has(.hero-visual)) .section-label {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services-hero:not(:has(.hero-visual)) .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin: 0;
}

@media (max-width: 768px) {
    .services-hero:not(:has(.hero-visual)) .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero:not(:has(.hero-visual)) .section-title {
        font-size: 1.6rem;
    }
}

.services-hero:not(:has(.hero-visual)) .section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .services-hero:not(:has(.hero-visual)) .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-hero:not(:has(.hero-visual)) .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Individual service pages hero (with icon/visual) */
.services-hero {
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(135deg, var(--tevora-dark) 0%, #16213e 100%);
    color: white;
    margin-top: 0;
    border-bottom: 1px solid rgba(91, 192, 235, 0.15);
    padding-top: calc(60px + 1.5rem);
}

@media (max-width: 768px) {
    .services-hero {
        padding: calc(60px + 1rem) 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: calc(60px + 0.75rem) 1rem 1rem;
    }
}

.services-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 900px) {
    .services-hero .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-hero .container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

.services-hero .section-label {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.services-hero .section-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    color: white;
    margin: 0;
}

@media (max-width: 768px) {
    .services-hero .section-title {
        font-size: 1.6rem;
    }
}

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

.services-hero .section-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0.6rem 0 1.2rem 0;
    max-width: 600px;
}

@media (max-width: 768px) {
    .services-hero .section-subtitle {
        font-size: 0.9rem;
        margin: 0.5rem 0 1rem 0;
    }
}

@media (max-width: 480px) {
    .services-hero .section-subtitle {
        font-size: 0.85rem;
        margin: 0.4rem 0 0.8rem 0;
    }
}

.services-hero .hero-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.services-hero .hero-cta {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

@media (max-width: 600px) {
    .services-hero .hero-cta {
        flex-direction: column;
        gap: 0.6rem;
        align-items: stretch;
    }

    .services-hero .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}

.services-hero .hero-visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .services-hero .hero-visual {
        display: none;
    }
}

.services-grid {
    max-width: 1200px;
    margin: 3rem auto 5rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        margin: 2rem auto 3rem;
        gap: 1.2rem;
    }
}

.service-card {
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20, 30, 60, 0.06);
    border: 1px solid rgba(10, 30, 60, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: auto;
}

.service-image {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    background: linear-gradient(135deg, var(--tevora-blue), var(--accent));
    box-shadow: 0 10px 30px rgba(91, 192, 235, 0.14);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.service-content h3 {
    font-size: 1.2rem;
    margin: 0.2rem 0 0.4rem;
}

.service-content p {
    color: #4b5563;
    line-height: 1.5;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0.6rem 0 0;
    display: grid;
    gap: 0.4rem;
}

.service-features li {
    color: #374151;
    padding-left: 1.2rem;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--tevora-blue);
    border-radius: 2px;
}

.service-footer {
    margin-top: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.service-footer .btn-primary,
.service-footer .btn-secondary {
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* About Page */
.about-section {
    padding: 8rem 3rem;
}

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

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-content h2 {
    font-size: 3rem;
    color: var(--tevora-dark);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .about-content h2 {
        font-size: 1.8rem;
    }
}

.about-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, var(--tevora-blue), #00d4ff);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.value-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.4rem;
    color: var(--tevora-dark);
    margin-bottom: 1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 6rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
    justify-items: center;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 1rem;
    }
}

.team-member {
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-photo {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--tevora-blue), #00d4ff);
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

/* image inside team-photo should cover the box */
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* fallback initials / emoji shown when image missing (kept visible by default) */
.team-photo .team-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    z-index: 1;
    pointer-events: none;
}

/* hide initials when an image loaded successfully */
.team-photo img+.team-initials {
    display: none;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.3rem;
    color: var(--tevora-dark);
    margin-bottom: 0.3rem;
}

.team-member p {
    color: var(--tevora-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-email {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.team-email:hover {
    color: var(--tevora-blue);
    text-decoration: underline;
}

/* Team Member Cards */
.team-member-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

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

.team-member-reverse .team-photo-wrapper {
    order: 2;
}

.team-member-reverse .team-info {
    order: 1;
}

.team-photo-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.team-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--tevora-dark);
}

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

.team-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.team-contact a {
    color: var(--tevora-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.team-contact a:hover {
    color: var(--tevora-dark);
    transform: translateX(5px);
}

/* Team Contact Section */
.team-contact-section {
    padding: 4rem 2rem;
}

.team-contact-box {
    background: linear-gradient(135deg, rgba(91, 192, 235, 0.08) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 2px solid rgba(91, 192, 235, 0.2);
    border-radius: 16px;
    padding: 3rem;
}

.team-contact-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--tevora-dark);
}

.team-contact-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.team-contact-text:last-of-type {
    margin-bottom: 2rem;
}

.team-contact-link {
    color: var(--tevora-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-contact-link:hover {
    text-decoration: underline;
}

.team-contact-info-grid {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-contact-info-item {
    position: relative;
}

.team-contact-info-item:not(:last-child) {
    border-right: 1px solid rgba(30, 144, 255, 0.1);
}

.team-contact-info-label {
    font-size: 0.9rem;
    color: #888;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    font-weight: 600;
}

.team-contact-info-value {
    color: var(--tevora-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.team-contact-info-value:hover {
    color: var(--tevora-dark);
}

/* Mobile optimizations for team cards */
@media (max-width: 768px) {

    .team-member-card,
    .team-member-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .team-member-reverse .team-photo-wrapper,
    .team-member-reverse .team-info {
        order: unset;
    }

    .team-photo-wrapper {
        max-width: 250px;
    }

    .team-info h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .team-role {
        font-size: 1rem;
        text-align: center;
    }

    .team-description {
        font-size: 0.95rem;
        text-align: center;
    }

    .team-contact {
        align-items: center;
    }

    .team-contact-section {
        padding: 3rem 1.5rem;
    }

    .team-contact-box {
        padding: 2rem;
    }

    .team-contact-title {
        font-size: 1.5rem;
    }

    .team-contact-text {
        font-size: 1rem;
    }

    .team-contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .team-contact-info-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(30, 144, 255, 0.1);
        padding-bottom: 1.5rem;
    }

    .team-contact-info-label {
        font-size: 0.85rem;
    }

    .team-contact-info-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .team-member-card {
        margin-bottom: 2.5rem;
    }

    .team-photo-wrapper {
        max-width: 200px;
    }

    .team-info h3 {
        font-size: 1.3rem;
    }

    .team-role {
        font-size: 0.95rem;
    }

    .team-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .team-contact a {
        font-size: 0.95rem;
    }

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

    .team-contact-box {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .team-contact-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .team-contact-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .team-contact-text:last-of-type {
        margin-bottom: 1.5rem;
    }

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

    .team-contact-info-item:not(:last-child) {
        padding-bottom: 1rem;
    }

    .team-contact-info-label {
        font-size: 0.8rem;
    }

    .team-contact-info-value {
        font-size: 0.95rem;
        word-break: break-word;
    }
}

/* Contact Page */
.contact-section {
    padding: calc(60px + 2rem) 2rem 2rem;
    min-height: auto;
}

@media (max-width: 768px) {
    .contact-section {
        padding: calc(60px + 2.5rem) 1.5rem 4rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: calc(60px + 1.5rem) 1rem 3rem;
    }
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
    align-items: stretch;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 20px;
        min-height: auto;
    }
}

.contact-info {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--tevora-dark) 0%, #16213e 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .contact-info {
        padding: 3rem 2rem;
    }
}

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

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--tevora-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-form {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 3rem 2rem;
    }
}

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

/* Step Indicator */
.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--tevora-blue);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-align: center;
}

.step.active .step-label {
    color: var(--tevora-blue);
    font-weight: 600;
}

@media (max-width: 768px) {
    .form-steps {
        margin-bottom: 2rem;
        gap: 0.5rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-label {
        display: none;
    }
}

/* Form Steps */
.form-step {
    display: none;
    animation: slideIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h2 {
    margin-bottom: 2rem;
    color: var(--tevora-dark);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--tevora-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--tevora-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

/* Radio Group Styling */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
}

.radio-label:hover {
    background: #f8f9fa;
    border-color: var(--tevora-blue);
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    cursor: pointer;
}

.radio-label input[type="radio"]:checked {
    accent-color: var(--tevora-blue);
}

.radio-label input[type="radio"]:checked~span {
    color: var(--tevora-blue);
    font-weight: 600;
}

.radio-label span {
    flex: 1;
    transition: color 0.3s ease;
}

/* Form Summary */
.form-summary {
    background: var(--tevora-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: var(--tevora-dark);
}

.summary-value {
    color: var(--tevora-blue);
    font-weight: 500;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.form-navigation button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #f0f0f0;
    color: var(--tevora-dark);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* Contact Form Submit Button */
.contact-form .btn-primary {
    display: block;
    margin-top: 1.5rem;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Form fade out animation */
#contactForm.fade-out {
    animation: fadeOutForm 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes fadeOutForm {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

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

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
    opacity: 0;
    transform: scale(0.5) rotateZ(-10deg);
    transition: none;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message.show {
    animation: successPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateZ(-15deg);
    }

    60% {
        transform: scale(1.08) rotateZ(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateZ(0deg);
    }
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.success-checkmark {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmarkPulse 0.8s ease-out;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4);
    position: relative;
}

.success-checkmark::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    animation: radiusPulse 1.2s ease-out;
}

.check-icon {
    font-size: 3.5rem;
    color: white;
    animation: checkDraw 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

@keyframes checkmarkPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes radiusPulse {
    0% {
        transform: scale(0.2);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes checkDraw {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.2) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.success-message h3 {
    font-size: 2.2rem;
    color: var(--tevora-dark);
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.5px;
    animation: slideInText 0.8s ease-out 0.3s backwards;
}

.success-message p {
    font-size: 1.15rem;
    color: #666;
    margin: 0;
    max-width: 450px;
    line-height: 1.6;
    animation: slideInText 0.8s ease-out 0.5s backwards;
}

@keyframes slideInText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile optimization for success message */
@media (max-width: 768px) {
    .success-message {
        padding: 3rem 1.5rem;
        min-height: 280px;
    }

    .success-checkmark {
        width: 100px;
        height: 100px;
    }

    .check-icon {
        font-size: 3rem;
    }

    .success-message h3 {
        font-size: 1.8rem;
    }

    .success-message p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .success-message {
        padding: 2rem 1rem;
        min-height: 250px;
        gap: 1.2rem;
    }

    .success-checkmark {
        width: 85px;
        height: 85px;
    }

    .check-icon {
        font-size: 2.5rem;
    }

    .success-message h3 {
        font-size: 1.4rem;
    }

    .success-message p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .success-content {
        gap: 1rem;
    }
}

/* Footer */
footer {
    background: var(--tevora-dark);
    color: #dfe7ef;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(91, 192, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-top {
    padding: 5rem 2rem 3rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tevora-blue);
}

.footer-about p {
    color: rgba(223, 231, 239, 0.85);
    line-height: 1.7;
    max-width: 42ch;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 192, 235, 0.1);
    border: 1px solid rgba(91, 192, 235, 0.2);
    border-radius: 8px;
    color: var(--tevora-blue);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.social-link i,
.social-link svg {
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
}

/* Social Media Icons (nicht User Login Button) */
.social-link svg.feather-linkedin,
.social-link svg.feather-twitter,
.social-link svg.feather-github {
    stroke: var(--tevora-blue) !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    color: var(--tevora-blue) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* User Login Button Icon - separate Styles */
.social-link svg.feather-user {
    stroke: white !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

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

.social-link:hover svg.feather-linkedin,
.social-link:hover svg.feather-twitter,
.social-link:hover svg.feather-github {
    stroke: white !important;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links li {
    transition: transform 0.2s ease;
}

.footer-links li:hover {
    transform: translateX(4px);
}

.footer-links a {
    color: rgba(223, 231, 239, 0.8);
    text-decoration: none;
    position: relative;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--tevora-blue), var(--accent));
    transition: width 0.3s ease;
}

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

.footer-links a:hover::before {
    width: 100%;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(91, 192, 235, 0.3), transparent);
    position: relative;
    z-index: 1;
}

.footer-bottom {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    color: rgba(223, 231, 239, 0.65);
    margin: 0;
    font-size: 0.9rem;
}

.footer-tagline {
    color: rgba(91, 192, 235, 0.7) !important;
    font-weight: 500;
}

/* Responsive: stack columns on small screens */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-about p {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .footer-top {
        padding: 3rem 1.5rem 2rem;
    }

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

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

    .footer-bottom {
        padding: 1.5rem 1.5rem;
    }

    .footer-bottom-content {
        gap: 0.3rem;
    }
}

/* ===== EPIC/ADDITIONAL STYLES ===== */
/* top scroll progress bar */
#progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tevora-blue), var(--accent));
    width: 0%;
    z-index: 1200;
    transition: width 0.15s linear;
    box-shadow: 0 0 20px rgba(91, 192, 235, 0.25);
}

/* floating epic glow in hero */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 30% 30%, rgba(91, 192, 235, 0.18), transparent 35%), radial-gradient(circle at 70% 70%, rgba(0, 212, 255, 0.08), transparent 35%);
    filter: blur(70px);
    top: -120px;
    right: -120px;
    z-index: 0;
    pointer-events: none;
    animation: floaty 9s ease-in-out infinite;
}

@keyframes floaty {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(24px) rotate(6deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* mobile nav open state */
.nav-open .nav-links {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    z-index: 1100;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.nav-toggle-active {
    transform: rotate(90deg);
}

/* dark mode support (simple vars override) */
.dark {
    --tevora-blue: #57f3d7;
    --tevora-dark: #e6eef6;
    --tevora-light: #061025;
    background: linear-gradient(135deg, #030714 0%, #071024 100%);
    color: #e6eef6;
}

.dark nav {
    background: rgba(5, 10, 20, 0.9);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.dark .btn-primary {
    background: var(--tevora-blue);
    color: #021018;
}

/* dark mode toggle button */
.dark-toggle {
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.06);
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
}

.dark-toggle:hover {
    transform: translateY(-3px);
}

/* stat number subtle pop */
.stat-number.animate {
    transform: scale(1.08);
    transition: transform 0.6s cubic-bezier(.2, .9, .2, 1);
}

/* small ribbon under hero */
.epic-ribbon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    background: linear-gradient(90deg, rgba(91, 192, 235, 0.12), rgba(0, 212, 255, 0.08));
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    color: var(--tevora-dark);
    box-shadow: 0 10px 40px rgba(91, 192, 235, 0.08);
    z-index: 2;
}

@media (max-width: 968px) {
    .hero-glow {
        display: none;
    }

    .nav-open .nav-links {
        top: 64px;
    }
}

/* Ensure readable link and footer colors */
.nav-links a,
.footer-links a {
    color: var(--tevora-dark);
}

.footer-links a:hover,
.nav-links a:hover {
    color: var(--tevora-blue);
}

/* Services hero specifics: ensure text readable on gradient */
.services-hero {
    color: #fff;
    /* base white on hero */
}

.services-hero .section-title,
.services-hero .section-label,
.services-hero .section-subtitle {
    color: #fff;
}

.services-hero p {
    color: rgba(255, 255, 255, 0.95);
}

/* Service cards keep dark text on white background */
.service-card {
    background: #fff;
    color: #1f2937;
}

.service-content p,
.service-content li {
    color: #374151;
}

/* Buttons - vereinheitlicht */
.btn-primary {
    background: linear-gradient(135deg, var(--tevora-blue) 0%, #00d4ff 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(91, 192, 235, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-secondary {
    background: white;
    color: var(--tevora-blue);
    border: 2px solid var(--tevora-blue);
}

/* Remove hero glow / ribbon if desired */
.epic-ribbon {
    display: none !important;
}

.hero-glow {
    display: none !important;
}

/* Force default body background */
body {
    background: #ffffff !important;
}

/* Simplify legal column: remove card background so it blends with the footer */
.footer-legal {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
}

/* hide any decorative pseudo-element previously added */
.footer-legal::before {
    display: none !important;
}

.footer-legal h4 {
    color: #e6eef8 !important;
    /* keep heading visible */
    margin-bottom: 0.6rem;
}

.footer-legal a {
    color: rgba(230, 238, 248, 0.95) !important;
}

.footer-legal a:hover {
    color: var(--tevora-blue) !important;
    transform: none !important;
}

/* === User-requested exact reset + footer enforcement ===
   This block intentionally enforces the reset, :root variables and the footer
   styling exactly as requested. It uses !important to ensure it wins over
   any conflicting rules elsewhere in this stylesheet. */

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

:root {
    --tevora-blue: #5BC0EB;
    --tevora-dark: #1a1a2e;
    --tevora-light: #f8f9fa;
    --accent: #00d4ff;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

/* Enforce footer to be solid dark as requested */
footer {
    background: var(--tevora-dark) !important;
    color: white !important;
    padding: 4rem 3rem 2rem !important;
    display: block !important;
    unicode-bidi: isolate !important;
}

/* End of enforced block */

/* Ensure services hero is dark and title remains visible */
.services-hero {
    background: linear-gradient(180deg, #16213e 0%, var(--tevora-dark) 100%) !important;
    color: #fff !important;
    padding: 5.5rem 2rem !important;
}

/* Make the inner container transparent so it doesn't force a white box */
.services-hero .container {
    background: transparent !important;
    color: inherit !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.services-hero .section-title,
.services-hero .section-subtitle,
.services-hero .section-label {
    color: #ffffff !important;
}

.services-hero .hero-cta .btn-primary {
    background: white !important;
    color: var(--tevora-dark) !important;
    padding: 1.1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
}

.services-hero .hero-cta .btn-secondary {
    padding: 1.1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
}

/* ensure hero visuals (if any) don't create white overlays */
.services-hero .hero-visual,
.services-hero .hero-visual * {
    background: transparent !important;
}

/* User-requested footer block — enforce dark footer and inner container colors */
/* Footer */
footer {
    background: var(--tevora-dark) !important;
    color: white !important;
    padding: 4rem 3rem 2rem !important;
    display: block !important;
    unicode-bidi: isolate !important;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: #f9fafb;
    padding: 2.4rem 3rem;
    color: var(--tevora-dark);
}

.footer-container h4 {
    color: var(--tevora-dark);
}

.footer-links a {
    color: var(--tevora-dark);
    text-decoration: none;
}

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

.footer-bottom {
    background: transparent;
    padding: 1.4rem 3rem;
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    /* muted gray for copyright */
    margin: 0.6rem 0 0;
}

/* Dark footer theme (restore) */
.footer-container {
    background: var(--tevora-dark);
    /* dark background */
    padding: 2.4rem 3rem;
    color: #e6eef8;
    /* light text */
}

.footer-container h4 {
    color: #ffffff;
}

.footer-about h3,
.footer-about p {
    color: #e6eef8;
}

.footer-links a {
    color: rgba(230, 238, 248, 0.9);
    text-decoration: none;
}

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

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

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

.footer-bottom {
    background: rgba(0, 0, 0, 0.18);
    padding: 1.2rem 3rem;
    text-align: center;
}

.footer-bottom p {
    color: #9aa6b2;
    /* muted light gray */
    margin: 0;
}

/* Ensure footer inner container and text are light on the dark background */
footer .footer-container {
    background: transparent !important;
    color: #e6eef8 !important;
    /* slightly off-white for readability */
}

footer .footer-container h3,
footer .footer-container h4,
footer .footer-container p,
footer .footer-container li,
footer .footer-container a {
    color: #e6eef8 !important;
}

footer .footer-bottom {
    background: transparent !important;
}

footer .footer-bottom p {
    color: #9aa6b2 !important;
}

/* Keep legal box white-on-black as previously defined */
.footer-legal,
.footer-legal h4,
.footer-legal a {
    color: #ffffff !important;
}

/* Ensure main content uses dark text on light bg */
main,
.container {
    background: #fff;
    color: var(--tevora-dark);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-container,
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem !important;
    }

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

/* Modern & minimal footer styles */
footer {
    background: linear-gradient(180deg, #0b1220 0%, var(--tevora-dark) 100%);
    color: #dfe7ef;
    padding: 4rem 2rem 2.5rem;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2rem 1rem 1.5rem;
    }
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.2rem;
    align-items: start;
    background: transparent;
    padding: 0;
    color: inherit;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.footer-about h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: #fff;
}

.footer-about p {
    color: rgba(223, 231, 239, 0.9);
    line-height: 1.6;
    max-width: 42ch;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

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

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

.footer-links a {
    color: rgba(223, 231, 239, 0.9);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 160ms ease, transform 160ms ease;
}

/* Style Navigation, Services and Rechtliches section headings in Tevora Blue */
.footer-container>.footer-links:nth-child(2) h4,
.footer-container>.footer-links:nth-child(3) h4,
.footer-container>.footer-links:nth-child(4) h4 {
    color: var(--tevora-blue) !important;
    font-weight: 700;
}

/* subtle underline grow on hover */
.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--tevora-blue);
    transition: width 180ms ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

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

/* smaller copyright line */
.footer-bottom {
    margin-top: 2.2rem;
    text-align: center;
    padding-top: 1.2rem;
}

/* MOBILE FOOTER OPTIMIZATION */
@media (max-width: 768px) {
    .footer-about h3 {
        font-size: 1.1rem;
    }

    .footer-about p {
        font-size: 0.9rem;
        max-width: none;
    }

    .footer-links h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding-bottom: 1px;
    }

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

    .footer-social {
        gap: 0.8rem;
        margin-top: 1rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .social-link i,
    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .social-link svg.feather-linkedin,
    .social-link svg.feather-twitter,
    .social-link svg.feather-github {
        stroke: var(--tevora-blue) !important;
        fill: none !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    .social-link:hover svg.feather-linkedin,
    .social-link:hover svg.feather-twitter,
    .social-link:hover svg.feather-github {
        stroke: white !important;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .footer-tagline {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.5rem 1rem 1rem !important;
        font-size: 0.9rem;
    }

    .footer-container {
        gap: 1rem !important;
    }

    .footer-about {
        gap: 0.8rem;
    }

    .footer-about h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .footer-about p {
        font-size: 0.85rem;
        line-height: 1.5;
        max-width: none;
    }

    .footer-links h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        font-size: 0.85rem;
        padding-bottom: 1px;
        display: block;
        padding: 0.3rem 0;
    }

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

    .footer-social {
        gap: 0.6rem;
        margin-top: 0.8rem;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .social-link i,
    .social-link svg {
        width: 16px;
        height: 16px;
    }

    .social-link svg.feather-linkedin,
    .social-link svg.feather-twitter,
    .social-link svg.feather-github {
        stroke: var(--tevora-blue) !important;
        fill: none !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        display: block !important;
    }

    .social-link:hover svg.feather-linkedin,
    .social-link:hover svg.feather-twitter,
    .social-link:hover svg.feather-github {
        stroke: white !important;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        margin: 0.3rem 0 0;
    }

    .footer-tagline {
        font-size: 0.75rem !important;
        margin-top: 0.2rem;
    }

    .footer-divider {
        margin: 1rem 0 !important;
    }
}

.footer-bottom p {
    color: rgba(223, 231, 239, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* Legal column: blend with footer (no separate card) */
.footer-legal {
    background: transparent !important;
    padding: 0 !important;
}

.footer-legal h4,
.footer-legal a {
    color: rgba(223, 231, 239, 0.95) !important;
}

/* Responsive: stack columns on small screens */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .footer-about p {
        max-width: none;
    }

    .footer-bottom {
        text-align: left;
        padding-top: 1rem;
    }
}

/* ===== MOBILE & TABLET OPTIMIZATION ===== */
/* Extra small devices (phones < 375px) */
@media (max-width: 374px) {
    body {
        font-size: 14px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.7rem !important;
    }

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

/* Touch-friendly sizing for mobile */
@media (hover: none) and (pointer: coarse) {

    .btn,
    .nav-cta,
    .social-link,
    a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-links a {
        padding: 0.8rem 0;
    }
}

/* Tablet landscape optimization */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 2rem 2rem;
    }

    .hero-visual {
        height: 300px;
    }

    h1 {
        font-size: 2.8rem;
    }

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

/* Ensure readability on all screen sizes */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
    }

    .feature-card,
    .value-card,
    .service-card {
        padding: 1.5rem;
    }

    .about-image,
    .team-photo {
        height: 250px;
    }
}

/* Optimize forms for mobile */
@media (max-width: 600px) {

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.8rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }
}

/* Hide non-essential elements on very small screens */
@media (max-width: 480px) {
    .hero::before {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .services-hero .hero-visual {
        display: none;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Interactive Globe Styles */
#globeContainer {
    width: 100%;
    height: 650px;
    position: relative;
    overflow: visible;
    border-radius: 20px;
}

.data-packets-counter {
    position: absolute;
    top: calc(50% - 270px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    padding: 20px 32px;
    border-radius: 14px;
    border: 2px solid var(--accent);
    min-width: 320px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(91, 192, 235, 0.3), 0 0 20px rgba(0, 212, 255, 0.15);
}

.counter-label {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    font-weight: 700;
    opacity: 0.9;
    display: block;
}

/* Pricing Section Styles */
.pricing-section {
    padding: 5rem 2rem;
}

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

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.pricing-card {
    background: white;
    border: 2px solid rgba(91, 192, 235, 0.15);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--tevora-blue);
    box-shadow: 0 12px 40px rgba(91, 192, 235, 0.2);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--tevora-blue);
    background: linear-gradient(135deg, rgba(91, 192, 235, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--tevora-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    color: var(--tevora-dark);
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: rgba(26, 26, 46, 0.6);
    margin: 0;
}

.pricing-price {
    margin: 1.5rem 0 2rem 0;
    padding: 1.5rem 0;
    border-top: 2px solid rgba(91, 192, 235, 0.1);
    border-bottom: 2px solid rgba(91, 192, 235, 0.1);
}

.pricing-price .amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--tevora-blue);
    display: block;
}

.pricing-price .period {
    font-size: 0.85rem;
    color: rgba(26, 26, 46, 0.6);
    display: block;
    margin-top: 0.5rem;
}

.pricing-features {
    flex: 1;
    margin: 2rem 0;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: rgba(26, 26, 46, 0.8);
    display: flex;
    align-items: center;
}

.pricing-features li.unavailable {
    color: rgba(26, 26, 46, 0.4);
    text-decoration: line-through;
}

.pricing-features svg {
    color: var(--tevora-blue);
    flex-shrink: 0;
}

.pricing-features li.unavailable svg {
    color: rgba(26, 26, 46, 0.3);
}

.pricing-footer {
    display: flex;
    gap: 1rem;
}

.pricing-footer .btn {
    flex: 1;
    text-align: center;
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-header h3 {
        font-size: 1.5rem;
    }

    .pricing-price .amount {
        font-size: 1.8rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
}

.counter-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--tevora-blue);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.8px;
    animation: pulse-glow 1s ease-in-out infinite;
    display: block;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(91, 192, 235, 0.5);
    }

    50% {
        opacity: 0.95;
        text-shadow: 0 0 20px rgba(91, 192, 235, 0.8);
    }
}

#globeCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

.globe-hint {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    color: var(--accent);
    opacity: 0.8;
    animation: fade-in-out 3s ease-in-out infinite;
    pointer-events: none;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes fade-in-out {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    #globeContainer {
        height: 450px;
    }
}

/* Responsive image heights for service pages */
/* Tablet devices (768px and below) */
@media (max-width: 768px) {
    .feature-image {
        height: 250px !important;
    }

    .service-image {
        height: 200px !important;
    }
}

/* Mobile devices (480px and below) */
@media (max-width: 480px) {
    .feature-image {
        height: 200px !important;
    }

    .service-image {
        height: 150px !important;
    }
}

/* ====== COMPREHENSIVE MOBILE & TABLET OPTIMIZATION ====== */

/* Navigation - Touch-friendly optimization */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    /* Mobile menu styling */
    .nav-open .nav-links {
        display: flex !important;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 1.5rem 1.5rem;
        gap: 1rem;
        z-index: 999;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(91, 192, 235, 0.1);
    }

    .nav-links a {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: 8px;
        transition: all 0.3s;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(91, 192, 235, 0.1);
        color: var(--tevora-blue);
    }
}

/* Hero Section Tablet/Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 2rem;
        min-height: auto;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .data-packets-counter {
        padding: 15px 24px;
        min-width: 280px;
    }

    .counter-label {
        font-size: 0.75rem;
    }

    .counter-value {
        font-size: 1.3rem;
    }

    .globe-hint {
        bottom: -40px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 4rem 1rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-visual {
        display: none !important;
    }

    .data-packets-counter {
        display: none;
    }

    .globe-hint {
        display: none;
    }
}

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

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .hero-buttons .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Feature Cards - Better spacing on mobile */
@media (max-width: 768px) {
    .feature-card {
        padding: 1.8rem 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.4rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .features {
        padding: 4rem 1.5rem;
    }

    .features-grid {
        gap: 1.2rem;
    }

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

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

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

    .feature-card {
        padding: 1.2rem 1rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Stats Section - Better responsive */
@media (max-width: 768px) {
    .stats {
        padding: 4rem 1.5rem;
    }

    .stats-grid {
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

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

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .stats {
        padding: 3rem 1rem;
    }

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

    .stat-label {
        font-size: 0.9rem;
    }
}

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

    .stat-item {
        padding: 1rem;
    }

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

/* Contact Form - Mobile optimized */
@media (max-width: 768px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.85rem;
        min-height: 44px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: calc(60px + 1.5rem) 1rem 2rem;
    }

    .contact-container {
        border-radius: 16px;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
        order: 2;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .contact-form .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: calc(60px + 1rem) 0 1.5rem;
    }

    .contact-container {
        border-radius: 12px;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem 1rem;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-info p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

/* Service Cards - Touch optimized */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.1rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .service-card {
        padding: 1.2rem;
        min-height: auto;
    }

    .service-image {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }

    .service-content h3 {
        font-size: 1rem;
    }

    .service-footer {
        flex-direction: column;
        gap: 0.6rem;
    }

    .service-footer .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* About Section - Tablet/Mobile */
@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1.5rem;
    }

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

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

    .about-image {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 3rem 1rem;
    }

    .about-content h2 {
        font-size: 1.6rem;
    }

    .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-image {
        height: 250px;
    }
}

/* Team Section - Mobile optimized */
@media (max-width: 768px) {
    .team-grid {
        gap: 1.2rem;
        padding: 4rem 1.5rem;
    }

    .team-photo {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .team-member h4 {
        font-size: 1.1rem;
    }

    .team-member p {
        font-size: 0.9rem;
    }

    .team-email {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .team-grid {
        padding: 2rem 1rem;
    }

    .team-photo {
        width: 160px;
        height: 160px;
        margin: 0 auto 1rem;
        font-size: 2.5rem;
    }

    .team-member h4 {
        font-size: 1rem;
    }

    .team-member p {
        font-size: 0.85rem;
    }
}

/* Pricing Section - Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-header h3 {
        font-size: 1.6rem;
    }

    .pricing-price .amount {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .pricing-section {
        padding: 3rem 1rem;
    }

    .pricing-card {
        padding: 1.5rem 1.2rem;
    }

    .pricing-header h3 {
        font-size: 1.4rem;
    }

    .pricing-price {
        margin: 1.2rem 0 1.5rem;
        padding: 1rem 0;
    }

    .pricing-price .amount {
        font-size: 1.8rem;
    }

    .pricing-price .period {
        font-size: 0.8rem;
    }

    .pricing-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .pricing-footer .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Values Grid - Better mobile */
@media (max-width: 768px) {
    .values-grid {
        gap: 1.5rem;
    }

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

    .value-icon {
        font-size: 2.5rem;
    }

    .value-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .value-card {
        padding: 1.5rem 1.2rem;
    }

    .value-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .value-card h4 {
        font-size: 1.1rem;
    }

    .value-card p {
        font-size: 0.9rem;
    }
}

/* Services Hero - Mobile */
@media (max-width: 768px) {
    .services-hero:not(:has(.hero-visual)) {
        padding: calc(60px + 2rem) 1.5rem 2rem;
    }

    .services-hero:not(:has(.hero-visual)) .section-title {
        font-size: 1.8rem;
    }

    .services-hero .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .services-hero:not(:has(.hero-visual)) {
        padding: calc(60px + 1.5rem) 1rem 1.5rem;
    }

    .services-hero:not(:has(.hero-visual)) .section-title {
        font-size: 1.6rem;
    }

    .services-hero:not(:has(.hero-visual)) .section-subtitle {
        font-size: 0.95rem;
    }

    .services-hero .section-title {
        font-size: 1.3rem;
    }

    .services-hero .section-subtitle {
        font-size: 0.85rem;
    }

    .services-hero .hero-cta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-hero .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Buttons - Touch friendly sizes */
@media (hover: none) and (pointer: coarse) {

    .btn,
    button,
    .nav-cta,
    .social-link,
    .mobile-menu {
        min-height: 48px;
        min-width: 44px;
        padding: 0.8rem 1.5rem;
    }

    .btn {
        font-size: 1rem;
    }

    .nav-links a {
        min-height: 44px;
        padding: 0.6rem 1rem;
    }

    .footer-links a {
        padding: 0.6rem 0;
        display: inline-block;
    }
}

/* Section Headers - Mobile */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
    }

    .section-label {
        font-size: 0.85rem;
    }

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

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

@media (max-width: 600px) {
    .section-header {
        margin-bottom: 2rem;
    }

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

    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Ensure all container padding for mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }
}

/* Fix overflow on very small screens */
@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    nav {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .nav-container {
        max-width: 100%;
    }
}

/* ====== ADDITIONAL MOBILE ENHANCEMENTS ====== */

/* Viewport-specific optimizations for 320px phones */
@media (max-width: 374px) {
    body {
        font-size: 14px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .nav-container {
        padding: 0.5rem 0.8rem;
    }

    .hero {
        padding: 3rem 0.75rem 0.75rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1.2rem;
        font-size: 0.85rem;
    }

    .features {
        padding: 2rem 0.75rem;
    }

    .feature-card {
        padding: 1rem 0.8rem;
    }

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

    .section-subtitle {
        font-size: 0.9rem;
    }

    .about-content h2 {
        font-size: 1.4rem;
    }

    .team-photo {
        width: 140px;
        height: 140px;
        font-size: 2rem;
    }

    .contact-form,
    .contact-info {
        padding: 1.2rem 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 0.7rem;
    }

    .footer-about p {
        font-size: 0.8rem;
    }

    .footer-links h4 {
        font-size: 0.85rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }
}

/* 5G optimization - hide non-essential heavy graphics on mobile to save bandwidth */
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {

    .hero-glow,
    .hero::before,
    .epic-ribbon {
        display: none !important;
    }

    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Landscape mode on mobile - reduce height for better fit */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 3rem 1rem 2rem;
    }

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

    .hero-visual {
        display: none !important;
    }

    .features {
        padding: 3rem 1rem;
    }

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

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

    footer {
        padding: 2rem 1rem 1rem;
    }
}

/* Optimize for very wide mobile displays (Foldable phones in landscape) */
@media (max-width: 1024px) and (orientation: landscape) and (min-height: 500px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

    .hero-visual {
        height: 400px;
    }
}

/* Safe area optimization for notched devices (iPhone X and later) */
@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    nav {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    footer {
        padding-left: max(2rem, env(safe-area-inset-left));
        padding-right: max(2rem, env(safe-area-inset-right));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* Ensure proper touch target spacing */
button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* Better mobile input field styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    font-size: 16px;
    border-radius: 8px;
}

/* Optimize scroll performance on mobile */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Smooth scroll for better UX */
html {
    scroll-behavior: smooth;
}

/* Mobile-first image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reduce battery usage on mobile - less frequent animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== SITEMAP STYLES ===== */
.sitemap-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: calc(100vh - 300px);
}

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

.sitemap-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(91, 192, 235, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--tevora-blue);
}

.sitemap-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(91, 192, 235, 0.15);
}

.sitemap-category h2 {
    color: var(--tevora-dark);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

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

.sitemap-links li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sitemap-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sitemap-links a {
    color: var(--tevora-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.sitemap-links a:hover {
    color: #00d4ff;
    transform: translateX(4px);
}

.info-box {
    background: linear-gradient(135deg, rgba(91, 192, 235, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--tevora-blue);
    margin-top: 2rem;
}

.info-box h3 {
    color: var(--tevora-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-box p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.info-box a {
    color: var(--tevora-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.info-box a:hover {
    color: #00d4ff;
}

@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sitemap-category {
        padding: 1.5rem;
    }

    .sitemap-category h2 {
        font-size: 1.2rem;
    }

    .sitemap-links li {
        font-size: 0.9rem;
    }

    .info-box {
        padding: 1.5rem;
    }
}