:root {
    --navy-dark: #0a1a2d;
    --navy-med: #152342;
    --blue-dark: #325786;
    --blue-light: #5f86bf;
    --cream: #e4e8d3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Optimized floating particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(95, 134, 191, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(95, 134, 191, 0.2), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.05), transparent);
    background-repeat: repeat;
    background-size: 150px 150px;
    animation: float 20s infinite linear;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

/* Navigation */
nav {
    background: rgba(42, 42, 42, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo a {
    color: var(--blue-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-light);
    background: rgba(95, 134, 191, 0.15);
}

/* Main Content */
main {
    margin-top: 72.8px;
    padding: 0rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.contact-hero {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--blue-light), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    font-size: 1.3rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Methods Grid */
.contact-methods-container {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.contact-method {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border: 1px solid #404040;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.contact-method:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--blue-light);
    box-shadow:
        0 20px 40px rgba(95, 134, 191, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.4);
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(95, 134, 191, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-method:hover::before {
    left: 100%;
}

.icon-circle {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    border-radius: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0.9;
    margin-right: 0.5rem;
    flex-shrink: 0;
}
.icon-circle img {
    height: 18px;
    filter: brightness(0) invert(1);
}

.contact-method:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(95, 134, 191, 0.4);
    opacity: 1;
}

.method-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.method-content h3 {
    color: var(--blue-light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.method-content p {
    color: #999;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.method-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.method-link:hover {
    color: var(--blue-light);
}

.method-arrow {
    font-size: 2rem;
    color: var(--blue-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.contact-method:hover .method-arrow {
    transform: translateX(10px) scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-150px, -150px, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-method {
        padding: 1.5rem;
        min-height: 100px;
        gap: 1rem;
    }

    .method-content h3 {
        font-size: 1.2rem;
    }

    .icon-circle {
        width: 20px;
        height: 20px;
        margin-right: 0.4rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 2rem 1rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
        margin-top: 1rem;
    }

    .contact-method {
        padding: 2rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .method-content {
        align-items: center;
    }

    .method-content h3 {
        font-size: 1.5rem;
    }

    .method-arrow {
        display: none;
    }
}