/* Root variables for consistent theming */
:root {
    --primary-color: #0a0a0a;
    --accent-color: #424242;
    --text-color: #333;
    --background-color: #fff;
    --container-padding: 2rem;
    --header-height: 130px;
}

/* Add a wrapper for the background */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    background-image: url('../images/usufrua-logo.png');
    background-size: 35% auto;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.25);
    /* Darkens the background image */
}

/* Content styles */
[role="main"] {
    position: relative;
    z-index: 1;
    color: white;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body styles */
/* body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} */

/* Modify existing styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: white;
    /* Change text color to white for better contrast */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: transparent;
    /* Remove the original background color */
}

/* Section styles */
.section {
    padding: 4rem 0;
    position: relative;
}

.about-intro,
.team-section,
.values-section {
    position: relative;
    padding: 4rem 0;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.member-info {
    padding: 1.5rem;
    color: white;
}

.member-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    color: white;
    text-align: center;
}



/* Header modifications */
header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 600;
}

/* Add subtle animations for content */
.about-content,
.team-member,
.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover,
.team-member:hover,
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}



/* Add gradient overlay for better text readability */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

/* Container modifications */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Header styling */
header {
    background: #000000;
    color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
}

/* Header content layout */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo container styling */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Main logo image */
#logo {
    height: calc(var(--header-height) * 0.5);
    width: auto;
    object-fit: contain;
}

/* Word logo image */
#wordlogo {
    height: calc(var(--header-height) * 0.25);
    width: auto;
    object-fit: contain;
}

/* Navigation styling */
nav {
    margin-left: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Video overlay container */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9999;
    display: none;
    /* Initial state */
    opacity: 1;
    transition: all 0.8s ease-out;
    touch-action: none;
}

.video-overlay.active {
    display: flex !important;
    /* Force display */
    justify-content: center;
    align-items: center;
}

/* Video element styling */
#intro-video {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

/* Video wrapper for positioning */
.video-wrapper {
    position: relative;
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease-out;
    touch-action: none;
}

/* Skip button styling */
.skip-button {
    position: absolute;
    bottom: 5%;
    right: 5%;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid white;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 10000;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border-radius: 4px;
}

.skip-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Video fade out animation */
.video-overlay.fade-out {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
}

.video-overlay.fade-out .video-wrapper {
    transform: scale(0.95);
}

/* Loading state */
.video-overlay.loading::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
}

/* Prevent scrolling when video is playing */
body.video-playing {
    overflow: hidden;
}

/* Mobile play button */
.mobile-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 1.2rem;
    z-index: 10001;
    cursor: pointer;
}

.mobile-play-button:active {
    background: rgba(255, 255, 255, 0.3);
}

/* Main content area */
main {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: calc(100vh - var(--header-height));
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

/* Hide main content when video is playing */
body.video-playing main {
    opacity: 0;
}

main.visible {
    opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: white;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-cta a {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-cta a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    color: white;
    /* Changed from var(--primary-color) */
}

.hero p {
    color: white;
    /* Changed from var(--accent-color) */
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-photo img {
    width: 100%;
    height: 300px;
    object-fit: scale-down;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    color: white;
}

.member-info h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.member-info .position {
    font-size: 1.1rem;
    font-style: italic;
    color: rgb(126, 119, 119);
    margin-bottom: 1rem;
}

.member-info .bio {
    font-size: 1rem;
    line-height: 1.6;
    color: white;
    margin: 0;
}

/* Values section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    color: white;
    text-align: center;
}

/* Services section grid */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card h3 {
    color: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Add hover effect to service cards */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact form layout */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: white;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.8rem;
    border-radius: 4px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Update contact info */
.contact-info {
    color: white;
}

.info-item {
    color: white;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Loading and error states */
.loading {
    text-align: center;
    padding: 1rem;
    color: var(--accent-color);
}

.error {
    text-align: center;
    padding: 1rem;
    color: #dc3545;
    background: #fff;
}

/* Touch device specific styles */
@media (hover: none) {
    nav a:hover {
        background-color: transparent;
    }

    nav a:active {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .video-wrapper {
        height: 100vh;
    }

    #intro-video {
        height: auto;
        width: 100%;
        max-height: 90vh;
    }

    .skip-button {
        bottom: 10px;
    }
}

/* Landscape mode header adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        position: absolute;
    }

    nav {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* iPhone notch handling */
@supports (padding: max(0px)) {
    .video-wrapper {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Snap Scrolling */
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
    /* Change from height to min-height */
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
    /* Add padding to prevent overlap with header and next section */
}

/* Intro Section */
.intro-section {
    height: 100vh;
    /* Keep fixed height for intro */
    padding: 0;
    /* Remove padding for intro section */
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* Add this */
    padding-bottom: 100px;
    /* Add this to create space for the arrow */
}

.intro-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 0;
    /* Change from 2rem to 0 */
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
    width: 100%;
    /* Add this */
    text-align: center;
    /* Add this */
}

.scroll-arrow {
    font-size: 2rem;
    margin-top: 1rem;
    /* Increase from 0.5rem to 1rem */
}

/* Product Sections - Combine duplicate rules */
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding: 2rem;
}

.product-section+.product-section {
    margin-top: 20px;
    /* Add space between consecutive product sections */
}

.product-content.reverse {
    direction: rtl;
}

.product-content.reverse .product-text {
    direction: ltr;
}

.product-text {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 2rem;
    /* For scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.product-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.product-text h3 {
    color: #00a8ff;
    margin: 1rem 0;
}

.product-description {
    font-size: 1.2rem;
    line-height: 1.6;
}

.product-description p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-image {
    width: 100%;
    max-width: 500px;
    /* Add maximum width */
    margin: 0 auto;
    /* Center the image container */
}

.product-image img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    /* Control maximum height */
    object-fit: contain;
    /* Keep aspect ratio */
    display: block;
}

.product-image:hover img {
    transform: scale(1.05);
}

.feature-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-item h4 {
    color: #00a8ff;
    margin-bottom: 0.5rem;
}

.highlight-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Tools List */
.tools-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.tool-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.tool-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tools-description {
    margin-top: 2rem;
}

.tool-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.tool-section h4 {
    color: #00a8ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tool-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tool-section:last-child {
    margin-bottom: 0;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsiveness */
/* Combined Mobile Responsiveness */
@media (max-width: 1024px) {
    :root {
        --header-height: 100px;
    }

    /* Header and Navigation */
    .header-content {
        position: relative;
    }

    .logo-container {
        margin: 0 auto;
    }

    #logo {
        height: calc(var(--header-height) * 0.4);
    }

    #wordlogo {
        height: calc(var(--header-height) * 0.2);
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001; /* Add this to keep button above nav */
        cursor: pointer;
        background: rgba(0, 0, 0, 0.9);
        border: none;
        /*outline: none; *//* Add this */
        -webkit-tap-highlight-color: transparent; /* Add this */
    }
    
    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9); /* Temporary background color */
        padding: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 9999; /* Ensures it's on top of other elements */
    }
    
    nav.active {
        transform: translateY(0);
        display: block;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        padding: 0;
    }
    
    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        color: white;
    }


    /* Global Scrolling Behavior */
    html {
        scroll-snap-type: none;
        -webkit-overflow-scrolling: touch;
    }
    
    header {
        z-index: 1; /* Ensure header is below nav */
        position: relative; /* Ensure stacking context */
    }

    body {
        overflow-x: visible !important;
        /* Force hide horizontal overflow */
        position: relative;
        /* Contains absolute positioned elements */
        width: 100%;
    }

    /* Product Layout */
    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 1rem;
        width: 100%;
        margin: 0;
        overflow-x: hidden;
    }

    .product-text {
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 1rem;
        order: 2;
        width: 100%;
        overflow-x: hidden;
    }

    .product-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .product-text h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .product-image {
        max-width: 300px;
        margin: 0 auto;
        order: 1;
    }

    .product-image img {
        max-height: 300px;
    }

    /* Section Layouts */
    .product-section {
        min-height: auto;
        height: auto;
        overflow: visible;
        padding: 2rem 0;
        scroll-snap-align: none;
    }

    .snap-section {
        min-height: auto;
        height: auto;
        scroll-snap-align: none;
        padding: 4rem 0;
    }

    .feature-section,
    .tool-section,
    .product-description {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    /* Grid Layouts */
    .contact-content,
    .team-grid,
    .service-cards,
    .values-grid,
    .tools-list {
        grid-template-columns: 1fr;
    }

    /* Sections Spacing */
    .section {
        padding: 2rem 0;
    }

    .feature-section,
    .tool-section {
        margin: 1rem 0;
        padding: 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    .section+.section {
        margin-top: 4rem;
    }

    /* Typography */
    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    /* Content Containers */
    .container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 0 1rem;
        /* Reduced padding */
        margin: 0 auto;
    }

    /* Video Wrapper */
    .video-wrapper {
        width: 100%;
        height: 100vh;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #intro-video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        max-height: none;
    }

    .video-overlay {
        padding: 0;
    }

    .skip-button {
        bottom: 40px;
        right: 20px;
        padding: 15px 30px;
        font-size: 1.2rem;
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid white;
    }

    /* Scroll Indicators */
    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    ::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

    /* Layout Fixes */
    .product-content.reverse {
        direction: ltr;
    }

    .product-content.reverse .product-text {
        direction: ltr;
        order: 2;
    }

    .product-content.reverse .product-image {
        order: 1;
    }
}

.product-text::-webkit-scrollbar {
    width: 6px;
}

.product-text::-webkit-scrollbar-track {
    background: transparent;
}

.product-text::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* Add this for better padding on very small screens */
@media (max-width: 480px) {
    .product-content {
        padding: 0.5rem;
    }

    .product-section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
        margin: 1rem auto;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 4px;
    overflow: hidden;
    list-style: none;
    margin-top: 5px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Dropdown Adjustments */
@media (max-width: 1024px) {
    .dropdown-menu {
        position: static;
        display: block;
        background: transparent;
        box-shadow: none;
        margin-top: 0;
        padding-left: 20px;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown > a::after {
        content: '▼';
        display: inline-block;
        margin-left: 5px;
        font-size: 0.8em;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > a::after {
        transform: rotate(180deg);
    }
}

/* Regular Section Layout (non-snapping) */
.regular-section {
    padding: 60px 0;
    min-height: auto;
    height: auto;
    display: block;
    position: relative;
}

/* Product content layout fixes */
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-height: none;
    overflow: visible;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.product-text {
    max-height: none;
    overflow: visible;
    padding-right: 1rem;
}

/* Remove snap scroll behavior */
html {
    scroll-snap-type: none;
    scroll-behavior: smooth;
}

/* Add some spacing between sections */
.regular-section + .regular-section {
    margin-top: 2rem;
}

/* Features section for justification page */
.features-section {
    padding: 2rem 0 4rem;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    color: #00a8ff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Demo buttons styling */
.demo-buttons-container {
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.demo-intro {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #00a8ff;
}

.demo-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-button {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1.2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 380px;
    flex: 1 1 300px;
}

.demo-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.button-icon {
    font-size: 2rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-text {
    display: flex;
    flex-direction: column;
}

.button-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.button-description {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile adjustments for demo buttons */
@media (max-width: 768px) {
    .demo-buttons {
        flex-direction: column;
    }
    
    .demo-button {
        width: 100%;
    }
}