:root {
    --color-bg: #001f3f;
    --color-text: #ffffff;
    --color-accent: #009fe3;
    --color-accent-soft: #00b8e6;
    --color-muted: #a0c4d9;
    --color-card: #003d5c;
    --color-border: #005580;
    --color-orange: #f4a100;
    --color-green: #00a651;
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 31, 63, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    height: 50px;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.hamburger {
    display: none;
}

nav a {
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 5px;
}

nav a:hover {
    color: var(--color-text);
}

nav a.active {
    color: var(--color-text);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 159, 227, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.6; }
    50% { transform: scale(1.1) translateY(-20px); opacity: 0.8; }
}

.hero .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    color: var(--color-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    max-width: 700px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-muted);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--color-accent);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.cta-button:hover {
    background: transparent;
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Section Styling */
section {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-muted);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--color-card);
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-item {
    background: var(--color-card);
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--color-accent);
}

.skill-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-percentage {
    color: var(--color-accent);
    font-family: var(--font-display);
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--color-accent);
    transition: width 1s ease;
}

/* Portfolio Section */
.portfolio-notice {
    text-align: center;
    padding: 4rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
}

.portfolio-notice h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.portfolio-notice p {
    color: var(--color-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.portfolio-notice a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--color-accent);
    transition: all 0.3s ease;
}

.portfolio-notice a:hover {
    color: var(--color-accent-soft);
    border-color: var(--color-accent-soft);
}

/* Testimonials Section */
.testimonials-grid {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}

.testimonials-grid::-webkit-scrollbar {
    height: 8px;
}

.testimonials-grid::-webkit-scrollbar-track {
    background: var(--color-card);
    border-radius: 4px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

.testimonial-card {
    background: var(--color-card);
    padding: 3rem;
    border: 1px solid var(--color-border);
    position: relative;
    transition: all 0.3s ease;
    width: 450px;
    min-width: 450px;
    max-width: 450px;
    flex-shrink: 0;
    scroll-snap-align: start;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background-image: url('/assets/img/2025Logomark_White.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.10;
    z-index: 1;
    pointer-events: none;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
    z-index: 2;
}

.testimonial-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.testimonial-text {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
}

.author-info h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--color-muted);
    font-size: 0.85rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-item label {
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.contact-item a,
.contact-item p {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--color-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.submit-button {
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: white;
    border: 2px solid var(--color-accent);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.submit-button:hover {
    background: transparent;
    color: var(--color-accent);
}

/* Footer */
footer {
    background: var(--color-card);
    border-top: 1px solid var(--color-border);
    padding: 3rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--color-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.social-links svg {
    width: 28px;
    height: 28px;
}

footer p {
    color: var(--color-muted);
    font-size: 0.9rem;
}

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

    .hero {
        padding: 6rem 2rem 3rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

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

    nav ul {
        gap: 1.5rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .testimonial-card {
        width: 380px;
        min-width: 380px;
        max-width: 380px;
    }
}

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

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

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .testimonial-card {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        padding: 2rem;
    }

    .testimonial-card::after {
        width: 280px;
        height: 280px;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 2rem;
        z-index: 999;
    }

    nav ul.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--color-text);
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for skill bars */
.skill-fill {
    animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
    from {
        width: 0;
    }
}