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

:root {
    --primary-blue: #3B82F6;
    --dark-text: #111827;
    --muted-text: #6B7280;
    --bg-white: #ffffff;
    --hero-blue: #f8fbff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--hero-blue);
}

/* Main Wrapper */
.main-header-wrapper {
    background-color: var(--bg-white);
    width: 100%;
    position: relative;
    padding-bottom: 0px; /* Reduced to 0 to pull the curve as high as possible */
}

/* Top Navigation - REMOVED BORDER */
.header-top-nav {
    height: 80px;
    display: flex;
    align-items: center;
    background: var(--bg-white); /* Solid white background as requested */
    position: static; /* Make header static as requested */
    top: 0;
    z-index: 1000;
    border-bottom: none !important; /* Force remove border */
}

.nav-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 40px;
    width: auto;
}

/* Center Navigation */
.center-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 14.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.nav-link.muted {
    color: #8892b0;
    font-weight: 400;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.ai-link-special {
    font-weight: 700 !important;
}

.ai-head-icon {
    width: 22px;
    height: 22px;
}

.chevron-down {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-bottom: 3px;
    opacity: 0.5;
}

/* Right Navigation */
.right-nav-side {
    display: flex;
    align-items: center;
    gap: 25px;
}

.secondary-nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.contact-button-nine {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.contact-button-nine:hover {
    background-color: #2563EB;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hero Content - MOVED UP */
.hero-content-wrapper {
    padding: 10px 20px 30px 20px; /* Thoda sa aur upar as requested */
    text-align: center;
}

.promo-tag {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 12px;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
}

.main-hero-title {
    font-size: clamp(28px, 4.5vw, 56px);
    color: var(--dark-text);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Professional SVG Curve Design */
.svg-curve-wrapper {
    position: absolute;
    bottom: -99px; /* Adjust based on SVG height */
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
    pointer-events: none;
}

.smooth-curve-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ai-search-box-container {
    position: absolute;
    top: 25px; /* Perfectly centered vertically inside the 90px deep curve */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: auto;
    z-index: 20;
}

/* Professional AI Search Box with Subtle Animated Border */
.ai-search-box {
    position: relative;
    border-radius: 100px;
    padding: 6px 16px 6px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 500px; /* Reduced width for a tighter, more professional look */
    max-width: 500px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); /* Softer, highly professional shadow */
    transition: all 0.4s ease;
    
    /* Bulletproof Gradient Border Trick */
    border: 1.5px solid transparent;
    background: 
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #e2e8f0, #3B82F6, #F97316, #e2e8f0) border-box;
    background-size: 100% 100%, 200% 100%;
    animation: borderGradient 4s linear infinite;
}

@keyframes borderGradient {
    0% { background-position: 0% 0%, 100% 50%; }
    100% { background-position: 0% 0%, 0% 50%; }
}

.ai-search-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.ai-box-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.ai-icon-circle {
    width: 40px;
    height: 40px;
    background: #0B192C; /* Deep navy matching NineHertz exactly */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Ensures the icon stays a perfect circle and doesn't get squeezed */
}

.star-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.ask-ai-text {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
    white-space: nowrap;
}

.ai-input-field {
    border: none;
    outline: none;
    font-size: 15px;
    color: #475569;
    width: 100%;
    padding: 0 5px; /* Removed top/bottom padding to ensure perfect vertical center */
    background: transparent;
}

.ai-input-field::placeholder {
    color: #94a3b8;
}

.search-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa; /* Lighter blue icon matching image */
}

.search-svg {
    width: 20px;
    height: 20px;
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 1100px) {
    .center-nav, .secondary-nav-list { display: none; }
    .mobile-menu-btn { display: flex; }
    .ai-search-box { min-width: 90vw; }
}

@media (max-width: 640px) {
    .main-hero-title { font-size: 26px; }
    .hero-content-wrapper { padding-top: 25px; }
}
