@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Syne:wght@400..800&display=swap');

/* fonts */
@font-face{
    font-family: "BauhausRegular";
    src: url("./fonts/BauhausRegular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family:"BauhausBold";
    src: url("./fonts/BauhausBold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}
body{
    background-image: linear-gradient(#fafafa, #f7d7e3);
    color: #4a4a4a;
    font-family: "BauhausRegular", sans-serif;
    min-height: 100vh;
    position: relative;
}
body.ai-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(219, 39, 119, 0.15) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(219, 39, 119, 0.15) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(219, 39, 119, 0.15) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(219, 39, 119, 0.15) 75%);
    background-size: 120px 120px;
    background-position: 0 0, 0 60px, 60px -60px, -60px 0px;
    pointer-events: none;
    z-index: 0;
}
.ai-main {
    position: relative;
    z-index: 1;
}
.ai-bubble {
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
    font-size: 14px;
}
@media (min-width: 640px) {
    .ai-bubble {
        padding: 14px 18px;
        font-size: 15px;
        max-width: 80%;
    }
}
@media (min-width: 768px) {
    .ai-bubble {
        padding: 16px 20px;
        font-size: 16px;
        max-width: 75%;
    }
}
.user-bubble {
    background: rgba(219, 39, 119, 0.2);
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    align-self: flex-end;
    box-shadow: 0 2px 8px rgba(219, 39, 119, 0.2);
    line-height: 1.5;
    font-size: 14px;
}

@media (min-width: 640px) {
    .user-bubble {
        padding: 14px 18px;
        font-size: 15px;
        max-width: 80%;
    }
}
@media (min-width: 768px) {
    .user-bubble {
        padding: 16px 20px;
        font-size: 16px;
        max-width: 75%;
    }
}
.error-bubble {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
    line-height: 1.5;
    font-size: 14px;
}
@media (min-width: 640px) {
    .error-bubble {
        padding: 14px 18px;
        font-size: 15px;
    }
}
@media (min-width: 768px) {
    .error-bubble {
        padding: 16px 20px;
        font-size: 16px;
    }
}

/* custom chat scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(219, 39, 119, 0.4);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(219, 39, 119, 0.6);
}
#mobile-menu-button span {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
h1, h2, h3, h4, h5, h6, p, span, a, li, div {
    color: inherit;
}
.text-black, [style*="color: black"], [style*="color: #000"] {
    color: #4a4a4a !important;
}

/* responsive button styles */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (min-width: 640px) {
    .btn-primary {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
}
@media (min-width: 768px) {
    .btn-primary {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}
@media (min-width: 1024px) {
    .btn-primary {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}
@media (min-width: 1280px) {
    .btn-primary {
        padding: 1.125rem 2.75rem;
        font-size: 1.125rem;
    }
}
@media (min-width: 1536px) {
    .btn-primary {
        padding: 1.25rem 3rem;
        font-size: 1.25rem;
    }
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}
.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (min-width: 640px) {
    .btn-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
}
@media (min-width: 768px) {
    .btn-secondary {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}
@media (min-width: 1024px) {
    .btn-secondary {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}
@media (min-width: 1280px) {
    .btn-secondary {
        padding: 1.125rem 2.75rem;
        font-size: 1.125rem;
    }
}
@media (min-width: 1536px) {
    .btn-secondary {
        padding: 1.25rem 3rem;
        font-size: 1.25rem;
    }
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6);
}
.nav-btn {
    background: transparent;
    color: #333;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.75rem;
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@media (min-width: 768px) {
    .nav-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
}
@media (min-width: 1280px) {
    .nav-btn {
        padding: 0.625rem 1.5rem;
        font-size: 1rem;
    }
}
@media (min-width: 1536px) {
    .nav-btn {
        padding: 0.75rem 1.75rem;
        font-size: 1.125rem;
    }
}
.nav-btn:hover {
    background: #333;
    color: white;
    transform: translateY(-1px);
}
.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #333;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
@media (min-width: 768px) {
    .icon-btn {
        width: 40px;
        height: 40px;
    }
}
@media (min-width: 1280px) {
    .icon-btn {
        width: 48px;
        height: 48px;
    }
}
@media (min-width: 1536px) {
    .icon-btn {
        width: 56px;
        height: 56px;
    }
}
.icon-btn:hover {
    background: #333;
    transform: scale(1.1);
}
.icon-btn img {
    width: 16px;
    height: 16px;
}
@media (min-width: 768px) {
    .icon-btn img {
        width: 20px;
        height: 20px;
    }
}
@media (min-width: 1280px) {
    .icon-btn img {
        width: 24px;
        height: 24px;
    }
}
@media (min-width: 1536px) {
    .icon-btn img {
        width: 28px;
        height: 28px;
    }
}

/* hero style*/
.hero-section {
    position: relative;
    width: 100%;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    animation: none;
    will-change: transform;
    filter: brightness(0.85) contrast(1.1) saturate(1.2);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(247, 215, 227, 0.4) 0%,
        rgba(139, 92, 246, 0.3) 50%,
        rgba(236, 72, 153, 0.4) 100%
    );
    z-index: 1;
    animation: overlayPulse 8s ease-in-out infinite;
}
@keyframes overlayPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 2;
    pointer-events: none;
}
.hero-content,
.hero-buttons {
    position: relative;
    z-index: 10;
}
.hero-content h1 {
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(139, 92, 246, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}
@keyframes textGlow {
    0% {
        text-shadow: 
            0 2px 10px rgba(0, 0, 0, 0.3),
            0 4px 20px rgba(0, 0, 0, 0.2),
            0 0 30px rgba(139, 92, 246, 0.3);
    }
    100% {
        text-shadow: 
            0 2px 10px rgba(0, 0, 0, 0.3),
            0 4px 20px rgba(0, 0, 0, 0.2),
            0 0 40px rgba(139, 92, 246, 0.5);
    }
}
@media (max-width: 768px) {
    .hero-video {
        filter: brightness(0.8) contrast(1.15) saturate(1.15);
    }
    
    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(247, 215, 227, 0.5) 0%,
            rgba(139, 92, 246, 0.4) 50%,
            rgba(236, 72, 153, 0.5) 100%
        );
    }
}

/* team section*/
.team-grid {
    display: grid;
    justify-items: center;
    justify-content: center;
}
@media (max-width: 767px) {
    .team-grid > :nth-child(1) {
        grid-column: 1;
    }
    .team-grid > :nth-child(2) {
        grid-column: 2;
    }
    .team-grid > :nth-child(3) {
        grid-column: 1;
    }
    .team-grid > :nth-child(4) {
        grid-column: 2;
    }
    .team-grid > :nth-child(5) {
        grid-column: 1 / -1;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .team-grid > :nth-child(4) {
        grid-column: 1;
    }
    .team-grid > :nth-child(5) {
        grid-column: 2;
    }
}
@media (min-width: 1024px) {
    .team-grid {
        display: grid !important;
        grid-template-columns: 1fr repeat(4, auto) 1fr !important;
        justify-items: center;
        max-width: 100%;
        gap: 3rem 4rem !important;
    }
    .team-grid > :nth-child(1) {
        grid-column: 2;
    }
    .team-grid > :nth-child(2) {
        grid-column: 3;
    }
    .team-grid > :nth-child(3) {
        grid-column: 4;
    }
    .team-grid > :nth-child(4) {
        grid-column: 2;
        transform: translateX(calc(50% + 2rem));
    }
    .team-grid > :nth-child(5) {
        grid-column: 3;
        transform: translateX(calc(50% + 2rem));
    }
}