/* Google Sans Import */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap');

:root {
    --bg-color: #050510;
    --primary-color: #265BFF;
    --text-color: #ffffff;
    --text-secondary: #a0a0b0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.07);
    --gradient-1: linear-gradient(135deg, #265BFF 0%, #00C6FF 100%);
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Google Sans', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(38, 91, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 198, 255, 0.08) 0%, transparent 40%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header / Hero */
header {
    padding: 4rem 0 2rem;
    animation: fadeInDown 1s ease-out;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #a0a0b0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex: 1;
    order: 1;
    /* Desktop: Text first */
}

h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    flex-grow: 1;
}

/* Glass Cards */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, background 0.3s ease;
    animation: fadeInUp 1s ease-out backwards;
}

.card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.card.delay-1 {
    animation-delay: 0.2s;
}

.card.delay-2 {
    animation-delay: 0.4s;
}

/* Typography inside cards */
p {
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

p a:hover {
    color: #fff;
}

.highlight {
    color: #fff;
    font-weight: 500;
}

/* Contact Buttons */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.btn-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.btn-premium:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(38, 91, 255, 0.3);
}

.btn-premium:hover::before {
    transform: translateX(100%);
}

.btn-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

/* Logo */
.logo-container {
    width: 80px;
    height: 80px;
    animation: float 6s ease-in-out infinite;
    flex-shrink: 0;
    order: 2;
    /* Desktop: Logo second (right) */
}

.logo-container img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(38, 91, 255, 0.4));
}

/* Footer / Small text */
small {
    display: block;
    margin-top: 1rem;
    color: #555;
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

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

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

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

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 1.5rem;
    }

    header {
        flex-direction: column;
        /* Stack vertically */
        align-items: flex-start;
        gap: 1rem;
        /* Reduced gap for better mobile spacing */
    }

    .logo-container {
        margin-bottom: 0;
        /* Handled by gap */
        width: 60px;
        order: 1;
        /* Mobile: Logo first (top) */
    }

    h1,
    .header-text {
        font-size: 3rem;
        order: 2;
        /* Mobile: Text second (bottom) */
    }

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

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
}