:root {
    --font-size: 16px;
    --background: #ffffff;
    --foreground: oklch(0.145 0 0);
    --card: #ffffff;
    --card-foreground: oklch(0.145 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.145 0 0);
    --primary: #030213;
    --primary-foreground: oklch(1 0 0);
    --secondary: oklch(0.95 0.0058 264.53);
    --secondary-foreground: #030213;
    --muted: #ececf0;
    --muted-foreground: #717182;
    --accent: #e9ebef;
    --accent-foreground: #030213;
    --destructive: #d4183d;
    --destructive-foreground: #ffffff;
    --border: rgba(0, 0, 0, 0.1);
    --input: transparent;
    --input-background: #f3f3f5;
    --switch-background: #cbced4;
    --font-weight-medium: 500;
    --font-weight-normal: 400;
    --ring: oklch(0.708 0 0);
    --chart-1: oklch(0.646 0.222 41.116);
    --chart-2: oklch(0.6 0.118 184.704);
    --chart-3: oklch(0.398 0.07 227.392);
    --chart-4: oklch(0.828 0.189 84.429);
    --chart-5: oklch(0.769 0.188 70.08);
    --radius: 0.625rem;
    --sidebar: oklch(0.985 0 0);
    --sidebar-foreground: oklch(0.145 0 0);
    --sidebar-primary: #030213;
    --sidebar-primary-foreground: oklch(0.985 0 0);
    --sidebar-accent: oklch(0.97 0 0);
    --sidebar-accent-foreground: oklch(0.205 0 0);
    --sidebar-border: oklch(0.922 0 0);
    --sidebar-ring: oklch(0.708 0 0);
    --main: #007bff;
}

* {
    font-family: "Be Vietnam Pro", sans-serif;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--foreground);
    background:
        linear-gradient(to right, color-mix(in oklch, var(--muted) 50%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in oklch, var(--muted) 50%, transparent) 1px, transparent 1px);
    background-size: 24px 24px;
}

.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

nav .brand {
    height: 50px;
}

nav .action {
    display: flex;
    gap: 15px;
    align-items: center;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--main);
    margin: 20px auto;
    border-radius: 2px;
    animation: fade_in 1s ease-in-out forwards;
}

.btn {
    color: var(--primary-foreground);
    background-color: var(--primary);
    text-decoration: none;
    padding: 9px 20px;
    font-size: 0.9rem;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    gap: 10px;
    transition: background-color 0.3s, color 0.3s;
    border: 1px solid var(--border);
}

.btn:hover {
    background-color: color-mix(in oklch, var(--primary) 80%, black);
    border-color: color-mix(in oklch, var(--primary) 80%, black);
    color: var(--primary-foreground);
}

.btn.light {
    background-color: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--border);
}

.btn.light:hover {
    background-color: var(--muted);
    border-color: color-mix(in oklch, var(--border) 60%, var(--muted));
    color: var(--foreground);
}

.btn i {
    font-size: 1.2rem;
    margin-right: -5px;
}

section.hero {
    text-align: center;
    padding: 60px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

section.hero .brand {
    height: 80px;
    margin-bottom: 20px;
    animation: logo_reveal 1s ease-in-out forwards;
}

section.hero h2 {
    font-size: 1.5rem;
    margin: 10px 0;
    animation: slide_fade_in 1s ease-in-out forwards;
}

section.hero p {
    font-size: 1rem;
    max-width: 600px;
    margin: 10px 0 20px 0;
    animation: slide_fade_in 1s ease-in-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    animation: slide_fade_in 1s ease-in-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

p {
    line-height: 1.6;
    color: var(--muted-foreground);
    max-width: 900px;
}

section {
    padding: 60px 80px;
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.about h2 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin-top: 40px;
    text-align: left;
}

.container {
    text-align: left;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 35px;
    transition: border 0.3s;
    background-color: var(--card);
}

.container .title {
    margin: 0;
    font-size: 1.1rem;
}

.container p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted-foreground);
}

.container .icon {
    color: var(--main);
}

.container:hover {
    border: 1px solid color-mix(in oklch, var(--border) 50%, var(--foreground));
}

.testemonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin-top: 40px;
    text-align: left;
}

.testemonials-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testemonials-profile .info {
    display: flex;
    flex-direction: column;
}

.testemonials-profile .info h4 {
    margin: 0;
    font-size: 1rem;
}

.testemonials-profile .info .role {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.testemonials-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

img.contain {
    object-fit: contain;
}

.quote {
    font-style: italic;
}

.quote::before {
    content: "“";
}

.quote::after {
    content: "”";
}

.quote_::before,
.quote_::after {
    font-size: 2rem;
    line-height: 0;
    color: var(--main);
}

.quote_::before {
    content: "“";
    vertical-align: top;
    margin-right: 5px;
}

.quote_::after {
    content: "”";
    vertical-align: bottom;
    margin-left: 5px;
}

.pfp-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfp-placeholder .initials {
    color: var(--primary-foreground);
    font-weight: bold;
    font-size: 1rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    text-align: center;
    align-items: center;
    justify-items: center;
}

.clients-grid img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1400px;
    margin-top: 40px;
    text-align: left;
}

.btn.full-width {
    width: 100%;
    justify-content: center;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

footer img {
    height: 50px;
    vertical-align: middle;
}

footer a {
    color: var(--muted-foreground);
    margin-top: 10px;
}

.competence-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin-top: 40px;
    text-align: left;
}

.competence-grid p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted-foreground);
    text-align: center;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 10rem;
    background-color: var(--card);
}

@keyframes logo_reveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade_in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slide_fade_in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
    
}

.gradient_bubble {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, color-mix(in oklch, var(--main) 40%, transparent) 0%, transparent 70%);
    border-radius: 50%;
    top: -10%;
    left: 10%;
    z-index: -1;
    animation: anim_gradient_bubble 10s ease-in-out infinite;
}

@keyframes anim_gradient_bubble {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(20px, 20px) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    
}

/* === Responsive / Mobile-friendly adjustments ===
   These rules keep the existing content and structure but
   improve spacing, sizing and layout on smaller screens.
   No text content or HTML is changed.
*/

@media (max-width: 900px) {
    nav {
        padding: 10px 20px;
    }

    nav .brand {
        height: 60px;
    }

    .divider {
        width: 48px;
    }

    section {
        padding: 40px 24px;
    }

    .about-grid,
    .testemonials-grid,
    .clients-grid,
    .contact-grid {
        gap: 16px;
        max-width: 100%;
    }

    .clients-grid img {
        width: 160px;
        height: 160px;
    }

    .testemonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    }
}

@media (max-width: 600px) {
    /* Compact navigation */
    nav {
        padding: 8px 12px;
    }

    nav .brand {
        height: 48px;
    }

    nav .action {
        gap: 8px;
    }

    /* Buttons are easier to tap on small screens */
    .btn {
        padding: 8px 12px;
        font-size: 0.88rem;
    }

    /* Make primary actions stack vertically and fill width */
    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .actions .btn {
        width: 100%;
    }

    /* Reduce hero height to avoid long scrolls on mobile */
    section.hero {
        padding: 36px 16px;
        min-height: 60vh;
    }

    section.hero .brand {
        height: 60px;
    }

    section.hero h2 {
        font-size: 1.25rem;
    }

    section.hero p {
        max-width: 420px;
    }

    /* General section padding */
    section {
        padding: 36px 16px;
        align-items: stretch;
    }

    /* Make grids single column for readability */
    .about-grid,
    .testemonials-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .container {
        padding: 14px;
        gap: 20px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .clients-grid img {
        width: 120px;
        height: 120px;
        opacity: 0.85;
    }

    .testemonials-profile img,
    .pfp-placeholder {
        width: 44px;
        height: 44px;
    }

    .quote {
        font-size: 0.95rem;
    }

    /* Make footer more compact */
    footer {
        padding: 16px;
    }

    /* Scale down the decorative bubble */
    .gradient_bubble {
        width: 300px;
        height: 300px;
        top: -20%;
        left: -10%;
        opacity: 0.9;
    }
}

@media (max-width: 420px) {
    nav {
        padding: 6px 10px;
    }

    nav .brand {
        height: 44px;
    }

    .divider {
        width: 40px;
        height: 3px;
    }

    .btn {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .container {
        padding: 12px;
    }

    .competence-grid p {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .clients-grid img {
        width: 100px;
        height: 100px;
    }

    /* Allow hero paragraph to take full width on very small displays */
    section.hero p {
        max-width: 100%;
    }
}