/* FL Landing Page Styles */

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #111034;
    --secondary-color: #dae0f1;
    --gradient-start: #ff7161;
    --gradient-end: #fa2f5c;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f7f7f7;
    
    /* Typography - Customizable Brand Font */
    --brand-font: 'Outfit', 'Inter', sans-serif;
    --body-font: 'Inter', sans-serif;
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--brand-font);
}

.italic {
    font-style: italic;
    font-weight: 300;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dark-bg {
    background-color: var(--primary-color);
    color: var(--white);
}

.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4 {
    color: var(--white);
}

.section-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* Buttons & Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid var(--text-color);
    color: var(--text-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--text-color);
    color: var(--white);
}

/* Glowing Animated Gradient Button */
.btn-glow {
    position: relative;
    color: var(--primary-color);
    background: var(--white);
    border: none;
    padding: 12px 32px;
    z-index: 1;
    overflow: hidden;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end), var(--gradient-start), var(--gradient-end));
    background-size: 300% 300%;
    z-index: -2;
    border-radius: 50px;
    animation: gradientMove 3s ease infinite;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: var(--white);
    border-radius: 50px;
    z-index: -1;
}

.btn-glow:hover {
    box-shadow: 0 0 15px 2px rgba(255, 113, 97, 0.5);
    transform: translateY(-2px);
}

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

.circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
.dark-bg .circle-btn {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}
.dark-bg .circle-btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Header */
.site-header {
    background-color: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.2rem; }
.logo img{
    width: 220px;
    height: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
.main-nav a { color: var(--text-color); text-decoration: none; margin: 0 15px; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: var(--gradient-start); }

/* Hero */
.hero-section { padding: 60px 0; background-color: var(--bg-light); overflow: hidden; }
.hero-title { font-size: 5rem; line-height: 1.1; letter-spacing: normal; margin-bottom: 30px; position: relative; }
.hero-title .small-title{
    display: block;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    color: #666666;
    margin-bottom: 20px;
}.hero-top-info { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; }
.lets-talk { font-weight: 600; display: flex; align-items: center; gap: 10px; font-size: 1.2rem; transition: color 0.3s ease; }
.lets-talk:hover { color: var(--primary-color) !important; }
.lets-talk .arrow { display: inline-block; transition: transform 0.3s ease; }
.lets-talk:hover .arrow { transform: translate(3px, -3px); }
.avatars { display: flex; margin-left: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background-color: #ddd; border: 2px solid var(--white); margin-left: -10px; }
.hero-note { max-width: 400px; font-size: 0.95rem; color: var(--text-light); }
.hero-images { position: relative; height: 500px; width: 100%; }
.main-image { width: 80%; height: 100%; margin: 0 auto; border-radius: 20px; overflow: hidden; }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-floating-card { position: absolute; background: var(--white); padding: 24px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); max-width: 300px; }
.left-card { bottom: 40px; left: 0; }
.left-card h3 { font-size: 1.2rem; margin-bottom: 20px; font-weight: 600; }
.card-action { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid #eee; font-size: 0.85rem; color: var(--text-light); transition: color 0.3s ease; }
.card-action:hover { color: var(--primary-color); }
.card-action .circle-btn { transition: all 0.3s ease; }
.card-action:hover .circle-btn { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); transform: translateX(5px); }
.right-card { top: 40px; right: 5%; background: #2a2a2a; color: var(--white); border-radius: 16px; max-width: 280px; padding: 24px; }
.card-top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.circle-icon { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: rgba(255,255,255,0.7); }

.card-avatars { display: flex; align-items: center; }
.right-card .avatar { border: 2px solid #2a2a2a; width: 36px; height: 36px; margin-left: -10px; border-radius: 50%; }
.right-card .avatar:first-child { margin-left: 0; }
.more-avatar { background: #444; color: var(--white); display: flex; justify-content: center; align-items: center; font-size: 0.75rem; font-weight: 500; width: auto !important; padding: 0 12px; border-radius: 36px !important; text-decoration: none; transition: background 0.3s; white-space: nowrap; }
.more-avatar:hover { background: var(--primary-color); }

.right-card p { font-size: 1.05rem; margin-top: 0; opacity: 0.8; line-height: 1.4; letter-spacing: -0.01em; }
.right-card p strong { color: var(--white); font-weight: 600; opacity: 1; }

/* Stats */
.stats-section { padding: 80px 0; background: var(--white); }
.stats-container { display: flex; gap: 60px; }
.stats-left { flex: 1; }
.stats-left .tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); }
.stats-right { flex: 2; }
.intro-text { font-size: 1.3rem; line-height: 1.5; margin-bottom: 50px; font-family: var(--brand-font); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.stat-item h2 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 400; }
.bar-container { width: 100%; height: 4px; background: #eee; border-radius: 2px; margin-bottom: 15px; }
.bar { height: 100%; background: var(--primary-color); border-radius: 2px; }
.empty-stat h2 { color: var(--text-light); }
.empty-stat .bar { background: #ccc; }
.stat-item p { font-size: 0.8rem; color: var(--text-light); }
.about-link { display: inline-block; color: var(--primary-color); text-decoration: none; font-weight: 500; font-size: 0.9rem; }

/* Services */
.services-section { padding: 100px 0; }
.accordion-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 40px 0; }
.accordion-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.accordion-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; width: 100%; }
.header-left { display: flex; align-items: center; gap: 20px; flex: 1; }
.header-left h3 { font-size: 2.2rem; font-weight: 400; white-space: nowrap; transition: color 0.3s; }
.acc-img-wrapper { height: 100px; overflow: hidden; transition: width 0.4s ease, opacity 0.4s ease, margin 0.4s ease; }
.acc-img-wrapper img { height: 100%; width: auto; border-radius: 12px; display: block; }
.header-right { display: flex; align-items: center; gap: 40px; flex: 1; justify-content: flex-end; }
.service-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.service-tags .tag { padding: 8px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; font-size: 0.8rem; color: var(--secondary-color); opacity: 0.7; cursor: pointer; transition: all 0.3s ease; position: relative; z-index: 5; pointer-events: auto; }
.service-tags .tag:hover { background: var(--white); color: var(--primary-color); opacity: 1; transform: translateY(-2px); }
.icon.circle-btn, .acc-btn { transition: transform 0.4s ease; }

/* --- Work Section (Sticky Stacking) --- */
.work-section {
    padding: 100px 0;
}

.work-container {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 40px;
}

.work-sidebar {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-top {
    /* Holds the top elements */
}

.sidebar-bottom {
    /* Holds bottom elements natively at bottom */
}

.work-title-sticky {
    margin: 0;
}

.asters-bottom-left {
    font-size: 2rem;
    letter-spacing: 5px;
    color: var(--white);
}

.asters-top-right {
    font-size: 2rem;
    letter-spacing: 5px;
    color: var(--white);
    text-align: right;
}

.work-nav-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.work-nav .nav-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    font-weight: 400;
    font-family: var(--body-font);
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px 0;
    position: relative;
}

.work-nav .nav-btn.active { color: var(--white); }
.work-nav .nav-btn.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--white); }

.work-gallery {
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.work-gallery::-webkit-scrollbar {
    display: none;
}

.card-stack {
    height: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    position: relative;
}

.work-mockup {
    background: #1a1a1a;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.phone-mockup { padding-top: 60px; padding-bottom: 60px; }
.laptop-mockup { padding: 40px 20px; }

.work-mockup img { max-width: 100%; max-height: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); object-fit: contain; }
.play-btn-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.play-btn { width: 100px; height: 100px; font-size: 0.9rem; font-weight: 500; background: var(--white); color: var(--primary-color); }

/* Scroll Hint Overlay */
.scroll-hint {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2); color: var(--white);
    padding: 10px 20px; border-radius: 50px;
    display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem; pointer-events: none; transition: opacity 0.4s ease; z-index: 10;
}
.scroll-hint.hidden { opacity: 0; }
.mousey { width: 14px; height: 22px; border: 2px solid var(--white); border-radius: 10px; position: relative; }
.scroller { width: 2px; height: 4px; background: var(--white); border-radius: 2px; position: absolute; left: 50%; transform: translateX(-50%); top: 4px; animation: scrollerAnim 1.5s infinite; }
@keyframes scrollerAnim { 0% { top: 4px; opacity: 1; } 100% { top: 12px; opacity: 0; } }

/* Brands/Blog Section */
.blog-section { padding: 100px 0; background: var(--bg-light); }
.blog-grid-modern { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 30px; }
.blog-card { background: transparent; padding: 0; }
.large-card { grid-column: 1 / 2; grid-row: 1 / 3; }
.large-card .lg-img { height: 400px; }
.horz-card { grid-column: 2 / 4; grid-row: 1 / 2; display: flex; gap: 20px; align-items: center; }
.horz-card .sm-img { width: 250px; flex-shrink: 0; }
.blog-img-wrapper { overflow: hidden; border-radius: 12px; margin-bottom: 20px; }
.horz-card .blog-img-wrapper { margin-bottom: 0; }
.blog-img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-img { height: 180px; }
.blog-date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 10px; display: block; }
.blog-details h4 { font-size: 1.2rem; margin-bottom: 15px; font-weight: 500; }
.blog-details p { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }

/* Reviews Section */
.reviews-section { padding: 80px 0; background: var(--white); }
.reviews-container { display: flex; gap: 60px; align-items: flex-start; }
.reviews-container .section-title { flex: 1; }
.review-content { flex: 2; position: relative; }
.carousel-track { min-height: 220px; position: relative; }
.testimonial-slide { display: none; animation: fadeSlideUp 0.6s ease forwards; }
.testimonial-slide.active { display: block; }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.review-text { font-size: 1.5rem; font-family: var(--brand-font); line-height: 1.6; margin-bottom: 40px; }
.author-info { display: flex; align-items: center; gap: 15px; }
.author-avatar img { width: 50px; height: 50px; border-radius: 50%; }
.author-info strong { display: block; font-size: 1rem; }
.author-info span { font-size: 0.85rem; color: var(--text-light); }

/* --- Footer (Updated Alignment) --- */
.site-footer {
    padding: 100px 0 40px;
}

.footer-top {
    margin-bottom: 60px;
}

.footer-title-line {
    font-size: 5.5rem;
    line-height: 1.1;
    font-family: var(--brand-font);
    font-weight: 500;
}

.footer-form-line {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.lets-talk-text {
    font-size: 5.5rem;
    line-height: 1.1;
    font-family: var(--brand-font);
    font-weight: 500;
}

.contact-form-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

.contact-form-inline input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding: 10px 0;
    color: var(--white);
    outline: none;
    width: 100%;
    max-width: 400px;
    font-family: var(--body-font);
    font-size: 1.2rem;
}

.contact-form-inline input::placeholder {
    color: rgba(255,255,255,0.3);
}

.footer-row-mid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 40px;
}

.footer-mid-left {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Reduced gap between Socials and Menu! */
}

.social-circles {
    display: flex;
    gap: 15px;
}

.bottom-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255,255,255,0.3);
}

.link-line {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.bottom-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
}

.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-row {
    display: flex;
    gap: 60px;
}

.footer-solid-btn {
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 15px 40px;
    font-weight: 600;
    transition: transform 0.2s;
}

.footer-solid-btn:hover {
    transform: translateY(-2px);
}

.contact-item .label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 5px;
}

.contact-item .value {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.footer-cap-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-cap-modern h2 {
    font-size: 2.5rem;
    font-family: var(--brand-font);
}

/* Responsive */
@media (max-width: 1024px) {
    .work-container { display: flex; flex-direction: column; gap: 0; padding-top: 40px; }
    .work-sidebar { height: auto; margin-bottom: 20px; width: 100%; }
    .work-title-sticky, .work-nav-bottom { position: static; margin-top: 0; text-align: left; align-items: flex-start; }
    .asters-top-right, .asters-bottom-left { display: none; } /* Hide sticky asterisks on mobile to prevent overlapping */
    .work-gallery { padding-top: 20px; padding-bottom: 50px; }
    .card-stack { position: static; margin-bottom: 30px; box-shadow: none; filter: none; }
    
    .footer-title-line, .lets-talk-text { font-size: 3.5rem; }
    .footer-row-mid { flex-direction: column; gap: 40px; }
    .contact-row { flex-direction: column; gap: 20px; }
}
@media (max-width: 768px) {
    .footer-form-line { flex-direction: column; align-items: flex-start; }
    .footer-title-line, .lets-talk-text { font-size: 2.5rem; }
    .contact-form-inline input { width: 100%; }
}

/* Enquiry Modal */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 16, 52, 0.8); backdrop-filter: blur(5px);
    display: none; justify-content: center; align-items: center;
    z-index: 1000; opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
    background: var(--white); color: var(--text-color);
    padding: 40px; border-radius: 20px; width: 90%; max-width: 450px;
    position: relative; transform: translateY(20px); transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal {
    position: absolute; top: 20px; right: 20px; background: none; border: none;
    font-size: 1.8rem; cursor: pointer; color: var(--text-light); transition: color 0.3s;
}
.close-modal:hover { color: var(--primary-color); }
.modal-content h3 { font-size: 1.8rem; margin-bottom: 10px; font-family: var(--brand-font); letter-spacing: -0.02em; }
.modal-content p { color: var(--text-light); margin-bottom: 30px; font-size: 0.95rem; }
.enquiry-form .form-group { margin-bottom: 20px; }
.enquiry-form label { display: block; font-size: 0.85rem; margin-bottom: 8px; color: var(--text-light); font-weight: 500; }
.enquiry-form input {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd;
    border-radius: 8px; font-family: var(--body-font); font-size: 1rem;
    outline: none; transition: border-color 0.3s;
}
.enquiry-form input:focus { border-color: var(--primary-color); }
.enquiry-form input[readonly] { background: var(--bg-light); color: var(--primary-color); font-weight: 600; cursor: not-allowed; border-color: transparent; }

