@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=CocoGoose+Pro:wght@400;500;600;700&display=swap');

:root {
    --font-heading: 'CocoGoose Pro', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 10%;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 2px 4px -1px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    width: 120px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #184162;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:not(.contact-btn):hover {
    color: #1c7cc3;
}

.nav-links a:not(.contact-btn)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2.4px;
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
    transition: width 0.3s ease;
}

.nav-links a:not(.contact-btn):hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #1c7cc3;
}

.nav-links a.active:not(.contact-btn)::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2.4px;
    background: linear-gradient(90deg, #0ea5e9, #6366f1);
}

.nav-links a:not(.contact-btn).active {
    animation: activePulse 0.5s ease;
}

@keyframes activePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact Button */
.contact-btn {
    border: 1.4px solid #1c7cc3;
    color: #1c7cc3 !important;
    padding: 8px 28px;
    border-radius: 26px;
    font-weight: 600;
    font-size: 14px;
    background-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(28, 124, 195, 0.1), transparent);
    transition: all 0.6s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background-color: rgba(28, 124, 195, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    height: 2.6px;
    background-color: #1c7cc3;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: left center;
}

/* Different widths for hamburger lines */
.hamburger-line:nth-child(1) {
    width: 100%;
}

.hamburger-line:nth-child(2) {
    width: 80%;
}

.hamburger-line:nth-child(3) {
    width: 60%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    backdrop-filter: blur(100%);
    padding: 20px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 40;
    flex-direction: column;
    gap: 0;
    transform: translateY(-100%);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.mobile-menu.active {
    top: 80px;
    transform: translateY(0);
}

.mobile-menu a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 12px 24px;
    position: relative;
    display: flex;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-20px);
}

.mobile-menu.active a {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu a:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background-color: #e2e8f0;
    transition: all 0.3s ease;
}

.mobile-menu a:not(.contact-btn):hover {
    color: #0f172a;
    background-color: #f8fafc;
}

.mobile-menu a:not(.contact-btn):hover::after {
    background-color: #cbd5e1;
}

.mobile-menu .contact-btn {
    margin-top: 0px;
    border: none;
    color: #64748b !important;
    padding: 12px 24px;
    border-radius: 0px;
    font-weight: 500;
    font-size: 16px;
    background-color: transparent;
    align-self: flex-start;
    transition: all 0.3s ease;
    box-shadow: none;
}

.mobile-menu .contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.2);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a:not(.contact-btn)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    width: 0;
    height: 1px;
    background-color: #1c7cc3;
    transition: width 0.3s ease;
}

.mobile-menu a:not(.contact-btn):hover::before {
    width: calc(100% - 48px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
        pointer-events: none;
        visibility: hidden;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .navbar {
        padding: 14px 6%;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 100px;
    }
    
    .mobile-menu {
        top: 80px;
    }
}

.logo {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 rgba(28, 124, 195, 0));
}

.logo:hover {
    animation: floatAndGlow 2s ease-in-out infinite;
}

@keyframes floatAndGlow {
    0%, 100% { 
        transform: translateY(0); 
        filter: drop-shadow(0 0 0 rgba(28, 124, 195, 0));
    }
    50% { 
        transform: translateY(-5px); 
        filter: drop-shadow(0 0 10px rgba(28, 124, 195, 0.4));
    }
}

.contact-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(28, 124, 195, 0.2);
}

.contact-btn:hover {
    transform: translateY(-3px) rotateX(10deg);
    box-shadow: 0 8px 25px rgba(28, 124, 195, 0.3);
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s ease;
    z-index: -1;
}

.contact-btn:hover::before {
    left: 100%;
}