@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --apci-dark: #003d61;
    --apci-light: #00a2e0;
    --apci-soft: #f0f7fb;
    --apci-accent: #00d2ff;
    --apci-deep: #001a2e;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    line-height: 1.6;
    color: var(--apci-deep);
    -webkit-font-smoothing: antialiased;
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Page Sections Management */
.page-section {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-section.active {
    display: block;
    opacity: 1;
}

/* Glassmorphism Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Modern Cards */
.premium-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 61, 97, 0.12);
    border-color: var(--apci-light);
}

/* Gradient Backgrounds */
.bg-gradient-apci {
    background: linear-gradient(135deg, var(--apci-dark), var(--apci-light));
}

.bg-mesh {
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 162, 224, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 61, 97, 0.1) 0px, transparent 50%);
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(135deg, var(--apci-dark), var(--apci-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    border-radius: 14px;
}

.btn-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::after {
    width: 300%;
    height: 300%;
}

.btn-modern:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(0, 162, 224, 0.4);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--apci-dark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--apci-light);
}

/* Floating Elements Animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0% { transform: translatey(0px); }
	50% { transform: translatey(-20px); }
	100% { transform: translatey(0px); }
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}
