/* Font Declarations */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300&display=swap');

/* Sackers Gothic font-face declarations specifically for hero section */
@font-face {
    font-family: 'Sackers Gothic';
    src: url('assets/fonts/sackers-gothic-light-at.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sackers Gothic';
    src: url('assets/fonts/sackers-gothic-std.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sackers Gothic';
    src: url('assets/fonts/sackers-gothic-std-heavy.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Global Styles */
:root {
    --primary-color: rgb(0, 0, 0);
    --secondary-color: #1a1a1a;
    --accent-color: #0E2641;
    --accent-hover: #0A1C2E;
    --text-color: #1a1a1a;
    --light-text: #4a4a4a;
    --background-color: #FFFFFF;
    --section-bg: rgb(0, 0, 0);
    --card-bg: #FFFFFF;
    --border-color: #E2E8F0;
    --gradient-start: #000000;
    --gradient-end: #0E2641;
}

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

html {
    scroll-behavior: auto; /* Set to auto by default, JS will enable smooth scrolling when needed */
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overscroll-behavior-y: none;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    min-height: 100%;
    position: relative;
    overscroll-behavior-y: none;
}

/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
    /* Position and scroll handling managed by JavaScript */
}

h1, h2, h3, h4, h5, h6,
.navbar, .nav-links, .logo, .cta-button, .login-button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-weight: 200;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-color);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: background-color, box-shadow;
    transform: translateZ(0);
}

.navbar.scrolled {
    background: var(--primary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    padding: 0;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
    filter: invert(1) brightness(100) contrast(100);
    display: block;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 300;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-trigger::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-trigger::after {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    background: var(--primary-color);
    min-width: 280px;
    max-width: 950px; /* Increased max-width to fit description in one line */
    width: auto;
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    will-change: opacity, visibility, transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-origin: top center;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    display: flex; /* Make the dropdown content a flex container */
    flex-direction: row; /* Arrange children horizontally */
    flex-wrap: nowrap; /* Prevent wrapping */
    align-items: flex-start;
    justify-content: center;
}

/* Create columns for each role category */
.dropdown-role-column {
    display: flex;
    flex-direction: column;
    min-width: 280px; /* Increased min-width for columns */
    padding: 0 10px;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dropdown-role-column:last-child {
    border-right: none;
}

.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--primary-color);
}

.dropdown-content a {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 1.5rem;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    height: auto;
    width: 100%;
    text-decoration: none;
    border-left: 2px solid transparent;
}

.dropdown-content a .product-name,
.dropdown-content a .product-description {
    display: block;
    width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.dropdown-content a .product-name {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: white;
    font-size: 0.95rem;
    order: 1; /* Ensure name appears first */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-content a .product-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    white-space: normal;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
    order: 2; /* Ensure description appears second */
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #F4D09E;
}

.dropdown-content a:hover .product-name {
    color: #F4D09E;
}

.dropdown-category {
    color: #F4D09E;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    display: block;
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    cursor: default;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-category:hover {
    background-color: transparent;
    color: #F4D09E;
}

.dropdown-category:first-child {
    margin-top: 0;
}

.dropdown-content a {
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    border-left-color: #F4D09E;
}

/* Responsive adjustments for the dropdown */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        height: calc(100vh - 70px);
        overflow-y: auto;
        transform: none;
        text-align: left;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        margin-bottom: 2rem;
        z-index: 1000;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
        border: none;
        display: none;
        flex-direction: column;
        padding: 0;
        padding-bottom: 3rem;
        margin: 0;
    }
    
    .dropdown.active .dropdown-content {
        max-height: 500px;
        display: flex;
        padding: 0;
    }

    .dropdown-content::before {
        display: none;
    }
    
    .dropdown-trigger::after {
        margin-left: auto;
        padding-left: 1rem;
    }

    .dropdown-role-column {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 0;
    }
    
    .dropdown-role-column:last-child {
        border-bottom: none;
    }
    
    .dropdown-category {
        text-align: left;
        padding: 0.5rem 2rem;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-content a {
        padding: 0.8rem 2.5rem;
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-content a .product-name {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
        order: 1;
    }
    
    .dropdown-content a .product-description {
        font-size: 0.8rem;
        white-space: normal;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-width: 100%;
        order: 2;
    }

    .nav-right {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .login-button {
        width: 100%;
        text-align: center;
    }

    .hero h1,
    .hero h1 .flex-row {
        font-size: 2.8rem;
    }
    
    .hero h1 .animated-text {
        min-width: 300px;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    section {
        min-height: auto;
        padding: 4rem 1rem;
    }

    section h2 {
        font-size: 2.5rem;
    }
    
    .hero .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .hero .cta-button {
        width: 80%;
        max-width: 300px;
    }
    
    /* Contact Form Mobile Improvements */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .contact-form button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Contact Info Items */
    .info-item {
        padding: 1.5rem;
    }
    
    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .info-item h4 {
        font-size: 1rem;
    }
    
    .info-item p {
        font-size: 0.9rem;
    }
    
    /* Footer Improvements */
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .empty-category-message {
        padding: 0.8rem 2.5rem;
        opacity: 0.7;
    }
}

@media (max-width: 576px) {
    .about-content {
        padding: 0 1rem;
    }
    
    .team-member {
        padding: 1.2rem;
        max-width: 100%;
    }
    
    .team-member-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .avatar {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
        margin-bottom: 0;
    }
    
    .avatar-placeholder {
        font-size: 1.4rem;
    }
    
    .member-info {
        text-align: left;
    }
    
    .member-info h4 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .member-info .title {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .member-info .education {
        font-size: 0.8rem;
    }
    
    .hero h1, 
    .hero h1 .flex-row {
        font-size: 2.3rem;
    }
    
    .hero h1 .animated-text {
        min-width: 220px;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    color: white;
    /* Remove scroll-snap properties */
    margin-top: 0;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(14, 38, 65, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Remove all particle animation related styles */

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0 5%;
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: white;
    letter-spacing: 0.05em;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.hero h1 .flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 4.2rem;
    height: 1.4em;
    line-height: 1.4em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.hero h1 .flex-row > div {
    height: 100%;
    display: flex;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.hero h1 .animated-text {
    display: inline-flex;
    position: relative;
    min-width: 400px;
    height: 100%;
    text-align: left;
    font-weight: 300;
    margin: 0;
    font-size: inherit;
    overflow: visible;
    align-items: center;
    cursor: default;
    user-select: none;
    touch-action: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.hero h1 .animated-text span {
    position: absolute;
    left: 0;
    width: auto;
    min-width: 100%;
    opacity: 0;
    animation: textFade 9s infinite;
    white-space: nowrap;
    font-weight: 300;
    text-transform: none;
    text-align: left;
    font-size: inherit;
    line-height: inherit;
    height: 100%;
    display: flex;
    align-items: center;
    color: #F4D09E;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize line animation */
.hero h1 .animated-text span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 10px;
    height: 4px;
    width: 0;
    background-color: #F4D09E;
    animation: none;
    opacity: 0;
    will-change: width, opacity;
    transform: translateZ(0);
}

/* Optimize text fade animation */
@keyframes textFade {
    0%, 3% {
        opacity: 0;
        transform: translate3d(0, 15px, 0);
    }
    8%, 32% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    37%, 100% {
        opacity: 0;
        transform: translate3d(0, -15px, 0);
    }
}

/* Optimize line grow animation */
@keyframes lineGrow {
    0%, 3% {
        width: 0;
        opacity: 0;
    }
    5%, 8% {
        width: 0;
        opacity: 1;
    }
    28% {
        width: var(--text-width, 100%);
        opacity: 1;
    }
    32%, 100% {
        width: 0;
        opacity: 0;
    }
}

.hero h1 .animated-text span:hover {
    text-shadow: none;
}

.hero p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero .cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.hero .cta-button {
    min-width: 180px;
    text-align: center;
    padding: 0.5rem 2rem;
    margin: 0 auto;
    height: 38px;
    background: rgba(14, 38, 65, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, background-color, box-shadow;
    transform: translateZ(0);
}

.hero .cta-button:hover {
    background: rgba(14, 38, 65, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 0.5rem 2rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    height: 38px; /* Match feature-toggle-btn height */
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 38, 65, 0.2);
    color: #F4D09E;
}

/* Sections */
section {
    min-height: auto;
    padding: 0 5%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Remove scroll-snap properties */
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 200;
    margin-bottom: 3rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    padding-top: 2rem;
}

/* About Section */
/* Note: About section now uses products-section class for consistent styling and background */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-size: 2.2rem;
    font-weight: 200;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-text h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
}

.team-members {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-top: 1rem;
}

.team-member {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    flex: 1;
    max-width: 300px;
    text-align: center;
}

/* Remove hover effect */
.team-member:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.team-member-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(14, 38, 65, 0.2);
    overflow: hidden;
    border: 3px solid rgba(244, 208, 158, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

/* Remove hover effect for avatar */
.team-member:hover .avatar {
    transform: none;
    border-color: rgba(244, 208, 158, 0.3);
}

.avatar-placeholder {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    user-select: none;
}

.member-info {
    flex: 1;
    width: 100%;
}

.member-info h4 {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.member-info .title {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.member-info .education {
    color: var(--light-text);
    font-size: 0.85rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.about-image {
    position: relative;
    align-self: center;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.image-caption {
    text-align: center;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 992px) {
    .about-text {
        margin-bottom: 3rem;
    }
    
    .team-members {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .team-member {
        width: 100%;
        max-width: 300px;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-content {
        padding: 0 1rem;
    }
    
    .team-member {
        padding: 1.2rem;
        max-width: 100%;
    }
    
    .avatar {
        width: 70px;
        height: 70px;
    }
    
    .avatar-placeholder {
        font-size: 1.6rem;
    }
    
    .member-info h4 {
        font-size: 1rem;
    }
    
    .member-info .title {
        font-size: 0.85rem;
    }
    
    .member-info .education {
        font-size: 0.8rem;
    }
}

/* Services Section */
.services {
    background-color: rgb(0, 0, 0);
    color: white;
}

.services h2 {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(14, 38, 65, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 38, 65, 0.1);
}

.service-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.service-card p {
    color: var(--light-text);
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}



.products-group label.product-name::after {
    content: none;
}

/* Error message */
.error-message {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
    position: absolute;
    bottom: -1.5rem;
    left: auto;
    right: 0;
    text-align: right;
    z-index: 5;
}

.form-group.has-error .error-message {
    display: block;
}

/* Style specifically for email error message */
#email + .error-message,
.form-group:has(#email) .error-message {
    right: 0;
    left: auto;
    text-align: right;
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Empty field indicator */
.form-group.empty:not(:focus-within) input,
.form-group.empty:not(:focus-within) textarea,
.form-group.empty:not(:focus-within) select {
    border-color: rgba(255, 68, 68, 0.5);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* Ensure the form elements have proper spacing */
.contact-form > .form-group {
    margin-bottom: 1.5rem;
}

.contact-form button {
    margin-top: 2rem;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    padding: 0.5rem 2rem;
    z-index: 1;
    height: 38px;
    font-size: 0.95rem;
    border-radius: 50px;
    background-color: var(--accent-color);
    color: white;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-form button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 38, 65, 0.2);
    color: #F4D09E;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    text-decoration: none;
    cursor: pointer;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #F4D09E;
    background: rgba(255, 255, 255, 0.05);
}

.info-item:active {
    transform: translateY(-2px);
}

.info-item i {
    font-size: 1.8rem;
    color: #F4D09E;
    background: rgba(244, 208, 158, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: #F4D09E;
    color: var(--primary-color);
    transform: scale(1.1);
}

.info-item div {
    flex: 1;
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 300;
    color: white;
    margin-bottom: 0.3rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.info-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .info-item {
        padding: 1.5rem;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 5% 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Remove scroll-snap properties */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 300;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

/* Remove line animation from footer links */
.footer-section a::after {
    content: none;
    display: none;
}

.footer-section a:hover::after {
    width: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover .fa-linkedin {
    color: #0077b5;
}

.social-links a:hover .fa-whatsapp {
    color: #25D366;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1,
    .hero h1 .flex-row {
        font-size: 3.6rem;
    }
}

.nav-links a:hover {
    color: #F4D09E;
}

.contact-form select {
    width: 100%;
    padding: 1.2rem 2.5rem 1.2rem 1.2rem; /* Increase right padding for the arrow */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    appearance: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    text-overflow: ellipsis; /* Add text overflow handling */
    white-space: nowrap; /* Prevent text wrapping */
}

.contact-form select:focus {
    outline: none;
    border-color: #F4D09E;
    box-shadow: 0 0 0 4px rgba(244, 208, 158, 0.1);
    color: white;
}

.contact-form select option {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    font-size: 1rem;
}

.form-group select:focus ~ label,
.form-group select:not([value=""]):valid ~ label {
    top: 0;
    left: 0;
    transform: translateY(-25px) scale(0.8);
    background: var(--primary-color);
    padding: 0 8px;
    color: #F4D09E;
    border-radius: 4px;
    z-index: 2;
}

.form-group select {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    height: auto; /* Changed from fixed height to auto */
    min-height: 3.4rem; /* Use min-height instead of height */
    line-height: 1.2; /* Add line-height to prevent text being cut off */
}

.form-group select:valid {
    color: white;
    padding-top: 1.4rem; /* Increase top padding when selected */
    padding-bottom: 1rem; /* Decrease bottom padding to balance */
}

.form-group select option {
    padding: 0.8rem; /* Adjust option padding */
    line-height: 1.4; /* Add line-height to options */
}

.products-group {
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: none;
}

/* Style the products container like product-toggle-container */
#products-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 0 auto;
    max-width: fit-content;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    border-radius: 30px;
}

/* Style the checkbox items like product-toggle-btn */
.products-group .checkbox-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transform-style: flat;
    perspective: none;
}

.products-group .checkbox-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Style the checked state */
.products-group .checkbox-item input[type="checkbox"]:checked + label.product-name {
    color: var(--primary-color);
    font-weight: 500;
}

.products-group .checkbox-item input[type="checkbox"]:checked {
    background: #F4D09E;
    border-color: #F4D09E;
}

.products-group .checkbox-item:has(input[type="checkbox"]:checked) {
    background-color: #F4D09E;
    color: var(--primary-color);
    border-color: #F4D09E;
    font-weight: 500;
}

.products-group .checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    opacity: 0;
    position: absolute;
}

.products-group .checkbox-item label.product-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    opacity: 1;
    background: none;
    -webkit-text-fill-color: currentColor;
}

/* Media queries to ensure responsiveness */
@media (max-width: 992px) {
    #products-container,
    .checkbox-container {
        max-width: fit-content;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    #products-container,
    .checkbox-container {
        max-width: fit-content;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .products-group .checkbox-item,
    #products-container .checkbox-item {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        min-width: unset;
    }
}

/* Remove these animations */
.products-group::before,
.products-group::after,
.products-group:hover::before,
.products-group:hover::after,
.products-group:hover #products-heading::after {
    content: none;
    display: none;
    opacity: 0;
    background: none;
}

.products-group:hover #products-heading::after {
    width: 100%;
}

.products-group:hover #products-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #F4D09E, transparent);
    transition: width 0.3s ease;
}

.products-group:hover #products-heading::after {
    width: 100%;
}

.products-group .checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    display: none;
}

.products-group .checkbox-item label.product-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(90deg, #fff, #F4D09E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.85;
}

.products-group .checkbox-item:hover label.product-name {
    opacity: 1;
    transform: scale(1.05);
}

/* Products Section */
.products-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    transition: min-height 0.3s ease-out;
}

.role-section {
    margin-bottom: 0;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.role-section:last-child {
    margin-bottom: 0;
}

.role-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 2.5rem;
    margin-bottom: 1rem;
    padding: 1rem 0 0 0;
}

.role-title:empty {
    margin: 0;
    padding: 0;
    min-height: 0;
}

.role-title a {
    color: white;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s ease;
}

.role-title a:hover {
    color: #F4D09E;
}

.role-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #F4D09E;
    border-radius: 3px;
    display: none;
}

.role-tagline {
    font-size: 1.2rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
    font-weight: 300;
}

.products-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Hide role headers in products-content */
.products-content .role-header {
    display: none;
}

/* Add spacing between role sections without headers */
.products-content .role-section {
    margin-bottom: 4rem;
}

.products-content .role-section:last-child {
    margin-bottom: 1rem;
}

.role-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.role-intro p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--light-text);
}

.role-products {
    margin-bottom: 5rem;
}

.role-products:last-child {
    margin-bottom: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(14, 38, 65, 0.2);
}

.product-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-title {
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    font-weight: 500;
    color: var(--text-color);
}

.product-description {
    font-size: 1rem;
    color: var(--light-text);
    line-height: 1.5;
    margin: 0;
}

.product-body {
    padding: 1.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-features {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.product-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--light-text);
}

.product-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1rem;
}

.product-features li:last-child {
    margin-bottom: 0;
}

.product-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
}

.product-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 8px rgba(14, 38, 65, 0.2);
}

.product-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(14, 38, 65, 0.3);
    color: #F4D09E;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-item {
        min-height: 100%;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 4rem 0;
    }
    
    .role-title {
        font-size: 1.75rem;
        padding-left: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-item {
        max-width: 100%;
    }
}


.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 100%);
    opacity: 0.4;
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(14, 38, 65, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 38, 65, 0.1);
}

.product-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.product-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-link:hover {
    gap: 1rem;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}



.dropdown-category {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #F4D09E;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.8rem;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-category:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #F4D09E;
}

.dropdown-category:first-child {
    margin-top: 0;
}

.dropdown-content a {
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    border-left-color: #F4D09E;
}

@media (max-width: 1200px) {
    .team-members {
        gap: 1.5rem;
    }
    
    .team-member {
        max-width: 350px;
    }
}

@media (max-width: 992px) {
    .team-members {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .team-member {
        width: 100%;
        max-width: 500px;
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-content {
        padding: 0 1rem;
    }
    
    .team-member {
        padding: 1.2rem;
        max-width: 100%;
    }
    
    .avatar {
        width: 70px;
        height: 70px;
    }
    
    .avatar-placeholder {
        font-size: 1.6rem;
    }
    
    .member-info h4 {
        font-size: 1.2rem;
    }
    
    .member-info .title {
        font-size: 0.85rem;
    }
    
    .member-info .education {
        font-size: 0.8rem;
    }
}

/* Remove the dropdown product container and share button styles */
.dropdown-product-container,
.dropdown-product-link,
.dropdown-share-btn {
    display: none !important;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    width: 100%;
    max-width: 1500px;
    align-items: center;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 1rem;
}

.hero-text h1 {
    text-align: left;
    align-items: flex-start;
}

.hero-text .flex-row {
    justify-content: flex-start;
}

.hero-text .cta-buttons {
    justify-content: flex-start;
}

/* Stats Styling */
.hero-stats {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(14, 38, 65, 0.2) inset,
        0 0 15px rgba(255, 255, 255, 0.08) inset,
        0 5px 15px rgba(244, 208, 158, 0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(2deg) translateZ(0);
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-stats:hover {
    transform: perspective(1000px) rotateX(0deg) translateZ(10px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(14, 38, 65, 0.25) inset,
        0 0 15px rgba(255, 255, 255, 0.1) inset,
        0 8px 20px rgba(244, 208, 158, 0.08);
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    opacity: 0.7;
    pointer-events: none;
    transform: translateZ(20px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    align-items: center; /* Center content horizontally */
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 200;
    color: #F4D09E;
    line-height: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.stat-text {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    white-space: normal; /* Allow wrapping */
    overflow: visible; /* Remove ellipsis */
    text-overflow: unset;
    min-width: unset; /* Remove fixed min-width */
    text-align: center; /* Center text */
}

.separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    width: 100%;
    margin: 0.75rem 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        text-align: center;
        align-items: center;
    }
    
    .hero-text h1 {
        text-align: center;
        align-items: center;
    }
    
    .hero-text .flex-row {
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
}

/* Add back dragging and transitioning classes */
.hero h1 .animated-text.dragging {
    cursor: default;
}

.hero h1 .animated-text.dragging span {
    animation: none;
}

.hero h1 .animated-text.transitioning span {
    animation: none;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Add back text fade animation keyframes */
@keyframes textFade {
    0%, 3% {
        opacity: 0;
        transform: translateY(15px);
    }
    8%, 32% {
        opacity: 1;
        transform: translateY(0);
    }
    37%, 100% {
        opacity: 0;
        transform: translateY(-15px);
    }
}

/* Add back the animation delays */
.hero h1 .animated-text span:nth-child(1) {
    animation-delay: 0s;
}

.hero h1 .animated-text span:nth-child(2) {
    animation-delay: 3s;
}

.hero h1 .animated-text span:nth-child(3) {
    animation-delay: 6s;
}

/* Login Button */
.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.login-button {
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 300;
    font-size: 0.95rem;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, background-color, box-shadow;
    transform: translateZ(0);
}

.login-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 38, 65, 0.3);
    color: #F4D09E;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
}

.empty-category-message {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.02) !important;
    border-left: 2px solid rgba(244, 208, 158, 0.3) !important;
}

.empty-category-message .product-name {
    color: rgba(244, 208, 158, 0.8) !important;
    font-style: italic;
}

.empty-category-message .product-description {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6) !important;
}

.empty-category-message:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    cursor: default;
}

/* Pricing Section */
.pricing {
    padding: 0;
    background-color: var(--primary-color);
    color: white;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.pricing h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #F4D09E;
    border-radius: 3px;
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.pricing-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    width: 320px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: rgba(244, 208, 158, 0.5);
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 0;
    background: #F4D09E;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 15px 0 0 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.pricing-card-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card-header h3 {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.pricing-card .currency {
    font-size: 1.5rem;
    margin-right: 0.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card .amount {
    font-size: 2.8rem;
    color: #F4D09E;
}

.pricing-card .period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.3rem;
    font-weight: 400;
}

.pricing-card .custom-price {
    font-size: 2rem;
    font-weight: 600;
    color: #F4D09E;
    text-align: center;
    width: 100%;
    display: block;
}

.pricing-card-body {
    padding: 2rem;
    flex-grow: 1;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list li i {
    color: #F4D09E;
    margin-right: 0.8rem;
}

.pricing-card-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.pricing-button {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid #F4D09E;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.pricing-button:hover {
    background: #F4D09E;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 208, 158, 0.3);
}

.pricing-card.featured .pricing-button {
    background: #F4D09E;
    color: var(--primary-color);
}

.pricing-card.featured .pricing-button:hover {
    background: #f7dbb8;
}

/* Responsive adjustments for pricing section */
@media (max-width: 1024px) {
    .pricing-cards {
        gap: 2rem;
    }
    
    .pricing-card {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 350px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Help Section */
.help {
    padding: 0;
    background-color: rgb(0, 0, 0);
    color: white;
    transition: min-height 0.3s ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.help h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.help h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.help-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.help-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem; /* Reduced from 4rem to 2rem */
    width: 100%;
}

.help-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.faq-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem; /* Reduced from 5rem to 3rem */
    width: 100%;
}

.faq-column {
    flex: 1;
    min-width: 300px;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    padding-right: 1rem;
    color: white;
    flex: 1;
}

.faq-toggle {
    min-width: 30px;
    min-height: 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(244, 208, 158, 0.15);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.faq-toggle i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #F4D09E;
    font-size: 1.1rem;
}

.faq-item.active .faq-toggle {
    background-color: rgba(244, 208, 158, 0.25);
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
    color: #F4D09E;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-in-out, opacity 0.2s ease-in-out, padding 0.3s ease-in-out;
    padding: 0 1.2rem;
    box-sizing: border-box;
    opacity: 0;
}

.faq-answer p {
    margin-bottom: 0;
    line-height: 1.7;
    transition: transform 0.3s ease;
    transform: translateY(-8px);
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding-bottom: 1.2rem;
}

.faq-item.active .faq-answer p {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
        gap: 0;
    }
    
    .faq-column {
        width: 100%;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.8rem;
    }
    
    .faq-toggle {
        min-width: 26px;
        min-height: 26px;
        width: 26px;
        height: 26px;
    }
    
    .faq-toggle i {
        font-size: 1rem;
    }
}

.product-item.highlighted {
    border-color: #F4D09E;
    box-shadow: 0 10px 30px rgba(244, 208, 158, 0.1);
}

.product-long-description {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.centered-heading {
    text-align: center;
    margin: 0 auto 4rem;
}

.media-placeholder {
    width: 100%;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.products-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
}

.products-section h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #F4D09E;
    border-radius: 3px;
}

.role-tagline {
    font-size: 1.2rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
    font-weight: 300;
}

.role-products-showcase {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    background-color: transparent;
    border-radius: 0;
}

.product-media-container {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-media-container img,
.product-media-container video {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-description-container {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.product-role-name {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: white;
}

.product-role-description {
    margin-bottom: 2rem;
}

.product-role-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.product-cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(14, 38, 65, 0.2);
    text-align: center;
    font-size: 1.1rem;
}

.product-cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 38, 65, 0.3);
    color: #F4D09E;
}

/* Responsive styles for the new layout */
@media (max-width: 992px) {
    .role-products-showcase {
        flex-direction: column;
    }
    
    .product-media-container {
        min-height: 300px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .role-header {
        padding: 2rem 2rem 1rem;
    }
    
    .product-media-container,
    .product-description-container {
        padding: 2rem;
    }
    
    .product-role-name {
        font-size: 1.5rem;
    }
    
    .role-tagline {
        font-size: 1.1rem;
    }
}

/* Remove duplicate dropdown-category styles here */
/* Add back the linear gradients */
[style*="linear-gradient"],
[style*="radial-gradient"],
[class*="gradient"],
.gradient {
    background: rgb(0, 0, 0) !important;
    background-image: none !important;
}

.role-title a {
    color: white;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.role-title a:hover {
    color: #F4D09E;
}

.products-list {
    padding: 2rem 3rem 5rem;
}

.product-name {
    color: white;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    flex: 1;
    position: relative;
}

/* Contact Section */
.contact {
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
    z-index: 1;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.8rem;
    font-weight: 300;
    color: white;
    position: relative;
    opacity: 0.9;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #F4D09E;
    border-radius: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #F4D09E;
    box-shadow: 0 0 0 4px rgba(244, 208, 158, 0.1);
    color: white;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: left;
}

.form-group textarea ~ label {
    top: 1.2rem;
    transform: none;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    left: 0.8rem;
    transform: translateY(-50%) scale(0.8);
    background: var(--primary-color);
    padding: 0 8px;
    color: #F4D09E;
    border-radius: 4px;
    z-index: 2;
    text-align: left;
}

/* Products group specific styles */
.products-group {
    margin-top: 2rem;
}

/* Override conflicting styles with checkbox.css */
.products-group .checkbox-item,
#products-container .checkbox-item {
    /* Let checkbox.css handle these styles */
    display: flex;
    align-items: center;
}

.products-group .checkbox-item input[type="checkbox"],
#products-container .checkbox-item input[type="checkbox"] {
    /* Let checkbox.css handle these styles */
    position: static;
    width: 20px;
    height: 20px;
    opacity: 1; 
    margin-right: 10px;
}

.products-group .checkbox-item label.product-name,
#products-container .checkbox-item label.product-name {
    /* Let checkbox.css handle these styles */
    text-align: left;
    position: static;
    transform: none;
    display: inline-block;
    vertical-align: middle;
}

/* Remove these specific animation styles for products-heading */
.products-group:hover #products-heading::after {
    content: none;
    width: 0;
    background: none;
    display: none;
}

/* Set any previous #products-heading::after styles to none */
#products-heading::after {
    content: none;
    display: none;
    background: none;
    height: 0;
    width: 0;
}

/* Override any remaining conflicting styles */
#products-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 0 auto;
    max-width: fit-content;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    border-radius: 30px;
}

/* Remove specific overrides that may conflict with checkbox.css */
.products-group .checkbox-item input[type="checkbox"],
#products-container .checkbox-item input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    pointer-events: none;
}

.products-group .checkbox-item,
#products-container .checkbox-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transform-style: flat;
    perspective: none;
}

.products-group .checkbox-item:hover,
#products-container .checkbox-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.products-group .checkbox-item.checked,
#products-container .checkbox-item.checked,
.products-group .checkbox-item:has(input[type="checkbox"]:checked),
#products-container .checkbox-item:has(input[type="checkbox"]:checked) {
    background-color: #F4D09E;
    color: var(--primary-color);
    border-color: #F4D09E;
    font-weight: 500;
}

.products-group .checkbox-item label.product-name,
#products-container .checkbox-item label.product-name {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    user-select: none;
    width: auto;
    display: inline-block;
    opacity: 1;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.products-group .checkbox-item.checked label.product-name,
#products-container .checkbox-item.checked label.product-name,
.products-group .checkbox-item:has(input[type="checkbox"]:checked) label.product-name,
#products-container .checkbox-item:has(input[type="checkbox"]:checked) label.product-name {
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 992px) {
    #products-container,
    .checkbox-container {
        max-width: fit-content;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    #products-container,
    .checkbox-container {
        max-width: fit-content;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .products-group .checkbox-item,
    #products-container .checkbox-item {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        min-width: unset;
    }
}

/* Contact links in footer */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0;
}

.contact-link i {
    font-size: 1.1rem;
    color: #F4D09E;
    width: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-link:hover i {
    color: #fff;
}

@media (max-width: 768px) {
    .contact-links {
        align-items: center;
    }
    
    .contact-link {
        justify-content: center;
    }
}

/* Remove any possible line animation from contact links */
.contact-link::after,
.contact-links a::after {
    content: none;
    display: none;
}

.contact-link:hover::after,
.contact-links a:hover::after {
    width: 0;
}

/* Hide products heading */
#products-heading {
    display: none !important;
}

/* Ensure no line animations appear below since heading is now removed */
#products-heading::after,
.products-group:hover #products-heading::after {
    content: none !important;
    display: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}

/* Adjust products-group top margin now that heading is gone */
.products-group {
    margin-top: 0;
}

/* Make sure checkbox-container is visible and has appropriate spacing */
.checkbox-container {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Ensure products-group has appropriate display and spacing */
.products-group {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: block;
}

/* Ensure product container is visible */
#products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    min-height: 40px;
}

/* Styles for the new contact message section */
.contact-message {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-message h3 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #F4D09E;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.contact-message h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #F4D09E;
    border-radius: 50px;
}

.contact-message p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

.contact-highlight {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-highlight:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.contact-highlight i {
    font-size: 1.5rem;
    color: #F4D09E;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-highlight p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive styles for the contact section */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form, .contact-message {
        padding: 2rem;
    }
    
    .contact-message h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .contact-highlight {
        padding: 0.8rem;
    }
    
    .contact-highlight i {
        font-size: 1.2rem;
    }
    
    .contact-message p, .contact-highlight p {
        font-size: 0.9rem;
    }
}

/* Update select label positioning */
.form-group select ~ label {
    top: 1.2rem;
    transform: none;
}

.form-group select:focus ~ label,
.form-group select:not([value=""]):valid ~ label {
    top: 0;
    left: 0.8rem;
    transform: translateY(-50%) scale(0.8);
    background: var(--primary-color);
    padding: 0 8px;
    color: #F4D09E;
    border-radius: 4px;
    z-index: 2;
}

/* Specific styling for email error message */
#email-error {
    position: absolute;
    bottom: -1.5rem;
    right: 0;
    left: auto;
    text-align: right;
    background: rgba(17, 17, 17, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    z-index: 10;
    color: #ff6666;
    white-space: nowrap;
}

/* Ensure proper spacing between form groups to accommodate error messages */
.form-group {
    position: relative;
    margin-bottom: 2rem; /* Increased from 1.5rem to make room for error messages */
}

/* Button container for right alignment */
.button-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 1rem;
}

/* Update contact highlight styles without icons */
.contact-highlight {
    margin-bottom: 1.2rem;
    padding-left: 0;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-highlight:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-highlight p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #eee;
}

/* Ensure the content is full width without icons */
.contact-message .contact-highlight {
    display: block;
}

/* Success and error popups */
.success-popup,
.error-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.success-popup-content,
.error-popup-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease;
}

.success-popup-content i,
.error-popup-content i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-popup-content i {
    color: #2ecc71;
}

.error-popup-content i {
    color: #e74c3c;
}

.success-popup-content h3,
.error-popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.success-popup-content p,
.error-popup-content p {
    margin-bottom: 25px;
    color: #666;
}

.close-popup {
    background-color: #1E232E;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background-color: #F4D09E;
    color: #1E232E;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button states */
.cta-button.success {
    background-color: #2ecc71;
}

.cta-button.error {
    background-color: #e74c3c;
}

/* Form responsiveness */
@media (max-width: 768px) {
    .success-popup-content,
    .error-popup-content {
        padding: 30px 20px;
        width: 85%;
    }
}

/* Comprehensive Mobile Responsiveness */

/* Mobile viewport meta tag - Add this in the HTML head if not already present */

/* Basic mobile adjustments */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Enhanced mobile navigation */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .nav-list {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-list.active {
        right: 0;
    }

    .nav-list li {
        margin: 1rem 0;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Mobile hero section */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 5rem 1rem 3rem;
        overflow: hidden;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        width: 100%;
        padding: 0;
    }
}

/* Mobile section styling */
@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .section-description {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
    }
}

/* Mobile product cards */
@media (max-width: 768px) {
    .product-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-card h3 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile pricing section */
@media (max-width: 768px) {
    .pricing-cards {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile FAQ section */
@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
    }

    .faq-column {
        width: 100%;
    }

    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 2.5rem;
    }
}

/* Mobile contact form improvements */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form, 
    .contact-message {
        width: 100%;
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    #email-error {
        font-size: 0.7rem;
        white-space: normal;
        max-width: 100%;
        text-align: right;
    }

    .button-container {
        margin-top: 0.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero {
        padding: 4.5rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero h1 .animated-text {
        min-width: 70px;
    }
    
    .hero h1 .animated-text span {
        font-size: 1.9rem;
    }
    
    .hero h1 .flex-row {
        margin-top: 5px;
        gap: 8px;
    }
    
    .hero h1 .flex-row > span {
        font-size: 1.9rem;
    }
    
    .stat-number {
        font-size: 1.9rem;
    }
    
    .stat-text {
        font-size: 0.8rem;
    }
}

/* Additional fixes for iPhone devices */
@media (max-width: 390px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 2.5rem 1rem;
    }

    .product-card {
        padding: 1.2rem;
    }

    contact-form, 
    .contact-message {
        padding: 1.2rem;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .navbar {
        padding: 0.5rem 1.5rem;
    }

    .nav-list {
        height: 100vh;
        padding-top: 1rem;
    }

    .nav-list li {
        margin: 0.5rem 0;
    }
}

/* Ensure form inputs are touch-friendly */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    select,
    textarea,
    button {
        font-size: 16px !important; /* Prevents zooming on iOS */
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 1rem 0.8rem;
    }

    .checkbox-item {
        min-height: 44px; /* Touch target size */
    }
}

/* Fix popup on mobile */
@media (max-width: 768px) {
    .success-popup-content,
    .error-popup-content {
        width: 90%;
        padding: 2rem 1.5rem;
    }

    .success-popup-content i,
    .error-popup-content i {
        font-size: 3rem;
    }

    .success-popup-content h3,
    .error-popup-content h3 {
        font-size: 1.5rem;
    }

    .close-popup {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Mobile navigation styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-right {
        display: none;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: 0 !important;
        left: 0 !important;
        width: 100%;
        height: 120vh; /* Increased from calc(100vh - 70px) to 120vh */
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        transition: transform 0.3s ease;
        transform: translateY(-100%);
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto; /* Ensure content is scrollable */
    }
    
    .nav-links.active {
        right: 0 !important;
        display: flex !important;
        transform: translateY(0);
    }
    
    /* Mobile Products & Services dropdown styling */
    .nav-links .dropdown {
        position: static;
        width: 100%;
        text-align: center;
    }
    
    .dropdown-content {
        position: static !important;
        width: 100% !important;
        max-height: 0;
        overflow: hidden;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: max-height 0.3s ease;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Show dropdown content when dropdown is active */
    .dropdown.active .dropdown-content {
        max-height: 1000px;
    }
    
    /* Hide dropdown arrow on mobile */
    .dropdown-trigger::after {
        display: none;
    }
    
    /* Adjust dropdown role columns for mobile */
    .dropdown-role-column {
        width: 100%;
        border-right: none;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }
    
    .dropdown-role-column:last-child {
        border-right: none;
    }
    
    /* Style the dropdown category heading */
    .dropdown-category {
        font-weight: 500;
        font-size: 1.1rem;
        padding: 0.75rem 0;
        color: #F4D09E;
        display: block;
        text-align: center;
    }
    
    /* Style individual dropdown links */
    .dropdown-content a {
        padding: 0.75rem 1rem;
        color: rgba(255, 255, 255, 0.7);
        text-align: center;
        font-size: 0.9rem;
        margin: 0.2rem 0;
    }
    
    /* Product names and descriptions in dropdown */
    .dropdown-content a .product-name {
        font-size: 0.95rem;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .dropdown-content a .product-description {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.5);
        display: block;
    }
}

/* Add hamburger animation here */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    /* Additional mobile dropdown styles */
    .nav-links .dropdown.mobile-dropdown {
        width: 100%;
    }
    
    /* Style for mobile Products & Services link */
    .nav-links .dropdown.mobile-dropdown > a {
        color: #F4D09E;
        font-weight: 500;
        font-size: 1.2rem;
        margin: 0.5rem 0;
        padding: 0.75rem 1rem;
        display: block;
    }
    
    /* Remove hover effects for mobile dropdown */
    .nav-links .dropdown.mobile-dropdown:hover .dropdown-content {
        display: none;
        max-height: 0;
        opacity: 0;
    }
    
    /* Only show dropdown content when .active class is present */
    .nav-links .dropdown.mobile-dropdown.active .dropdown-content {
        display: flex;
        flex-direction: column;
        max-height: 1000px;
        opacity: 1;
    }
    
    /* Adjust spacing for nav items */
    .nav-links li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .hero-stats {
        padding: 1.5rem;
    }
    
    .stat-item {
        padding: 0.75rem 0;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-text {
        font-size: 0.9rem;
        min-width: auto;
        white-space: normal;
    }
    
    .separator {
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .hero h1 .flex-row {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 10px;
        position: relative;
        height: 50px; /* Fixed height to prevent layout shifts */
        margin: 15px 0;
    }
    
    .hero h1 .flex-row > span:first-child {
        /* "With" text */
        font-size: 2.2rem;
        position: absolute;
        right: calc(50% + 45px); /* Position "With" to the left of center */
        margin-right: 0;
    }
    
    .hero h1 .animated-text {
        height: 1.3em;
        min-width: 170px; /* Width for "Automation" */
        position: absolute;
        left: calc(50% - 35px); /* Position animated text to maintain center */
        text-align: left;
    }
    
    .hero h1 .animated-text span {
        font-size: 2.2rem;
        line-height: 1.2;
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .hero .cta-button {
        width: 90%;
        max-width: 350px;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4.5rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h1 .animated-text {
        min-width: 160px;
        left: calc(50% - 35px);
    }
    
    .hero h1 .animated-text span {
        font-size: 2.2rem;
    }
    
    .hero h1 .flex-row {
        margin-top: 15px;
        margin-bottom: 15px;
        height: 45px; /* Add height to ensure proper spacing */
    }
    
    .hero h1 .flex-row > span:first-child {
        font-size: 2.2rem;
        right: calc(50% + 45px);
    }
    
    .stat-number {
        font-size: 1.9rem;
    }
    
    .stat-text {
        font-size: 0.8rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 5rem 2rem 2rem;
        min-height: auto;
        height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h1 .flex-row {
        height: 35px;
        margin: 10px 0;
    }
    
    .hero h1 .flex-row > span:first-child {
        font-size: 1.8rem;
        right: calc(50% + 35px);
    }
    
    .hero h1 .animated-text {
        min-width: 130px;
        left: calc(50% - 25px);
    }
    
    .hero h1 .animated-text span {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .stat-item {
        padding: 0.5rem 0;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero h1 .animated-text span::after {
        bottom: -5px;
        height: 3px;
        left: 0;
        transform: none;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-text h1 > div {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }
}

/* Hide category headers in mobile dropdown */
@media (max-width: 768px) {
    .mobile-dropdown-category {
        display: none !important;
    }
}

/* Improve mobile dropdown appearance without category headers */
@media (max-width: 768px) {
    .dropdown-role-column {
        margin-bottom: 0;
        padding-top: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-role-column:last-child {
        border-bottom: none;
    }
    
    .dropdown-content a {
        padding: 1rem 0.8rem;
        width: 100%;
        border-left: none;
        border-radius: 0;
    }
    
    .dropdown-content a:first-of-type {
        margin-top: 0.5rem;
    }
    
    .dropdown-content a:last-of-type {
        margin-bottom: 0.5rem;
    }
}

/* Mobile button styles */
@media (max-width: 768px) {
    .cta-button,
    .hero .cta-button,
    .contact-form button,
    .product-learn-more,
    .product-view-pricing,
    .pricing-button {
        height: 38px;
        padding: 0.5rem 2rem;
        font-size: 0.9rem;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: var(--accent-color);
        color: white;
        letter-spacing: 0.05em;
        text-transform: capitalize;
        font-weight: 400;
    }
    
    .button-container {
        display: flex;
        justify-content: center;
    }
    
    .contact-form button {
        width: auto;
        min-width: 180px;
    }
}

/* Extra small mobile buttons */
@media (max-width: 480px) {
    .cta-button,
    .hero .cta-button,
    .contact-form button,
    .product-learn-more,
    .product-view-pricing,
    .pricing-button {
        height: 36px;
        padding: 0.5rem 1.6rem;
        font-size: 0.85rem;
        min-width: 140px;
        letter-spacing: 0.03em;
    }
    
    .product-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .product-learn-more {
        margin-right: 0;
    }
}

.faq-toggle:hover {
    background-color: rgba(244, 208, 158, 0.3);
    transform: scale(1.05);
}

.faq-item.active .faq-toggle:hover {
    background-color: rgba(244, 208, 158, 0.4);
}

.faq-column > .faq-item:last-child {
    margin-bottom: 3rem; /* Add bottom margin to last FAQ item */
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.period-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    width: 100%;
    text-align: center;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    justify-content: center;
    width: 100%;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 500;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 600;
}

.price .period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.2rem;
}

/* FAQ Media Container */
.faq-media {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.faq-media video,
.faq-media img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.faq-media video {
    background: #000;
}

/* ScribeHow Link */
.scribehow-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(244, 208, 158, 0.1);
    color: #F4D09E;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.scribehow-link:hover {
    background: rgba(244, 208, 158, 0.2);
    transform: translateY(-1px);
}

.scribehow-link i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Product Badge */
.product-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(244, 208, 158, 0.15);
    color: #F4D09E;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 0.8rem;
    font-weight: 500;
    vertical-align: middle;
}

/* Adjust FAQ answer padding for new content */
.faq-answer {
    padding: 0 1.2rem;
    box-sizing: border-box;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding-bottom: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .faq-media video,
    .faq-media img {
        max-height: 200px;
    }

    .product-badge {
        display: block;
        margin: 0.5rem 0 0 0;
        text-align: center;
        width: fit-content;
    }
}

/* Help Section Product Toggle */
#help .product-toggle-container {
    margin-bottom: 3rem;
}

/* No FAQs Message */
.no-faqs-message {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem auto;
    max-width: 600px;
    line-height: 1.5;
    width: 100%;
}

@media (max-width: 768px) {
    .no-faqs-message {
        padding: 2rem 1.5rem;
        font-size: 1rem;
        margin: 1.5rem auto;
    }
}

/* Default FAQ Message */
.default-faq-message {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem auto;
    max-width: 600px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .default-faq-message {
        padding: 2rem 1.5rem;
        font-size: 1rem;
        margin: 1.5rem auto;
    }
}

/* FAQ Popup */
.faq-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.faq-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.faq-popup {
    background: rgb(0, 0, 0);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.faq-popup-overlay.active .faq-popup {
    transform: translateY(0);
    opacity: 1;
}

.faq-popup-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.faq-popup-header h3 {
    font-size: 1.4rem;
    color: white;
    margin: 0;
    padding-right: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
}

.faq-popup-content {
    padding: 2rem;
}

.faq-popup-answer {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.faq-popup-media {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.faq-popup-media video,
.faq-popup-media img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.faq-popup-media video {
    background: #000;
}

.faq-popup .scribehow-link {
    margin-top: 2rem;
    display: inline-flex;
}

.faq-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.faq-popup-close i {
    font-size: 1.2rem;
}

/* Update FAQ item styles to look clickable */
.faq-item {
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-question h3 {
    margin: 0;
    flex: 1;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
}

.faq-question i {
    color: #F4D09E;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-question i {
    opacity: 1;
    transform: translateX(5px);
}

/* Mobile styles */
@media (max-width: 768px) {
    .faq-popup-overlay {
        padding: 1rem;
    }

    .faq-popup-header {
        padding: 1.5rem;
    }

    .faq-popup-header h3 {
        font-size: 1.2rem;
        padding-right: 2rem;
    }

    .faq-popup-content {
        padding: 1.5rem;
    }

    .faq-popup-answer {
        font-size: 1rem;
    }

    .faq-popup-media video,
    .faq-popup-media img {
        max-height: 300px;
    }

    .faq-popup-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
    }
}

/* Remove old FAQ answer styles since we're using popup now */
.faq-answer {
    display: none;
}

.faq-toggle {
    display: none;
}

.hero .cta-buttons .cta-button:first-child {
    margin-right: 1rem;
}
@media (max-width: 768px) {
    .hero .cta-buttons .cta-button:first-child {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
  .nav-links .dropdown.mobile-dropdown ~ li a[href="#pricing"],
  .nav-links .dropdown.mobile-dropdown ~ li a[href="#help"],
  .nav-links .dropdown.mobile-dropdown ~ li a[href="#contact"] {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    min-height: 32px;
    line-height: 1.1;
  }
  .nav-links .dropdown.mobile-dropdown ~ li a[href="#contact"] {
    margin-bottom: 32px;
    display: block;
  }
}

