:root {
    /* Colors based on Fabrica and User's Logo */
    --color-primary: #40D0C6; /* Replaced Fabrica Red with Logo Turquoise */
    --color-primary-hover: #35b3aa;
    --color-bg-dark: #0B0D26; /* Deep blue from Fabrica */
    --color-bg-light: #13163D; /* Slightly lighter deep blue */
    --color-text-main: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.h2-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    display: inline-block;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

/* Layout Utilities */
.container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.container-fluid {
    width: 100%;
    padding: 0 40px;
}

.section-padding {
    padding: var(--section-padding);
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #0B0D26;
}

.btn-primary:hover {
    background-color: #ffffff;
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.icon-btn:hover {
    color: var(--color-primary);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 40px;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.play-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-play:hover .play-icon {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #0B0D26;
}

.play-text {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Background Marquee */
.bg-marquee {
    position: fixed;
    top: 30%;
    left: 0;
    width: 100%;
    z-index: 0;
    overflow: hidden;
    opacity: 0.03;
    pointer-events: none;
    white-space: nowrap;
}

.bg-marquee-inner {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 15vw;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 25px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(11, 13, 38, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo img {
    height: 55px;
}

.logo-subtext {
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -5px;
    white-space: nowrap;
}

.footer-logo-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 60px;
}

.footer-logo-subtext {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: -5px;
}

.main-nav .nav-list {
    display: flex;
    gap: 35px;
}

.nav-list a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-dark);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--color-border);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-menu li {
    margin: 0;
}

.nav-dropdown .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-dropdown .dropdown-menu li a::after {
    display: none;
}

.nav-dropdown .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-info-header {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.contact-info-header .label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-header .phone {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 13, 38, 0.95) 0%, rgba(11, 13, 38, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 5.5rem;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.hero-desc {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--color-text-muted);
}

.hero-bottom-text {
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
    max-width: 500px;
}

.hero-bottom-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.hero-badge {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    animation: pulse 4s infinite;
}

.hero-badge svg {
    position: absolute;
    animation: rotate 15s linear infinite;
}

.badge-icon {
    font-size: 1.5rem;
    color: var(--color-text-main);
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(64, 208, 198, 0.2); }
    50% { box-shadow: 0 0 0 20px rgba(64, 208, 198, 0); }
    100% { box-shadow: 0 0 0 0 rgba(64, 208, 198, 0); }
}

/* Services Intro Section */
.services-intro {
    background-color: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    position: relative;
    background-color: var(--color-bg-dark);
    padding: 60px 40px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-desc {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.service-card:hover .service-link {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #0B0D26;
}

.service-bg-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.service-bg-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 13, 38, 0.85);
}

.service-card:hover .service-bg-hover {
    opacity: 1;
}

/* Stats Section */
.stats-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats-image-col {
    position: relative;
    height: 800px;
    overflow: hidden;
}

.parallax-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}

.stats-list {
    margin-top: 40px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-primary);
    line-height: 1;
    min-width: 120px;
}

.stat-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    padding: 30px 0 30px 40px;
    margin-left: 60px;
    border-left: 1px solid var(--color-border);
}

.stat-divider h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.quote-box {
    margin-top: 50px;
    padding: 40px;
    background-color: var(--color-bg-light);
    border-left: 3px solid var(--color-primary);
}

.quote-box p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.team-avatars {
    display: flex;
}

.team-avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-bg-light);
    margin-left: -15px;
}
.team-avatars img:first-child { margin-left: 0; }

/* FAQ Section */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.faq-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 13, 38, 0.95) 0%, rgba(11, 13, 38, 0.8) 100%);
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.faq-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

.accordion-header {
    padding: 25px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.accordion-item.active .accordion-header {
    color: var(--color-primary);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--color-text-muted);
}

.accordion-item.active .accordion-content {
    padding-bottom: 25px;
    max-height: 200px;
}

/* Blog Section */
.blog-section {
    background-color: var(--color-bg-light);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--color-bg-dark);
}

.blog-img-wrap {
    overflow: hidden;
}

.blog-img-wrap img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.05);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.5rem;
}

.blog-title a:hover {
    color: var(--color-primary);
}

/* Products Section */
.products-section {
    background-color: var(--color-bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
}

.product-img-wrap {
    overflow: hidden;
    height: 250px;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-content {
    padding: 30px;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-desc {
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    background-color: #080a1c;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--color-primary);
    font-size: 2rem;
    letter-spacing: 2px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: #0B0D26;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--color-text-muted);
}

.footer-links ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--color-text-muted);
}

.footer-contact ul li i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-contact ul li a {
    color: var(--color-text-muted);
}

.footer-contact ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a:hover {
    color: var(--color-primary);
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(64, 208, 198, 0.5);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .h2-title { font-size: 2.8rem; }
    .hero-title { font-size: 4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .services-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-wrapper, .faq-container { grid-template-columns: 1fr; }
    .stats-image-col { height: 400px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-list {
        display: none; /* Add active class later for mobile menu */
    }
    .contact-info-header { display: none; }
    .menu-toggle { display: block; }
    .hero-title { font-size: 3rem; }
    .hero-desc { font-size: 1.5rem; }
    .services-grid, .blog-grid, .products-grid { grid-template-columns: 1fr; }
    .hero-badge { display: none; }
    .stat-divider { margin-left: 20px; padding-left: 20px; }
    .footer-bottom { flex-direction: column; align-items: center; gap: 15px; }
}
