* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --hcg-dark-blue: #283770;
    --hcg-accent-blue: #00BFFF;
    --hcg-mid-blue: #5266B4;
    --hcg-white: #FFFFFF;
    --hcg-dark: #1A2B3D;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, rgba(40, 55, 112, 0.08) 0%, rgba(0, 191, 255, 0.08) 100%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(40, 55, 112, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--hcg-white);
    color: var(--hcg-dark-blue);
    padding: 1rem 0 0.75rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.header-logo {
    height: 420px;
    width: auto;
    max-width: min(94vw, 800px);
    object-fit: contain;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header .tagline {
    font-size: 1.15rem;
    color: var(--hcg-dark-blue);
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--hcg-accent-blue);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--hcg-dark-blue);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 5px;
    position: relative;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hcg-dark-blue), var(--hcg-accent-blue));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::before,
nav ul li a.active::before {
    width: 80%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--hcg-accent-blue);
    background: rgba(40, 55, 112, 0.06);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--hcg-dark-blue) 0%, #0a5da8 25%, #0080ff 50%, #00bfff 75%, #40e0ff 100%);
    background-size: 300% 300%;
    color: var(--hcg-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: heroGradient 5s ease-in-out infinite;
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse 50% 50% at 30% 30%, rgba(0, 255, 255, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse 50% 50% at 70% 70%, rgba(64, 224, 255, 0.3) 0%, transparent 45%);
    animation: heroShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroShine {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(5%, -5%) scale(1.1); opacity: 0.95; }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25);
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-intro {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.98;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hcg-accent-blue), transparent);
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--hcg-dark-blue);
    background: linear-gradient(135deg, var(--hcg-dark-blue), var(--hcg-accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, rgba(40, 55, 112, 0.04) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(40, 55, 112, 0.1);
    box-shadow: 0 4px 15px rgba(40, 55, 112, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.08), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(40, 55, 112, 0.2);
    border-color: var(--hcg-accent-blue);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    color: var(--hcg-dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--hcg-dark-blue) 0%, var(--hcg-mid-blue) 100%);
    color: var(--hcg-white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate 25s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 15px;
    min-width: 250px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.contact-icon-img {
    font-size: 0;
    line-height: 0;
}

.contact-icon-img img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    display: block;
}

.contact-item:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
}

.contact-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-item p {
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--hcg-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.service-area {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 2rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--hcg-dark) 0%, var(--hcg-dark-blue) 100%);
    color: var(--hcg-white);
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid var(--hcg-accent-blue);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-logo {
        height: 280px;
    }

    header .tagline {
        font-size: 1rem;
    }

    .footer-logo {
        height: 48px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services h2,
    .contact h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-item {
        width: 100%;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
