/* --- Core Variables & Resets --- */
:root {
    --primary-color: #000000;
    --text-color: #333333;
    --accent-color: #00d2d3; /* Hackence Teal */
    --light-bg: #f8fcfc;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html, body { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: var(--font-main); 
    color: var(--text-color); 
    background-color: var(--light-bg); 
    overflow-x: hidden; 
    width: 100vw;
}
* { box-sizing: inherit; }
a { text-decoration: none; color: inherit; }

/* =========================================
   HEADER & NAVBAR FADEOUT (Global Style)
   ========================================= */
.site-header { position: fixed; top: 0; left: 0; width: 100%; padding: 25px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 999; background: transparent; transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease; }
.site-header.scrolled { padding: 15px 50px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 5px 25px rgba(0,0,0,0.05); }

.logo-link { display: flex; align-items: center; gap: 8px; }

/* Fixed Navbar Image Logo */
.nav-logo-img { height: 40px; width: auto; object-fit: contain; transition: transform 0.3s ease, filter 0.4s ease; filter: brightness(0) invert(1); /* Makes logo white over dark banner */ }
.site-header.scrolled .nav-logo-img { filter: none; } /* Reverts to color over white background */
.nav-logo-img:hover { transform: scale(1.05); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.btn-call { border: 2px solid rgba(255,255,255,0.5); padding: 10px 25px; border-radius: 30px; font-weight: 600; font-size: 0.95rem; background: transparent; color: white; transition: var(--transition); display: flex; align-items: center; gap: 8px;}
.site-header.scrolled .btn-call { color: var(--primary-color); border-color: #ddd; background: white; }
.btn-call:hover { background: var(--accent-color); color: #000; border-color: var(--accent-color); }

.menu-toggle { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); cursor: pointer; width: 45px; height: 45px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; transition: var(--transition); }
.site-header.scrolled .menu-toggle { background: #111; border-color: #111; }
.menu-toggle:hover { transform: scale(1.05); background: var(--accent-color); border-color: var(--accent-color); }
.bar { width: 20px; height: 2px; background-color: white; transition: background 0.4s;}
.site-header.scrolled .bar { background-color: white; }

/* Nav Overlay */
.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #050505; z-index: 1000; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s ease; pointer-events: none; }
.nav-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.close-btn { position: absolute; top: 30px; right: 50px; background: white; border: none; color: black; font-size: 2.5rem; line-height: 1; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: 0.3s; }
.close-btn:hover { background: var(--accent-color); color: white; transform: rotate(90deg); }
.main-nav ul { list-style: none; text-align: center; padding: 0; }
.main-nav ul li { margin: 15px 0; transform: translateY(30px); opacity: 0; transition: all 0.5s ease; transition-delay: calc(0.1s * var(--i)); }
.nav-overlay.active .main-nav ul li { transform: translateY(0); opacity: 1; }
.main-nav ul li a { text-decoration: none; color: white; font-size: 2.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s; }
.main-nav ul li a:hover { color: var(--accent-color); }

/* --- Inner Banner --- */
.inner-page-banner { height: 45vh; min-height: 400px; position: relative; display: flex; align-items: center; justify-content: center; background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover; color: white; text-align: center; padding-top: 80px; }
.banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,210,211,0.3) 100%); }
.banner-content { position: relative; z-index: 2; }
.banner-content h1 { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 900; margin-bottom: 10px; text-transform: uppercase; letter-spacing: -1px; text-shadow: 0 10px 30px rgba(0,0,0,0.5);}
.breadcrumbs { font-size: 1.1rem; color: #ccc; font-weight: 500;}
.breadcrumbs a { color: var(--accent-color); text-decoration: none; transition: color 0.3s;}
.breadcrumbs a:hover { color: white; }

/* --- Animated About Section --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%;}
.unique-about-section { position: relative; padding: 120px 0; background-color: var(--light-bg); overflow: hidden; }
.bg-deco-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 18vw; font-weight: 900; color: transparent; -webkit-text-stroke: 2px #eaeaea; z-index: 0; opacity: 0.5; letter-spacing: 10px; pointer-events: none; }
.relative-container { position: relative; z-index: 2; }
.about-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 50px; }

/* Image Layer */
.about-image-layer { width: 45%; position: relative; }
.about-image-layer img { width: 100%; height: 600px; object-fit: cover; border-radius: 20px; box-shadow: 20px 20px 0px var(--accent-color); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.about-image-layer:hover img { transform: scale(1.03) translate(-10px, -10px); box-shadow: 30px 30px 0px var(--primary-color); }

@keyframes floatContinuous { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.floating-badge { position: absolute; bottom: -30px; left: -30px; background: #000; color: white; padding: 15px 30px; border-radius: 50px; display: flex; align-items: center; gap: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.3); animation: floatContinuous 4s ease-in-out infinite; }
.badge-icon { background: var(--accent-color); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: black; font-size: 1.2rem; }
.badge-text { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 1rem; }

/* Content Glass Card */
.about-content-layer { width: 55%; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); padding: 60px; border-radius: 20px; margin-left: -100px; border: 1px solid rgba(255,255,255,1); box-shadow: 0 25px 60px rgba(0,0,0,0.08); transition: transform 0.4s ease; }
.about-content-layer:hover { transform: translateY(-5px); }
.tiny-label { display: inline-block; font-size: 0.85rem; font-weight: 800; color: var(--accent-color); background: rgba(0, 210, 211, 0.1); padding: 8px 15px; border-radius: 6px; margin-bottom: 25px; letter-spacing: 1px; }
.about-content-layer h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.1; margin-bottom: 25px; font-weight: 800; color: #111; letter-spacing: -1px;}
.highlight-text { position: relative; z-index: 1; }
.highlight-text::after { content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 15px; background: var(--accent-color); opacity: 0.3; z-index: -1; transform: skewX(-15deg); }
.about-content-layer p { color: #555; line-height: 1.8; margin-bottom: 20px; font-size: 1.1rem; min-height: 50px;}

.founders-section { margin: 25px 0; background: #f4f4f4; padding: 15px 20px; border-radius: 10px; border-left: 4px solid var(--accent-color); }
.founders-title { font-weight: 700; margin-bottom: 10px !important; color: #000 !important; font-size: 1rem !important; }
.founder-tags { display: flex; gap: 15px; flex-wrap: wrap; }
.f-tag { background: #fff; padding: 8px 18px; border-radius: 20px; font-size: 0.95rem; font-weight: 600; color: #333; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: color 0.3s; }
.f-tag i { color: var(--accent-color); margin-right: 5px; }
.f-tag:hover { color: var(--accent-color); }

.about-features { display: flex; gap: 30px; margin-top: 30px; padding-top: 30px; border-top: 1px solid #eee; flex-wrap: wrap;}
.a-feat { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #111; font-size: 1.1rem; }
.a-feat i { color: var(--accent-color); font-size: 1.5rem; }

/* =========================================
   TEAM SECTION (WITH NEW ANIMATIONS)
   ========================================= */
.team-section { padding: 100px 0 120px; background-color: #ffffff; }
.team-header { margin-bottom: 60px; }
.text-center { text-align: center; }
.sub-heading { display: block; font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-color); margin-bottom: 15px; font-weight: 700; }
.team-header h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; margin-bottom: 15px; color: #111; letter-spacing: -1px; }
.team-header p { font-size: 1.15rem; color: #666; max-width: 600px; margin: 0 auto; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-bottom: 80px; }
.team-card { background: #f9fbfc; border-radius: 20px; overflow: hidden; border: 1px solid #eee; transition: var(--transition); text-align: center; position: relative;}
.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,210,211,0.15); border-color: var(--accent-color); }

/* Team Image Hover Effects */
.team-img-wrapper { position: relative; width: 100%; height: 350px; overflow: hidden; }
.team-img-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.6s ease; filter: grayscale(100%); }
.team-card:hover .team-img-wrapper img { transform: scale(1.08); filter: grayscale(0%); }

/* Social Icons Spring Up Effect */
.team-socials { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; justify-content: center; gap: 15px; padding: 30px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); transition: opacity 0.4s ease; opacity: 0; pointer-events: none;}
.team-card:hover .team-socials { opacity: 1; pointer-events: auto;}

.s-icon { width: 45px; height: 45px; background: var(--accent-color); color: #000; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; transform: translateY(40px); opacity: 0; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
/* Staggered animation for the icons */
.team-card:hover .s-icon:nth-child(1) { transform: translateY(0); opacity: 1; transition-delay: 0.1s;}
.team-card:hover .s-icon:nth-child(2) { transform: translateY(0); opacity: 1; transition-delay: 0.2s;}
.s-icon:hover { background: #fff; transform: translateY(-5px) scale(1.1) !important; }

.team-info { padding: 25px 20px; background: #fff;}
.team-info h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 5px; color: #111; }
.team-info p { font-size: 0.95rem; color: var(--accent-color); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* Join Team CTA */
.join-team-cta { display: flex; justify-content: space-between; align-items: center; background: #050505; color: white; padding: 50px 60px; border-radius: 30px; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1);}
.cta-content h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 10px; }
.cta-content p { color: #aaa; font-size: 1.1rem; max-width: 500px; margin: 0; }
.btn-join { display: inline-flex; align-items: center; gap: 10px; background: var(--accent-color); color: #000; padding: 18px 40px; border-radius: 50px; font-weight: 800; font-size: 1.1rem; transition: var(--transition); box-shadow: 0 10px 30px rgba(0,210,211,0.3); white-space: nowrap;}
.btn-join:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 15px 40px rgba(0,210,211,0.5); }

/* =========================================
   BOTTOM ABOUT SECTION (Image Logo)
   ========================================= */
.align-center { align-items: center !important; }
.text-left { text-align: left !important; }
.about-section { padding: 80px 50px 0; background: white; }
.split-layout { display: flex; align-items: center; gap: 50px; padding: 80px 0; max-width: 100%; }
.image-content { flex: 1; position: relative; }
.text-content { flex: 1; }

.about-logo-col { display: flex; justify-content: center; align-items: center; }
.about-large-logo-img { max-width: 400px; width: 100%; height: auto; }
.about-text .section-title { font-size: 3rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; }
.title-underline { width: 60px; height: 4px; background-color: var(--accent-color); margin-bottom: 30px; border-radius: 2px;}
.about-text p { font-size: 1.15rem; line-height: 1.8; color: #555; margin-bottom: 25px; font-weight: 400; min-height: 50px;}
.section-divider { border: none; border-top: 1px solid #eaeaea; margin: 100px auto 0; max-width: 90%; }

/* =========================================
   FOOTER (Image Logo)
   ========================================= */
.site-footer { background-color: #050505; color: #ffffff; padding: 100px 50px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 80px; }

.footer-logo { margin-bottom: 25px; }
.footer-logo-img { height: 45px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }

.brand-col p { color: #888; line-height: 1.7; margin-bottom: 30px; max-width: 90%; font-size: 1rem; }
.social-links { display: flex; gap: 15px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: rgba(255, 255, 255, 0.05); color: white; border-radius: 50%; text-decoration: none; transition: all 0.3s ease; font-size: 1.1rem; }
.social-links a:hover { background: var(--accent-color); color: #000; transform: translateY(-3px); }
.footer-col h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 30px; position: relative; padding-bottom: 15px; color: white; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent-color); border-radius: 2px;}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #888; text-decoration: none; transition: all 0.3s ease; font-size: 1rem; font-weight: 500;}
.footer-col ul li a:hover { color: var(--accent-color); padding-left: 8px; }
.contact-col p { color: #888; display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; line-height: 1.6; font-size: 1rem; font-weight: 500;}
.contact-col i { color: var(--accent-color); margin-top: 5px; font-size: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 30px; text-align: center; color: #555; font-size: 0.95rem; font-weight: 500; }

/* =========================================
   CUSTOM CURSOR & SPRAY ANIMATIONS 
   ========================================= */
body { cursor: none; }
.cursor-dot { width: 8px; height: 8px; background-color: var(--accent-color); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--accent-color); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; transition-duration: 0.15s; transition-timing-function: ease-out; }
.cursor-hover .cursor-outline { width: 60px; height: 60px; background-color: rgba(0, 210, 211, 0.1); border-color: transparent; }

.social-spray-icon { position: absolute; pointer-events: none; color: var(--accent-color); font-size: 20px; z-index: 9997; animation: sprayAnim 1s forwards cubic-bezier(0.1, 0.8, 0.3, 1); }
@keyframes sprayAnim {
    0% { transform: translate(-50%, -50%) scale(0.2) rotate(0deg); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.5) rotate(var(--rot)); opacity: 0; }
}

/* Typing Effect Cursor Blink */
.typewriter { display: inline; min-height: 25px; }
.typewriter.typing::after { content: '|'; display: inline-block; color: var(--accent-color); animation: blink 0.8s infinite; margin-left: 2px;}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Disable custom cursor on mobile to prevent bugs */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline, .social-spray-icon { display: none !important; }
}

/* --- Scroll Reveal Animations --- */
.reveal-left, .reveal-right, .reveal-up, .reveal-fade { opacity: 0; transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up { transform: translateY(50px); }
.reveal-fade { transform: scale(0.95); }
.active.reveal-left, .active.reveal-right, .active.reveal-up { opacity: 1; transform: translate(0); }
.active.reveal-fade { opacity: 1; transform: scale(1); }

/* =========================================
   RESPONSIVE FIXES FOR MOBILE
   ========================================= */
@media (max-width: 1024px) {
    .bg-deco-text { font-size: 20vw; opacity: 0.2; }
    .about-wrapper { flex-direction: column; }
    .about-image-layer { width: 100%; margin-bottom: 60px; }
    .about-image-layer img { height: 450px; }
    .about-content-layer { width: 100%; margin-left: 0; margin-top: -80px; padding: 40px; }
    .floating-badge { right: 20px; left: auto; bottom: -20px; }
    
    .join-team-cta { flex-direction: column; text-align: center; gap: 30px;}
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    .site-header { padding: 15px 20px; }
    .site-header.scrolled { padding: 10px 20px; }
    .nav-logo-img { height: 30px; } /* Smaller image logo for mobile */
    .btn-call { display: none; }
    .close-btn { top: 20px; right: 20px; width: 45px; height: 45px; font-size: 2rem; }
    .main-nav ul li a { font-size: 2.5rem; }
    
    .team-grid { grid-template-columns: 1fr; }
    .join-team-cta { padding: 40px 20px; }
    .join-team-cta h3 { font-size: 1.8rem; }
    
    .split-layout { flex-direction: column; gap: 40px; }
    .about-section { padding: 40px 20px 0; }
    .about-large-logo-img { max-width: 250px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .site-footer { padding: 60px 20px 20px; }
}