/* General Body and Typography */
:root {
    --primary-bg: #ffffff; /* Clean white background */
    --secondary-bg: #f8f9fa; /* Light gray background */
    --accent-blue: #1665d8; /* Professional blue */
    --accent-purple: #6c5ce7; /* Muted purple accent */
    --text-primary: #1a1a1a; /* Dark text */
    --text-secondary: #6c757d; /* Medium gray text */
    --text-muted: #adb5bd; /* Light gray text */
    --border-color: #e9ecef; /* Light border */
    --shadow-color: rgba(0, 0, 0, 0.1); /* Subtle shadow */
    --shadow-hover: rgba(0, 0, 0, 0.15); /* Hover shadow */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-section h2,
.contact-section h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3.2em;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: 2.4em;
    font-weight: 600;
    padding-top: 80px;
    margin-top: -80px;
    position: relative;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    margin: 20px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 0;
    letter-spacing: -0.01em;
}

p {
    font-size: 1.1em;
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-purple);
}

/* Header and Navigation */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px var(--shadow-color);
    border-bottom: 1px solid var(--border-color);
}

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

.navbar .logo {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
}

.nav-links li a {
    color: var(--text-secondary);
    font-size: 0.95em;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    left: 0;
    bottom: -2px;
    transition: width 0.2s ease;
}

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

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

.menu-toggle {
    display: none;
    font-size: 1.5em;
    color: var(--text-primary);
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1001;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
}

/* Internet visualization background overlay */
.internet-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Major data hubs (large cities/data centers) */
        radial-gradient(circle at 20% 30%, rgba(22, 101, 216, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 25%, rgba(22, 101, 216, 0.12) 0%, transparent 20%),
        radial-gradient(circle at 15% 70%, rgba(108, 198, 255, 0.10) 0%, transparent 18%),
        radial-gradient(circle at 85% 75%, rgba(22, 101, 216, 0.13) 0%, transparent 22%),
        radial-gradient(circle at 50% 50%, rgba(108, 198, 255, 0.08) 0%, transparent 15%),
        /* Regional connection points */
        radial-gradient(circle at 35% 20%, rgba(22, 101, 216, 0.08) 0%, transparent 12%),
        radial-gradient(circle at 65% 35%, rgba(108, 198, 255, 0.06) 0%, transparent 10%),
        radial-gradient(circle at 30% 80%, rgba(22, 101, 216, 0.07) 0%, transparent 11%),
        radial-gradient(circle at 70% 60%, rgba(108, 198, 255, 0.05) 0%, transparent 9%),
        /* Transcontinental cables */
        linear-gradient(45deg, rgba(22, 101, 216, 0.04) 0%, transparent 40%),
        linear-gradient(-45deg, rgba(108, 198, 255, 0.03) 0%, transparent 40%),
        linear-gradient(135deg, rgba(22, 101, 216, 0.03) 0%, transparent 45%),
        linear-gradient(-135deg, rgba(108, 198, 255, 0.02) 0%, transparent 45%),
        /* Submarine cable routes */
        linear-gradient(30deg, rgba(22, 101, 216, 0.02) 0%, transparent 50%),
        linear-gradient(-30deg, rgba(108, 198, 255, 0.02) 0%, transparent 50%);
    background-size: 100% 100%;
    pointer-events: none;
    opacity: 0.7;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Network nodes */
        radial-gradient(circle at 15% 20%, rgba(22, 101, 216, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 85% 15%, rgba(22, 101, 216, 0.06) 0%, transparent 18%),
        radial-gradient(circle at 25% 75%, rgba(108, 198, 255, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 75% 80%, rgba(22, 101, 216, 0.07) 0%, transparent 22%),
        radial-gradient(circle at 50% 45%, rgba(108, 198, 255, 0.04) 0%, transparent 12%),
        /* Circuit-like grid pattern */
        linear-gradient(rgba(22, 101, 216, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 101, 216, 0.02) 1px, transparent 1px),
        /* Connection lines */
        linear-gradient(45deg, rgba(22, 101, 216, 0.02) 0%, transparent 25%),
        linear-gradient(-45deg, rgba(108, 198, 255, 0.02) 0%, transparent 25%),
        linear-gradient(135deg, rgba(22, 101, 216, 0.01) 0%, transparent 30%),
        linear-gradient(-135deg, rgba(108, 198, 255, 0.01) 0%, transparent 30%);
    background-size: 60px 60px, 60px 60px, auto, auto, auto, auto;
    pointer-events: none;
    opacity: 0.6;
}

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

.hero-content p {
    margin-top: 24px;
    font-size: 1.25em;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.typing-effect {
    color: var(--text-primary);
    font-size: 3.2em;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--accent-blue);
    animation: blink-caret 1s step-end infinite;
    display: inline-block;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 40px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #0d4ba8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    position: relative;
}

.about-section {
    background: linear-gradient(135deg, #4a90e2 0%, #5ba0f2 50%, #87b8f7 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Geometric pattern representing structured data */
        radial-gradient(circle at 25% 25%, rgba(22, 101, 216, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 75% 75%, rgba(108, 198, 255, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(22, 101, 216, 0.02) 0%, transparent 20%),
        /* Hexagonal grid pattern */
        linear-gradient(60deg, rgba(22, 101, 216, 0.01) 25%, transparent 25%),
        linear-gradient(-60deg, rgba(22, 101, 216, 0.01) 25%, transparent 25%);
    background-size: 60px 60px, 60px 60px, 40px 40px, 30px 30px, 30px 30px;
    pointer-events: none;
    opacity: 0.6;
}

.mission-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.92) 100%);
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(15px);
}

.mission-box p {
    font-size: 1.25em;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.6;
    position: relative;
}

.mission-box p::before {
    content: '"';
    font-size: 3em;
    color: var(--accent-blue);
    position: absolute;
    top: -20px;
    left: -30px;
    font-family: Georgia, serif;
    opacity: 0.6;
}

.mission-box p::after {
    content: '"';
    font-size: 3em;
    color: var(--accent-blue);
    position: absolute;
    bottom: -40px;
    right: -30px;
    font-family: Georgia, serif;
    opacity: 0.6;
}

/* Service Grid */
.services-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #f4f7fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Technology circuit pattern */
        radial-gradient(circle at 15% 20%, rgba(22, 101, 216, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 85% 80%, rgba(108, 198, 255, 0.02) 0%, transparent 20%),
        radial-gradient(circle at 50% 60%, rgba(22, 101, 216, 0.025) 0%, transparent 18%),
        /* Circuit board traces */
        linear-gradient(45deg, rgba(22, 101, 216, 0.015) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(108, 198, 255, 0.01) 25%, transparent 25%),
        linear-gradient(90deg, rgba(22, 101, 216, 0.008) 50%, transparent 50%),
        linear-gradient(0deg, rgba(108, 198, 255, 0.006) 50%, transparent 50%);
    background-size: 80px 80px, 80px 80px, 60px 60px, 40px 40px, 40px 40px, 20px 20px, 20px 20px;
    pointer-events: none;
    opacity: 0.7;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 24px var(--shadow-color);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 8px 8px 0 0;
}

.service-item:hover {
    box-shadow: 0 8px 32px var(--shadow-hover);
    transform: translateY(-2px);
}

.service-item i {
    font-size: 3em;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

.service-item h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-item p {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form */
.contact-section {
    background: linear-gradient(135deg, #4a90e2 0%, #5ba0f2 50%, #87b8f7 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Communication network pattern */
        radial-gradient(circle at 20% 40%, rgba(22, 101, 216, 0.03) 0%, transparent 35%),
        radial-gradient(circle at 80% 60%, rgba(108, 198, 255, 0.025) 0%, transparent 30%),
        radial-gradient(circle at 60% 20%, rgba(22, 101, 216, 0.02) 0%, transparent 25%),
        /* Connection pathways */
        linear-gradient(135deg, rgba(22, 101, 216, 0.01) 30%, transparent 30%),
        linear-gradient(45deg, rgba(108, 198, 255, 0.008) 30%, transparent 30%),
        /* Subtle mesh pattern */
        linear-gradient(rgba(22, 101, 216, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 101, 216, 0.005) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 80px 80px, 50px 50px, 50px 50px, 25px 25px, 25px 25px;
    pointer-events: none;
    opacity: 0.5;
}

.contact-form {
    max-width: 600px;
    margin: 60px auto 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.92) 100%);
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    color: var(--text-primary);
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 101, 216, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .cta-button {
    align-self: flex-start;
    margin-top: 8px;
}

/* Affiliates Section */
.partner-section {
    background: linear-gradient(135deg, #e8f8ff 0%, #eff9ff 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.partner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Partnership network visualization */
        radial-gradient(circle at 30% 30%, rgba(22, 101, 216, 0.025) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(108, 198, 255, 0.02) 0%, transparent 35%),
        radial-gradient(circle at 50% 20%, rgba(22, 101, 216, 0.015) 0%, transparent 25%),
        /* Trust and security patterns */
        linear-gradient(60deg, rgba(22, 101, 216, 0.008) 25%, transparent 25%),
        linear-gradient(-60deg, rgba(108, 198, 255, 0.006) 25%, transparent 25%),
        /* Subtle security grid */
        linear-gradient(rgba(22, 101, 216, 0.004) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 101, 216, 0.004) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 90px 90px, 45px 45px, 45px 45px, 15px 15px, 15px 15px;
    pointer-events: none;
    opacity: 0.4;
}

#partner .mission-box {
    padding: 40px;
}

#partner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 32px auto 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#partner img:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--shadow-hover);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, #f1f3f4 100%);
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9em;
    padding: 32px 20px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-blue); }
}

/* Internet Infrastructure Nodes */
.network-node {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 101, 216, 0.15) 0%, rgba(108, 198, 255, 0.08) 40%, rgba(22, 101, 216, 0.03) 70%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    box-shadow:
        0 0 30px rgba(22, 101, 216, 0.2),
        inset 0 0 20px rgba(108, 198, 255, 0.1);
    border: 1px solid rgba(22, 101, 216, 0.1);
}

.network-node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 20%;
    background: rgba(22, 101, 216, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(22, 101, 216, 0.6);
}

/* Major data centers/hubs */
.network-node.node-1 {
    width: 140px;
    height: 140px;
    top: 15%;
    left: 10%;
    animation: pulseHub 5s ease-in-out infinite;
}

.network-node.node-2 {
    width: 100px;
    height: 100px;
    top: 25%;
    right: 15%;
    animation: pulseHub 6s ease-in-out infinite 1s;
}

.network-node.node-3 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 20%;
    animation: pulseHub 7s ease-in-out infinite 2s;
}

.network-node.node-4 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 25%;
    animation: pulseHub 5.5s ease-in-out infinite 0.5s;
}

.network-node.node-5 {
    width: 110px;
    height: 110px;
    top: 60%;
    left: 70%;
    animation: pulseHub 6.5s ease-in-out infinite 1.5s;
}

/* Fiber Optic/Data Transmission Lines */
.connection-line {
    position: absolute;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(22, 101, 216, 0.1) 20%,
        rgba(108, 198, 255, 0.15) 50%,
        rgba(22, 101, 216, 0.1) 80%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    border-radius: 1px;
    box-shadow: 0 0 5px rgba(22, 101, 216, 0.2);
}

.connection-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 8px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 101, 216, 0.3));
    animation: dataPulse 3s linear infinite;
}

/* Major fiber routes */
.connection-line.line-1 {
    width: 250px;
    height: 3px;
    top: 20%;
    left: 12%;
    transform: rotate(25deg);
}

.connection-line.line-2 {
    width: 200px;
    height: 3px;
    top: 30%;
    right: 18%;
    transform: rotate(-15deg);
}

.connection-line.line-3 {
    width: 220px;
    height: 3px;
    bottom: 35%;
    left: 22%;
    transform: rotate(45deg);
}

.connection-line.line-4 {
    width: 180px;
    height: 3px;
    bottom: 25%;
    right: 28%;
    transform: rotate(-35deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulseHub {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow:
            0 0 30px rgba(22, 101, 216, 0.2),
            inset 0 0 20px rgba(108, 198, 255, 0.1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
        box-shadow:
            0 0 50px rgba(22, 101, 216, 0.4),
            inset 0 0 30px rgba(108, 198, 255, 0.2);
    }
}

/* Subtle Grid Pattern */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(22, 101, 216, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 101, 216, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    opacity: 0.3;
}

/* Accent Lines */
.accent-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(22, 101, 216, 0.2), transparent);
    pointer-events: none;
}

.accent-line.top {
    top: 0;
    left: 10%;
    right: 10%;
}

.accent-line.bottom {
    bottom: 0;
    left: 10%;
    right: 10%;
}

/* Data Flow Particles */
.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(22, 101, 216, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.data-particle.particle-1 {
    top: 30%;
    left: 5%;
    animation: dataFlow 8s linear infinite;
}

.data-particle.particle-2 {
    top: 50%;
    right: 8%;
    animation: dataFlow 10s linear infinite 2s;
}

.data-particle.particle-3 {
    bottom: 40%;
    left: 15%;
    animation: dataFlow 12s linear infinite 4s;
}

@keyframes dataFlow {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: translateX(0px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateX(200px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(220px) scale(0.5);
    }
}

@keyframes dataPulse {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    50% {
        opacity: 1;
        transform: translateX(50px);
    }
    100% {
        opacity: 0;
        transform: translateX(110px);
    }
}

/* Satellite Communication Orbits */
.satellite-orbit {
    position: absolute;
    border: 1px solid rgba(22, 101, 216, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.satellite-orbit.orbit-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    right: 5%;
    animation: orbit 20s linear infinite;
}

.satellite-orbit.orbit-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 5%;
    animation: orbit 15s linear infinite reverse;
}

/* Satellite Nodes */
.satellite-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(22, 101, 216, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 8px rgba(22, 101, 216, 0.6);
}

.satellite-node.sat-1 {
    top: 5%;
    right: 5%;
    animation: satelliteMove 20s linear infinite;
}

.satellite-node.sat-2 {
    bottom: 10%;
    left: 5%;
    animation: satelliteMove 15s linear infinite reverse;
}

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

@keyframes satelliteMove {
    0%, 100% { opacity: 0.3; }
    25% { opacity: 0.8; }
    50% { opacity: 1; }
    75% { opacity: 0.8; }
}

/* Floating Elements for About Section */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(22, 101, 216, 0.08), rgba(108, 198, 255, 0.04));
    pointer-events: none;
    z-index: 0;
}

.floating-element.elem-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation: gentleFloat 8s ease-in-out infinite;
}

.floating-element.elem-2 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 15%;
    animation: gentleFloat 10s ease-in-out infinite reverse;
}

/* Tech Particles for Services Section */
.tech-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(22, 101, 216, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 6px rgba(22, 101, 216, 0.4);
}

.tech-particle.particle-a {
    top: 25%;
    left: 20%;
    animation: techFloat 6s ease-in-out infinite;
}

.tech-particle.particle-b {
    top: 60%;
    right: 25%;
    animation: techFloat 8s ease-in-out infinite 2s;
}

.tech-particle.particle-c {
    bottom: 30%;
    left: 70%;
    animation: techFloat 7s ease-in-out infinite 4s;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
        opacity: 0.6;
    }
}

@keyframes techFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-10px) translateX(5px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-5px) translateX(-3px);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-15px) translateX(2px);
        opacity: 0.6;
    }
}

/* Accent Shapes for Contact Section */
.accent-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(22, 101, 216, 0.06), rgba(108, 198, 255, 0.03));
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.accent-shape.shape-contact-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 8%;
    animation: shapeMorph 12s ease-in-out infinite;
}

.accent-shape.shape-contact-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 12%;
    animation: shapeMorph 15s ease-in-out infinite reverse;
}

/* Trust Indicators for Partner Section */
.trust-indicator {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(22, 101, 216, 0.7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    box-shadow: 0 0 12px rgba(22, 101, 216, 0.5);
}

.trust-indicator.indicator-1 {
    top: 25%;
    left: 8%;
    animation: trustPulse 4s ease-in-out infinite;
}

.trust-indicator.indicator-2 {
    bottom: 35%;
    right: 10%;
    animation: trustPulse 5s ease-in-out infinite 2s;
}

@keyframes shapeMorph {
    0%, 100% {
        border-radius: 50%;
        transform: scale(1) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        border-radius: 60% 40% 30% 70%;
        transform: scale(1.1) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        border-radius: 30% 60% 70% 40%;
        transform: scale(0.9) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        border-radius: 70% 30% 40% 60%;
        transform: scale(1.05) rotate(270deg);
        opacity: 0.5;
    }
}

@keyframes trustPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.3);
    }
}

/* Disclaimer Note Styling */
.disclaimer-note {
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 32px;
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
}

.disclaimer-note strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Listing Styles */
.blog-articles {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: 0;
}

/* Center blog articles on mobile */
@media (max-width: 1024px) {
    .blog-articles {
        margin-left: auto;
        margin-right: auto;
    }
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.blog-article {
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.blog-article:last-child {
    border-bottom: none;
}

.blog-article:hover {
    background: rgba(22, 101, 216, 0.05);
}

.blog-article:hover td {
    color: var(--accent-blue);
}

.blog-article:hover .blog-title-cell::before {
    background: var(--accent-purple);
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.5);
    transform: translateY(-50%) scale(1.2);
}

.blog-title-cell {
    padding: 20px 24px;
    text-align: left;
    font-size: 1.1em;
    color: var(--text-primary);
    font-weight: 600;
    width: 70%;
    position: relative;
    padding-left: 40px;
}

.blog-title-cell::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(22, 101, 216, 0.4);
}

.blog-date-cell {
    padding: 20px 24px;
    text-align: right;
    font-size: 0.95em;
    color: var(--text-secondary);
    font-style: italic;
    width: 30%;
}

.blog-title-cell strong {
    color: inherit;
    font-weight: 600;
}

.blog-date-cell em {
    color: inherit;
    font-style: italic;
}

.loading-message,
.no-articles,
.error-message {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1em;
    margin: 40px 0;
}

/* Article Modal Styles */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background: var(--secondary-bg);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8em;
    color: var(--text-primary);
    text-align: left;
}

.close-button {
    background: none;
    border: none;
    font-size: 2em;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-button:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.7;
}

.modal-body h1 {
    font-size: 2em;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: left;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 12px;
}

.modal-body h2 {
    font-size: 1.6em;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: left;
    padding-top: 0;
    margin-top: 32px;
}

.modal-body h3 {
    font-size: 1.3em;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: left;
}

.modal-body p {
    margin-bottom: 16px;
    text-align: left;
    color: var(--text-primary);
}

.modal-body code {
    background: var(--secondary-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: var(--accent-blue);
}

.modal-body pre {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border-left: 4px solid var(--accent-blue);
}

.modal-body pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

.modal-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.modal-body li {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-body a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.modal-body a:hover {
    color: var(--accent-purple);
}

.modal-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.modal-body em {
    color: var(--text-secondary);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.4em;
    }
    .hero-content p {
        font-size: 1.4em;
    }
    .nav-links li {
        margin-left: 25px;
    }
    .service-grid {
        gap: 30px;
    }
    .service-item {
        padding: 35px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5em;
    }
    .typing-effect {
        font-size: 2.5em;
    }
    h2 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }
    .navbar .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    .nav-links {
        display: none; /* Hide by default for mobile */
        flex-direction: column;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 4px 16px var(--shadow-color);
        border-top: 1px solid var(--border-color);
        z-index: 1000;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    .menu-toggle {
        display: block !important; /* Show on mobile */
        position: absolute;
        right: 20px;
        top: 25px;
        z-index: 1001;
        background: none;
        border: none;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
        cursor: pointer;
    }
    
    .menu-toggle:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    .menu-toggle i {
        color: white !important;
        font-size: 1.5em;
    }
    .content-section {
        padding: 70px 0;
    }
    .mission-box, .contact-form {
        padding: 30px;
    }
    .service-item {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    /* Always show menu toggle on small screens */
    .menu-toggle {
        display: block !important;
    }
    
    .menu-toggle i {
        color: white !important;
    }
    h1 {
        font-size: 2em;
    }
    .typing-effect {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .navbar .logo {
        font-size: 1.8em;
    }
    .service-item i {
        font-size: 3em;
    }
    .service-item h3 {
        font-size: 1.6em;
    }
    .mission-box, .contact-form {
        padding: 20px;
    }
    
    /* Blog responsive styles */
    .blog-title-cell {
        padding: 16px 20px;
        padding-left: 32px;
        font-size: 1em;
        width: 60%;
    }
    
    .blog-title-cell::before {
        left: 16px;
        width: 6px;
        height: 6px;
    }
    
    .blog-date-cell {
        padding: 16px 20px;
        font-size: 0.9em;
        width: 40%;
    }
    
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h2 {
        font-size: 1.5em;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-body h1 {
        font-size: 1.6em;
    }
    
    .modal-body h2 {
        font-size: 1.4em;
    }

    .modal-body h3 {
        font-size: 1.2em;
    }
}

/* Blog Post Styling */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.blog-post h1,
.blog-post h2,
.blog-post h3,
.blog-post h4,
.blog-post h5,
.blog-post h6 {
    color: var(--text-primary);
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.blog-post h1 {
    font-size: 2.5em;
    margin-top: 0;
}

.blog-post h2 {
    font-size: 2em;
}

.blog-post h3 {
    font-size: 1.5em;
}

.blog-post p {
    line-height: 1.7;
    margin-bottom: 1.5em;
    color: var(--text-primary);
}

.blog-post ul,
.blog-post ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.blog-post li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.blog-post code {
    background: var(--secondary-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.blog-post pre {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5em 0;
    border: 1px solid var(--border-color);
}

.blog-post pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.blog-post blockquote {
    border-left: 4px solid var(--accent-blue);
    padding-left: 20px;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-post a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-post a:hover {
    color: #0d4ba8;
    text-decoration: underline;
}

.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5em 0;
}

.blog-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.blog-post th,
.blog-post td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.blog-post th {
    background: var(--secondary-bg);
    font-weight: 600;
    color: var(--text-primary);
}

.blog-post tr:last-child td {
    border-bottom: none;
}

.blog-post hr {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 2em 0;
}

.back-to-blog {
    margin-top: 20px !important;
    background: var(--text-secondary) !important;
}

.back-to-blog:hover {
    background: var(--text-primary) !important;
}
