/* Define the Regular weight */
@font-face {
    font-family: 'Outfit';
    /* You pick this name */
    src: url('fonts/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    /* Normal weight */
    font-style: normal;
}

/* Define the Bold weight */
@font-face {
    font-family: 'Outfit';
    /* You pick this name */
    src: url('fonts/Outfit-Medium.ttf') format('truetype');
    font-weight: 500;
    /* Normal weight */
    font-style: normal;
}

/* Define the Regular weight */
@font-face {
    font-family: 'Outfit';
    /* You pick this name */
    src: url('fonts/Outfit-SemiBold.ttf') format('truetype');
    font-weight: 600;
    /* Normal weight */
    font-style: normal;
}

/* Define the Regular weight */
@font-face {
    font-family: 'Outfit';
    /* You pick this name */
    src: url('fonts/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    /* Normal weight */
    font-style: normal;
}

:root {
    --color-bg: #f8f9fa;
    --color-primary: #0487D9;
    --color-secondary: #02436C;
    --color-accent: #0487D9;
    /* Darker accent for better visibility on white */
    --color-text: #1a202c;
    --color-text-muted: #4a5568;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --font-main: 'Outfit', sans-serif;
    --spacing-container: 1200px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Gradient */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(4, 135, 217, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(2, 67, 108, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(to right, var(--color-secondary), var(--color-primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.glass-header {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.glass-header.scrolled {
    top: 1rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    width: 85%;
    max-width: 900px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    height: 32px;
    width: auto;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    position: relative;
    transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 20px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
}

.slogan {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.sub-slogan {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(4, 135, 217, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 135, 217, 0.3);
}

.glowing-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(4, 135, 217, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Glass Card Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: rgba(4, 135, 217, 0.03);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(4, 135, 217, 0.1), rgba(2, 67, 108, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.service-item h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--color-secondary);
}

.service-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 8rem 0;
}

.portfolio-showcase {
    display: flex;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
}

.portfolio-content {
    flex: 1;
}

.portfolio-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--color-secondary), var(--color-primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-tagline {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.text-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
}

.portfolio-image {
    flex: 1;
    height: 300px;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    border-radius: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.app-mockup {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.footer-col p,
.footer-col li {
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.legal-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}

footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slogan {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu simplified for now */
    .portfolio-showcase {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-section {
        padding-top: 6rem;
    }
}