:root {
    --primary-color: #000000;
    --background-color: #f5f5f5;
    --text-color: #000000;
    --gray-light: #d3d3d3;
    --gray-medium: #666666;
    --social-color: #000000;
    --card-bg: #ffffff;
    --section-bg: #ffffff;
    --contact-bg:rgb(36, 31, 31);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --input-bg: #f5f5f5;
    --title-gradient: linear-gradient(
        60deg,
        #1E1E1E 0%,
        #000000 100%
    );
    --background-color-rgb: 255, 255, 255;
    --border-gradient: linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(0,0,0,1) 49%, rgba(30,30,30,0) 100%);
    --color-bg1: #ffffff;
    --color-bg2: #ffffff;
    --color1: 18, 113, 255;
    --color2: 107, 74, 255;
    --color3: 100, 100, 255;
    --color4: 50, 160, 220;
    --color5: 107, 74, 255;
    --color-interactive: 50, 160, 220;
    --circle-size: 80%;
    --blending: hard-light;
    --accent-color: rgb(206, 133, 255);
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary-color: #ffffff;
    --background-color: #0A0A0A;
    --text-color: #ffffff;
    --gray-light: #333333;
    --gray-medium: #888888;
    --social-color: #d9d9d9;
    --card-bg: #181818;
    --section-bg: #0D0C0C;
    --contact-bg: #121212;
    --nav-bg: rgba(10, 10, 10, 0.9);
    --input-bg:#222222;
    --title-gradient: linear-gradient(
        60deg,
        #C8C8C8 0%,
        #ffffff 100%
    );
    --background-color-rgb: 10, 10, 10;
    --color-bg1: rgb(8, 10, 15);
    --color-bg2: rgb(0, 17, 32);
    --border-gradient: linear-gradient(90deg, rgba(200,200,200,0) 0%, rgba(255,255,255,1) 49%, rgba(200,200,200,0) 100%);
    --accent-color: rgb(221, 221, 221);
}

[data-theme="light"] {
    --spark-opacity: 0.6;
    --accent-color: rgb(161, 161, 161);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--background-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: url('images/cursor.png'), auto;
}

.navbar {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
}

.logo {
    position: relative;
    height: 80px;
    width: auto;
    display: flex;
    align-items: center;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

.logo img {
    height: 100%;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Show/hide logos based on theme */
.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

/* Dark mode switches */
[data-theme="dark"] .logo-dark {
    display: block;
}

[data-theme="dark"] .logo-light {
    display: none;
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff3366;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

.header-section {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    min-height: 100vh;
    overflow: hidden;
}

.header-section .gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    z-index: 2;
    padding: 0 2rem 16rem;
    text-align: center;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-avatar {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .avatar-image {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .avatar-image:hover {
    box-shadow: 0 12px 48px rgba(255, 255, 255, 0.15);
}

.hero-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
    position: relative;
    width: 340px;
    height: 340px;
    z-index: 1;
    max-width: 50%;
    margin-top: 2rem;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

/* Show/hide icons based on theme */
.hero-icon .icon-dark {
    display: none;
}

.hero-icon .icon-light {
    display: block;
}

/* Dark mode switches */
[data-theme="dark"] .hero-icon .icon-dark {
    display: block;
}

[data-theme="dark"] .hero-icon .icon-light {
    display: none;
}


.hero h1 {
    /* Styles moved to consolidated heading styles section */
    position: relative;
    z-index: 2;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Add theme-specific opacity */
[data-theme="light"] #canvas {
    opacity: 0.3;  /* 50% opacity in light mode */
}

[data-theme="dark"] #canvas {
    opacity: 1.0;  /* 100% opacity in dark mode */
}

.subtitle {
    font-size: 1.5rem;
    color: var(--title-gradient);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
    position: relative;
    z-index: 2;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: var(--background-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-color);
    border-color: var(--card-bg);
    transform: translateY(-1px);
}

/* Update the dark mode specific styles */
[data-theme="dark"] .btn-primary {
    background: var(--text-color);
    color: var(--background-color);
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--background-color);
    color: var(--text-color);
    border-color: var(--text-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* Standardize all section headings */
.section-header h2, {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-align: center;
}

.section-header h3, {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

/* Responsive heading adjustments */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2, {
        font-size: 1.1rem;
    }
    
    .section-header h3, {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h3, {
        font-size: 1.75rem;
    }
}

.features {
    padding: 8rem 2rem;
    background: var(--section-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Features Section */
.features-list {
    display: grid;
    container-type: inline-size;
    grid-template-columns: 10fr 1fr 1fr 1fr 1fr 1fr;
    gap: 8px;
    list-style-type: none;
    justify-content: center;
    padding: 0;
    height: clamp(300px, 40dvh, 474px);
    width: auto;
    margin: 0;
    transition: grid-template-columns 0.6s linear;
}

.features-list li {
    background: var(--section-bg);
    position: relative;
    overflow: hidden;
    min-width: 80px;
    border-radius: 8px;
    border: 1px solid color-mix(in hsl, canvas, canvasText 50%);
}

.features-list li:first-child {
    margin-left: 16px; /* Adjust the value as needed */
}

.features-list article {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
}

.features-list h3 {
    position: absolute;
    top: 1rem;
    left: 2rem;
    transform-origin: 0 50%;
    rotate: 90deg;
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    white-space: nowrap;
}

.features-list svg {
    width: 18px;
    fill: none;
}

.features-list p {
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
    text-wrap: balance;

}

[data-active='true'] p {
    opacity: 1;
    transition-delay: 0.15s;
}

.features-list img {
    opacity: 0.1; /* Set images to 10% visibility when collapsed */
    scale: 1.1;
    transition: scale 0.3s ease;
    position: absolute;
    pointer-events: none;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask: radial-gradient(100% 100% at 100% 0, #fff, #0000);
}

[data-active='true'] article {
    opacity: 1;
}

[data-active='true'] img {
    filter: grayscale(0) brightness(1);
    scale: 1;
    transition-delay: 0.15s;
    opacity: 1; /* Set images to full visibility when expanded */
}

.services {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid span {
    padding: 1rem;
    background: var(--section-bg);
    border-radius: 10px;
    font-weight: 500;
}

.theme-switch {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    background: var(--background-color);
    padding: 0.75rem;
    border-radius: 50%;
    border: 2px solid var(--gray-medium);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.theme-toggle {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-icon, .moon-icon {
    width: 24px;
    height: 24px;
}

.theme-toggle svg {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

[data-theme="dark"] .moon-icon {
    display: block;
}

.theme-switch:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Add these new styles */
.pricing {
    /* Using unified section styles for padding */
    background: var(--section-bg);
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.pricing-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card h3 {
    margin: 0;
    padding: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.05em;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-medium);
}

.price-description {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin: 0.5rem 0 1.5rem;
    font-weight: 300;
}

.faq {
    /* Using unified section styles for padding */
    margin-top: 0;
}


/* Update for dark mode */
[data-theme="dark"] .faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

/* Ensure the FAQ content stays above the border */
.faq .container,
.faq .section-header {
    position: relative;
    z-index: 2;
}

.faq .section-header {
    margin-bottom: 4rem;
}


.faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.accordion-item {
    background: var(--background-color);
    border-radius: .4rem;
    padding: 0 2rem;
}

.accordion-item hr {
    border: 1px solid var(--gray-light);
}

.accordion-link {
    font-size: 1.6rem;
    color: var(--text-color);
    text-decoration: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

.accordion-link h3 {
    font-weight: 500;
    font-size: 1.2rem;
}

.accordion-link i {
    color: var(--text-color);
    padding: .5rem;
}

.accordion-link .ion-md-arrow-down {
    display: none;
}

.answer {
    max-height: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 650ms;
}

.answer p {
    color: var(--gray-medium);
    font-size: 1rem;
    padding: 0 0 2rem 0;
    line-height: 1.6;
}

.accordion-item.active .answer {
    max-height: 20rem;
}

.accordion-item.active .accordion-link .ion-md-arrow-forward {
    display: none;
}

.accordion-item.active .accordion-link .ion-md-arrow-down {
    display: block;
}

/* Update footer layout */
.footer {
    background: var(--section-bg);
    padding: 4rem 2rem;
    position: relative;
    width: 100%;
    max-width: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Top row with 2 columns */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* Left side - logo and headquarters */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-self: start;
}

/* Right side - social icons */
.social-icons {
    display: flex;
    gap: 1rem;
    justify-self: end;
}

/* Bottom row - copyright */
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-self: center;
        align-items: center;
    }

    .social-icons {
        justify-self: center;
    }
}

/* Add hover effects */
.pricing-card:hover {
    transform: translateY(-5px);
}

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

/* Update Badge Group styles */
.badge-group {
    display: inline-flex;
    align-items: center;
    background: var(--background-color);
    border: 1px solid var(--gray-light);
    border-radius: 100px;
    padding: 4px;
}

.badge-item {
    padding: 6px 12px;
    font-size: 14px;
    color: var(--gray-medium);
    font-weight: 500;
}

/* Dark mode specific styles */
[data-theme="dark"] .badge-group {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-track h2 {
    padding-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.5em;
    font-size: 1rem;
    color: var(--gray-medium);
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-track {
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: none;
    color: #333; /* Dark text for light mode */
    position: relative;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-image: linear-gradient(var(--background-color), var(--background-color)), var(--title-gradient);
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    background: linear-gradient(var(--border-gradient), var(--border-gradient)) padding-box,
    var(--title-gradient) border-box;
    overflow: hidden;
}

.portfolio-track::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-gradient);
}

.portfolio-track::before {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-gradient);
    z-index: 1;
}

[data-theme="dark"] .portfolio-track::before {
    background: var(--border-gradient);
}

[data-theme="dark"] .portfolio-track {
    color: #fff; /* Light text for dark mode */
}

.text-scroll {
    width: 100%;
    display: flex;
    place-items: center;
    margin: 0;
    padding: 6px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12.5%, black 87.5%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12.5%, black 87.5%, transparent 100%);
}

.text-track {
    display: flex;
    gap: 120px; /* Increased from 80px to 120px for more spacing between track items */
    padding: 0;
    margin: 0;
    list-style: none;
    animation: scroll 20s linear infinite;
    will-change: transform;
    animation-play-state: running;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.track {
    flex: 0 0 auto;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    font-size: 3rem;
    font-weight: 100;
    margin: 0 10px; /* Added horizontal margin for more spacing between track items */
}

.track img {
    width: 200px; /* Adjust size as needed */
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo-light {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
}

[data-theme="dark"] .logo-light {
    opacity: 0;
}

[data-theme="dark"] .logo-dark {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}



/* Update service item styles */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--text-color);
}

.service-item:hover {
    transform: translateY(-5px);
}

/* Update social icon styles */
.social-icon {
    width: 24px;
    height: 24px;
    color: var(--social-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Update FAQ styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
}

.faq-header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* Restore Trello Preview Section */
.trello-preview {
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    max-width: none;
}

.preview-content {
    flex: 1;
}

.preview-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.preview-image img {
    width: 100%;
    height: auto;
}

/* Add gradient text styles */
h1, h2, h3, .logo {
    /* Styles moved to consolidated heading styles section */
}

/* Make sure headings maintain proper contrast in cards */
.feature-card h4,
.pricing-card h3,
.service-item span {
    /* Styles moved to consolidated heading styles section */
}

/* Optional: Add hover effect to make gradients more dynamic */
h1:hover, h2:hover, h3:hover, .logo:hover {
    /* Styles moved to consolidated heading styles section */
}

@keyframes shimmer {
    /* Animation moved to consolidated heading styles section */
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        /* Styles moved to consolidated heading styles section */
        padding: 0 1rem;
    }
    
    .hero-icon {
        margin: 0;
        width: 120px;
        height: 120px;
        max-width: 100%;
    }

    .avatar-image {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .hero-avatar {
        margin-bottom: 1.5rem;
    }
    
    .logo {
        height: 3.5rem;
    }
    
    .footer-brand .logo {
        height: 3rem;
    }
    
    .footer {
        padding: 4rem 2rem;
    }
    
    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .headquarters {
        margin-bottom: 1.5rem;
    }
    

    /* Reduce bottom padding specifically for features section */
    .features {
        padding-bottom: 0.5rem;
    }
    
    .features-accordion {
        width: 100%;
    }
    
    .accordion-items,
    .add-ons_image-wrapper {
        width: 100%;
    }
    
    .add-ons_image-wrapper {
        margin-top: 2rem;
        margin-left: 0;
    }
    
    .faq .container {
        width: 100%;
    }
    
    .accordion-item {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
        justify-content: center;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .badge-group {
        display: none;
    }
    
    .nav-right {
        display: none;
    }
    
    /* Hide features-list on mobile */
    .features-list {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        /* Styles moved to consolidated heading styles section */
    }
    .hero p {
        font-size: 1.125rem;
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 1rem 4rem;
    }
    
    /* Further adjustments for smaller mobile screens */
    .faq {
        padding: 6rem 0.5rem;
    }
    
    .faq .container {
        padding: 0 0.5rem;
    }
    
    .accordion-item {
        padding: 0 0.5rem;
    }
    
    /* Move logo even closer to top on smaller mobile */
    .navbar {
        padding: 0.125rem 0;
    }
    
    /* Make logo even larger on smaller mobile devices */
    .logo {
        height: 4rem;
    }
    
    .footer-brand .logo {
        height: 3.5rem;
    }
    
    /* Add more bottom padding after the headquarters text on smaller mobile */
    .headquarters {
        margin-bottom: 2rem;
    }
    
    .portfolio-track {
        padding-top: 0;
        padding-bottom: 1rem;
    }
    
    /* Further reduce bottom padding for features on smaller mobile */
    .features {
        padding-bottom: 1rem;
    }
}

/* Add base section styles with radial gradient */
section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-gradient);
}

[data-theme="dark"] section::before,
[data-theme="dark"] section::after {
    background: var(--border-gradient);
}

/* Adjust dark mode gradient */
[data-theme="dark"] section::before {
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0) 60%
    );
}

/* Ensure section content stays above gradient */
section > * {
    position: relative;
    z-index: 1;
}

/* Adjust specific sections that might need different treatment */
.hero::before {
    opacity: 0.7;
    width: 200%;
    height: 200%;
}

.pricing::before {
    /* Using unified section styles - removing duplicates */
    content: none;
}

[data-theme="dark"] .pricing::before {
    content: none;
}

/* Add top padding to features section */
.features {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Update responsive styles */
@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 4rem;
    }
    
    .features {
        padding-top: 6rem;
    }
}

/* Add headquarters styles */
.footer-brand-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.headquarters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.la-icon {
    width: 24px;
    height: 24px;
    transform: translateY(-1px);
}

/* Show/hide based on theme */
.la-dark {
    display: none;
}

.la-light {
    display: block;
}

[data-theme="dark"] .la-dark {
    display: block;
}

[data-theme="dark"] .la-light {
    display: none;
}

/* Update footer bottom styles */
.footer-bottom {
    margin-top: 1rem;
    text-align: center;
    color: var(--gray-medium);
}

.footer-bottom .studio-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .studio-link:hover {
    color: var(--primary-color);
}

.footer-bottom .footer-links {
    margin-left: 1rem;
}

.footer-bottom .footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Update responsive styles */
@media (max-width: 768px) {
    .footer-brand-content {
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom .footer-links {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
    }
}

/* Remove extra space after last FAQ item */
.accordion-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.accordion-item:last-child .answer {
    padding-bottom: 0;
}

.accordion-item:last-child hr {
    display: none;
}

/* Add FAQ footer section styles */
.faq-footer {
    text-align: center;
    margin-top: 4rem;
    padding: 4rem 0 0;
    position: relative;
}

.faq-footer h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-footer h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.faq-footer .book-call {
    margin-top: 1rem;
    min-width: 200px;
}

/* Update theme switch styles */
.theme-switch {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    background: var(--background-color);
    padding: 0.75rem;
    border-radius: 50%;
    border: 2px solid var(--gray-medium);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.theme-toggle {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark mode specific styles */
[data-theme="dark"] .theme-switch {
    background: var(--gray-light);
    border-color: var(--gray-medium);
}

/* Update plan icon styles */
.plan-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -3rem -2rem -2rem;
    padding: 0;
}

.plan-icon img {
    width: 300px;
    height: 300px;
    transition: opacity 0.3s ease;
    margin: 0;
    padding: 0;
}

/* Show/hide based on theme */
.plan-dark {
    display: none;
}

.plan-light {
    display: block;
}

[data-theme="dark"] .plan-dark {
    display: block;
}

[data-theme="dark"] .plan-light {
    display: none;
}


/* Contact section styles */
.contact {
    /* Using unified section styles - removing duplicates */
    background-color: var(--section-bg);
    position: relative;
    overflow: hidden;
}

/* Remove duplicate grid background - now using unified section::before style */
.contact::before {
    content: none;
}

/* Remove duplicate dark mode grid styles - now using unified section::before style */
[data-theme="dark"] .contact::before {
    content: none;
}

.contact-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.contact-tagline {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    margin-top: 40px;
}

.contact-detail-group {
    margin-bottom: 30px;
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px; /* Increased from 8px to 16px for more spacing */
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.social-icon-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--contact-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--gray-light);
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    background-color: var(--input-bg);
    border: 2px solid var(--gray-light);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

#contact-form .btn-primary {
    width: 100%;
    padding: 14px 24px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .contact-form-container {
        width: 100%;
    }
    
    .contact-info h2 {
        font-size: 32px;
    }
}

/* Update hero GIF styles */
.hero-gif {
    margin-top: 3rem;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-gif img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .hero-gif {
        max-width: 150px;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Remove the gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    background: transparent;
    z-index: -1;
}

/* Add border styles to sections */
.services,
.trello-preview,
.pricing,
.faq {
    position: relative;
    border-bottom: 2px solid transparent;
    background: linear-gradient(var(--border-gradient), var(--border-gradient)) padding-box,
                var(--title-gradient) border-box;
    width: 100%;
    max-width: none;
}


/* Adjust section padding to prevent border overlap */
.features {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.services {
    padding: 8rem 2rem;
}

.trello-preview {
    padding: 8rem 2rem;
}

.pricing {
    padding: 8rem 2rem;
    background: var(--section-bg);
    margin-bottom: 0;
}

.faq {
    padding: 8rem 2rem;
    margin-top: 0;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .features,
    .services,
    .trello-preview,
    .pricing,
    .faq,
    .contact {
        /* Using unified section styles - removing duplicates */
    }
    
}

@media (max-width: 991px) {
    .features-accordion {
        flex-direction: column;
    }

    .accordion-items,
    .add-ons_image-wrapper {
        width: 100%;
    }

    .add-ons_image-wrapper {
        height: 400px;
        position: relative;
        top: 0;
    }
}

/* New Features Accordion Styles */
.features-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 10rem;
}

.features-content {
    flex: 1;
    margin-right: 20px;
}

.features-image {
    flex: 1;
    max-width: 50%;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 1s ease-in-out, opacity 0.3s ease;
}

.feature-img:hover {
    transform: translateY(-16px);
}

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item-new {
    display: block;
    border-bottom: 1px solid var(--gray-light);
    text-decoration: none;
    color: var(--text-color);
}

.accordion-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    cursor: pointer;
}

.accordion-header-new h4 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: normal;
}

.accordion-icon {
    position: relative;
    width: 18px;
    height: 18px;
}

.accordion-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

.minus-icon {
    opacity: 0;
}

.accordion-item-new.active .plus-icon {
    opacity: 0;
}

.accordion-item-new.active .minus-icon {
    opacity: 1;
}

.accordion-content-new {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding-bottom: 0;
}

.accordion-item-new.active .accordion-content-new {
    max-height: 1000px;
    padding-bottom: 1.75rem;
}

.accordion-content-new p {
    color: var(--gray-medium);
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
    }
    
    .features-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

/* How it works section styles */
.how-it-works {
    padding: 8rem 2rem;
    background: var(--section-bg);
}

.graphic_component {
    max-width: 1200px;
    margin: 0 auto;
}

.w-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.text-style-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.heading-style-h4 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.text-size-medium {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-color-gray600 {
    color: var(--gray-medium);
}

.graphic_item-list {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Increased from 2rem to 4rem for more spacing between items */
    margin-top: 3rem;
}

.graphic_item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.graphic_item-icon-wrapper {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    position: relative;
}

.graphic_item-icon-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    transition: opacity 0.3s ease;
}

/* Light theme (default) */
.graphic_item-icon-wrapper .icon-light {
    opacity: 1;
}

.graphic_item-icon-wrapper .icon-dark {
    opacity: 0;
}

/* Dark theme */
[data-theme="dark"] .graphic_item-icon-wrapper .icon-light {
    opacity: 0;
}

[data-theme="dark"] .graphic_item-icon-wrapper .icon-dark {
    opacity: 1;
}

.graphic_item-text-wrapper {
    flex: 1;
}

.text-weight-medium {
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--text-color);
}


.graphic_lightbox-image {
    width: auto;
    height: auto;
    border-radius: 30px;
    margin: 0 auto 2rem auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: block;
    max-width: 80%;
    max-height: 600px;
}

.graphic_lightbox-image:hover {
    transform: scale(1.05) rotate(3deg); /* Slightly enlarge and rotate the image */
}


.graphic_left_lightbox-image {
    width: auto;
    height: auto;
    border-radius: 30px;
    margin: 0 auto 2rem auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: block;
    max-width: 80%;
    max-height: 600px;
}

.graphic_left_lightbox-image:hover {
    transform: scale(1.05) rotate(3deg); /* Slightly enlarge and rotate the image */
}

/* Responsive styles */
@media (max-width: 991px) {
    .w-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.graphic_left_lightbox {
    order: -1;
}

/* Light/Dark theme icon visibility */
.icon-light {
    opacity: 1;
}

.icon-dark {
    opacity: 0;
}

[data-theme="dark"] .icon-light {
    opacity: 0;
}

[data-theme="dark"] .icon-dark {
    opacity: 1;
}

.calendar-icon {
    width: 18px;
    height: 18px;
    margin-left: 4px;
}

#submit-request-icon {
    width: 44px;
    height: 44px;
}

.icon-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
}

.icon-light,
.icon-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.icon-light {
    opacity: 1;
}

.icon-dark {
    opacity: 0;
}

[data-theme="dark"] .icon-light {
    opacity: 0;
}

[data-theme="dark"] .icon-dark {
    opacity: 1;
}

.service-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    text-transform: uppercase;
}

.pricing-features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features-list li {
    margin-bottom: 1.5rem; /* Increased from 1rem to 1.5rem for more spacing */
    color: var(--gray-medium);
}

.privacy-policy, .terms-and-conditions {
    position: relative;
    padding: 8rem 2rem;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    width: 100%;
    border-radius: 8px;
    background-color: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.policy-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.policy-section ul {
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 1.25rem; /* Increased from 0.75rem to 1.25rem for more spacing */
    color: var(--gray-medium);
}

.contact-details a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

/* Apply grid background to pricing section */
.pricing {
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .pricing::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.pricing-grid {
    position: relative;
    z-index: 1;
}

/* Apply grid background to how it works section */
.how-it-works {
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .how-it-works::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.graphic_component {
    position: relative;
    z-index: 1;
}

/* Apply grid background to features section */
.features {
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .features::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.features-container, .features-list {
    position: relative;
    z-index: 1;
}

/* Apply grid background to FAQ section */
.faq {
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .faq::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.faq .container, .faq-accordion {
    position: relative;
    z-index: 1;
}

/* Apply grid background to services section */
.services {
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .services::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.services-grid {
    position: relative;
    z-index: 1;
}

.card {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
    max-width: 600px;
    padding: 48px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 90px rgba(0,0,0,0.1);
    overflow: hidden;
    &:before {
      content: "";
      position: absolute;
      z-index: 2;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: rgb(255,255,255);
      background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 34%, rgba(255,255,255,1) 89%, rgba(255,255,255,0) 100%);
      opacity: 0.3;
      filter: blur(.5px);
      mix-blend-mode: hard-light;
    }
  
    .noise {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      z-index: 1;
      opacity: 0.1;
    }
  
    .content {
      position: relative;
      z-index: 2;
      text-shadow: -3px 0px 2px rgba(0,0,0,0.1);
    }
  }

  @keyframes moveInCircle {
    0% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(180deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes moveVertical {
    0% {
      transform: translateY(-50%);
    }
    50% {
      transform: translateY(50%);
    }
    100% {
      transform: translateY(-50%);
    }
  }
  
  @keyframes moveHorizontal {
    0% {
      transform: translateX(-50%) translateY(-10%);
    }
    50% {
      transform: translateX(50%) translateY(10%);
    }
    100% {
      transform: translateX(-50%) translateY(-10%);
    }
  }
  
  
  .gradient-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    top: 0;
    left: 0;
    z-index: 1;
  
    .svgBlur {
      display: none;
    }
  
    .noiseBg {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
      mix-blend-mode: soft-light;
      opacity: 0.3;
    }
    .gradients-container {
      filter: url(#goo) blur(40px) ;
      width: 100%;
      height: 100%;
    }
  
    .g1 {
      position: absolute;
      background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
      mix-blend-mode: var(--blending);
  
      width: var(--circle-size);
      height: var(--circle-size);
      top: calc(50% - var(--circle-size) / 2);
      left: calc(50% - var(--circle-size) / 2);
  
      transform-origin: center center;
      animation: moveVertical 30s ease infinite;
  
      opacity: 1;
    }
  
    .g2 {
      position: absolute;
      background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
      mix-blend-mode: var(--blending);
  
      width: var(--circle-size);
      height: var(--circle-size);
      top: calc(50% - var(--circle-size) / 2);
      left: calc(50% - var(--circle-size) / 2);
  
      transform-origin: calc(50% - 400px);
      animation: moveInCircle 20s reverse infinite;
  
      opacity: 1;
    }
  
    .g3 {
      position: absolute;
      background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
      mix-blend-mode: var(--blending);
  
      width: var(--circle-size);
      height: var(--circle-size);
      top: calc(50% - var(--circle-size) / 2 + 200px);
      left: calc(50% - var(--circle-size) / 2 - 500px);
  
      transform-origin: calc(50% + 400px);
      animation: moveInCircle 40s linear infinite;
  
      opacity: 1;
    }
  
    .g4 {
      position: absolute;
      background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
      mix-blend-mode: var(--blending);
  
      width: var(--circle-size);
      height: var(--circle-size);
      top: calc(50% - var(--circle-size) / 2);
      left: calc(50% - var(--circle-size) / 2);
  
      transform-origin: calc(50% - 200px);
      animation: moveHorizontal 40s ease infinite;
  
      opacity: 0.7;
    }
  
    .g5 {
      position: absolute;
      background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
      mix-blend-mode: var(--blending);
  
      width: calc(var(--circle-size) * 2);
      height: calc(var(--circle-size) * 2);
      top: calc(50% - var(--circle-size));
      left: calc(50% - var(--circle-size));
  
      transform-origin: calc(50% - 800px) calc(50% + 200px);
      animation: moveInCircle 20s ease infinite;
  
      opacity: 1;
    }
  
    .interactive {
      position: absolute;
      background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
      mix-blend-mode: var(--blending);
  
      width: 100%;
      height: 100%;
      top: -50%;
      left: -50%;
  
      opacity: 0.7;
    }
  }

.panel {
    position: relative;
    padding: 8rem 2rem;
    background: var(--section-bg);
    overflow: hidden;
    border-bottom: 2px solid transparent;
    background: linear-gradient(var(--border-gradient), var(--border-gradient)) padding-box,
                var(--title-gradient) border-box;
    width: 100%;
    max-width: none;
}

.project-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transform-origin: center;
}

.project-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(
        var(--rotate, 0deg),
        rgba(var(--color1), 0.3),
        rgba(var(--color2), 0.1),
        rgba(var(--color3), 0.3)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease, --rotate 0.5s ease;
    --rotate: 0deg;
    z-index: 3;
}

.project-item:hover {
    transform: translateY(-5px) scale(1.02) rotate(3deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-item:hover::before {
    opacity: 0.7;
    --rotate: 45deg;
}

.project-item:hover .project-image-container::after {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.7) 100%);
}

.project-image-container {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
}

.project-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-item:hover .project-image-container::after {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.7) 100%);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: saturate(0.9);
    transform-origin: center;
}

.project-item:hover .project-image {
    transform: scale(1.03);
    filter: saturate(1.1);
}

[data-theme="dark"] .project-item:hover .project-image {
    filter: brightness(1.1) saturate(1.1);
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .project-item:hover {
        transform: translateY(-5px) scale(1.02) rotate(5deg);
    }
}

@media (max-width: 480px) {
    .project-item:hover {
        transform: translateY(-3px) scale(1.01) rotate(2deg);
    }
}

.project-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-item:hover .project-image-container::after {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.7) 100%);
}

.project-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 55%,
        transparent 100%
    );
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease, transform 1s ease;
    transform: translateX(-100%);
    pointer-events: none;
}

.project-item:hover .project-inner::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.project-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.project-item:hover .project-label {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.project-icon {
    width: 18px;
    height: 18px;
    border-radius: 0;
    object-fit: contain;
}

[data-theme="dark"] .project-label {
    background-color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .project-title {
    color: black;
}

.project-title {
    font-family: 'Karla', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.project-item:hover .project-title {
    display: inline-block;
}

@media (max-width: 768px) {
    .panel {
        padding: 6rem 1rem;
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
    }
    
    .project-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .panel {
        padding: 4rem 1rem;
    }
    
    .project-item {
        height: 200px;
    }
    
    .project-label {
        padding: 6px 12px;
        bottom: 15px;
        left: 15px;
    }
    
    .project-icon {
        width: 20px;
        height: 20px;
    }
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 50%, white);
    mask: linear-gradient(-20deg, transparent 50%, white);
}

[data-theme="dark"] .panel::before {
    --line: rgba(255, 255, 255, 0.1);
    background: linear-gradient(90deg, var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size), linear-gradient(var(--line) 2px, transparent 2px var(--size)) 50% 50% / var(--size) var(--size);
}

.panel-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

/* Project Details Section */
.project-details {
    position: relative;
    padding: 6rem 2rem;
    background: var(--section-bg);
    overflow: hidden;
    width: 100%;
    max-width: none;
    color: var(--text-color);
}

.project-details-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-details-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.project-details-heading h1 {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-details-heading p {
    font-size: 1.125rem;
    max-width: 700px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 auto;
}

.project-mockup {
    display: flex;
    justify-content: center;
    gap: 0rem;
    flex-wrap: wrap;
}

.project-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.project-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
}

.project-info-item p {
    margin: 0;
}

/* Commenting out the conflicting project-image rule */
/*
.project-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}
*/

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-section {
    margin: 4rem 0;
}

.project-section-heading {
    /* Using unified section-header styles */
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Removed duplicate h2 and h4 styles - now using standardized heading styles */

.project-section-heading p {
    font-size: 1.125rem;
    max-width: 700px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 auto;
}

.project-challenges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem; /* Increased from 2rem to 3rem for more spacing */
    margin: 2rem 0;
}

.challenge-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.challenge-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(199, 131, 42, 0.1);
}

.challenge-item-icon svg {
    width: 24px;
    height: 24px;
    fill: rgb(199, 131, 42);
}

.challenge-item h3,
.principle-item h3 {
    /* Using standardized heading styles with specific overrides */
    font-weight: 600;
    font-size: 1.25rem;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.challenge-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.project-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem; /* Increased from 2rem to 3rem for more spacing */
    margin: 2rem 0;
}

.principle-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.principle-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(145, 145, 145, 0.1);
}

.principle-item-icon svg {
    width: 24px;
    height: 24px;
    fill: rgb(133, 133, 133);
}

.principle-item h3 {
    /* Styles moved to combined .challenge-item h3, .principle-item h3 selector */
}

.principle-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.project-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 4rem 0;
}

/* Responsive styles for project details */
@media (max-width: 768px) {
    .project-details {
        padding: 4rem 1.5rem;
    }
    
    .project-details-heading h1 {
        font-size: 2.5rem;
    }
    
    .project-section-heading h2 {
        font-size: 2rem;
    }
    
    .project-info {
        gap: 1rem;
        margin: 1rem 0;
        justify-content: space-around;
    }
    
    .project-info-item {
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    
    .project-info-item svg {
        width: 20px;
        height: 20px;
    }
    
    .project-info-item p {
        font-size: 0.85rem;
        margin: 0;
    }
    
    .project-challenges, 
    .project-principles {
        grid-template-columns: 1fr;
    }
}

/* Define accent color variable */
:root {
    --accent-color: rgb(206, 133, 255);
}

[data-theme="dark"] {
    --accent-color: rgb(206, 133, 255);
}

[data-theme="light"] {
    --accent-color: rgb(175, 122, 255);
}

/* Portfolio Icon Styling */
.portfolio-icon {
    display: flex;
    justify-content: center;
    margin: 4rem auto 1rem;
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 1;
    animation: floatIcon 6s ease-in-out infinite;
}

.portfolio-icon::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--title-gradient);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(20px);
    z-index: -1;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    transition: all 0.4s ease;
}

.portfolio-icon:hover::before {
    width: 220px;
    height: 220px;
    opacity: 0.15;
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.portfolio-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    top: 0;
    left: 0;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* Add hover effect */
.portfolio-icon:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

/* Show/hide icons based on theme */
.portfolio-icon .icon-dark {
    display: block;
}

.portfolio-icon .icon-light {
    display: none;
}

/* Dark mode switches */
[data-theme="dark"] .portfolio-icon .icon-dark {
    display: block;
}

[data-theme="dark"] .portfolio-icon .icon-light {
    display: none;
}

[data-theme="light"] .portfolio-icon .icon-dark {
    display: none;
}

[data-theme="light"] .portfolio-icon .icon-light {
    display: block;
}

@media (max-width: 768px) {
    .portfolio-icon {
        width: 160px;
        height: 160px;
        margin: 2rem auto;
    }
}

@media (max-width: 480px) {
    .portfolio-icon {
        width: 120px;
        height: 120px;
        margin: 1.5rem auto;
    }
}

/* Project info icon wrapper styles */
.info-icon-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    fill: currentColor;
}

/* Show/hide icons based on theme */
.info-icon-wrapper .icon-light {
    display: block;
}

.info-icon-wrapper .icon-dark {
    display: none;
}

/* Dark mode switches */
[data-theme="dark"] .info-icon-wrapper .icon-dark {
    display: block;
}

[data-theme="dark"] .info-icon-wrapper .icon-light {
    display: none;
}

/* Add gradient text styles for all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Base gradient style for headings */
h1, h2, h3, .logo {
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.1em 0;
}

/* Heading sizes and specific styles */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

h4 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Section-specific heading overrides */
.section-header h2 {
    text-align: center;
}

.section-header h3 {
    font-size: 2.5rem;
    text-align: center;
}

.project-section-heading h2 {
    font-style: italic;
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.project-details-heading h1 {
    font-style: italic;
    font-size: 3.5rem;
    line-height: 1.1;
}

.challenge-item h3, 
.principle-item h3 {
    font-weight: 600;
    font-size: 1.25rem;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--text-color);
}

/* Make sure headings maintain proper contrast in cards */
.feature-card h4,
.pricing-card h3,
.service-item span {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    color: var(--text-color);
}

/* Optional: Add hover effect to make gradients more dynamic */
h1:hover, h2:hover, h3:hover, .logo:hover {
    background-size: 200% auto;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Responsive heading styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .project-section-heading h2 {
        font-size: 2rem;
    }
    
    .project-details-heading h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .section-header h3 {
        font-size: 1.75rem;
    }
    
    .project-details-heading h1 {
        font-size: 2.25rem;
    }
}

/* Unified Section Styles - Apply to all sections */
section {
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
    width: 100%;
    background: var(--section-bg);
}

/* Standard section background with grid for all sections */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    --size: 40px;
    --line: rgba(0, 0, 0, 0.05);
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size), 
                linear-gradient(var(--line) 1px, transparent 1px var(--size)) 50% 50% / var(--size) var(--size);
    -webkit-mask: linear-gradient(-20deg, transparent 30%, white);
    mask: linear-gradient(-20deg, transparent 30%, white);
}

/* Dark mode grid color */
[data-theme="dark"] section::before {
    --line: rgba(255, 255, 255, 0.05);
}

/* Standard section container */
.section-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Standard section header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Responsive section adjustments */
@media (max-width: 768px) {
    section {
        padding: 4rem 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover .project-image-container img {
    transform: scale(1.05);
}

/* Add more spacing between general list items */
ul li {
    margin-bottom: 1.5rem; /* Add generous spacing between list items */
}

ul li:last-child {
    margin-bottom: 0; /* Remove margin from last item */
}

/* Cool Blockquote Styling */
blockquote {
    position: relative;
    margin: 3rem auto;
    padding: 2.5rem 3rem 2.5rem 3rem;
    background:rgb(255, 255, 255);
    border-radius: 16px;
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-medium);
    max-width: 800px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

blockquote:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Quote mark */
blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    font-family: 'Georgia', serif;
    color: var(--gray-medium);
    opacity: 0.2;
    line-height: 1;
    z-index: 1;
}

/* Gradient border on hover */
blockquote::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(var(--gray-medium), 0.5),
        rgba(var(--gray-medium), 0.5),
        rgba(var(--gray-medium), 0.5),
        rgba(var(--gray-light), 0.5),
        rgba(var(--gray-light), 0.5)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

blockquote:hover::after {
    opacity: 1;
}

blockquote p {
    position: relative;
    z-index: 1;
    margin: 0;
}

blockquote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    font-style: normal;
    color: var(--gray-medium);
    text-align: right;
    position: relative;
    z-index: 1;
}

blockquote cite::before {
    content: '— ';
}

/* Dark mode adjustments */
[data-theme="dark"] blockquote {
    background:rgb(22, 22, 22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] blockquote:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    blockquote {
        padding: 2rem 2rem 2rem 2rem;
        font-size: 1.25rem;
    }
    
    blockquote::before {
        font-size: 4rem;
    }
    
    blockquote cite {
        font-size: 0.9rem;
        margin-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    blockquote {
        padding: 1.75rem 1.5rem 1.75rem 1.5rem;
        font-size: 1.1rem;
    }
    
    blockquote::before {
        font-size: 3rem;
        top: 5px;
        left: 10px;
    }
    
    blockquote cite {
        font-size: 0.8rem;
        margin-top: 1rem;
    }
}

[data-theme="dark"] .project-image-container::after {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.8) 100%);
}

[data-theme="dark"] .project-item:hover .project-image-container::after {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.9) 100%);
}

[data-theme="dark"] .project-inner::before {
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 55%,
        transparent 100%
    );
}

[data-theme="dark"] .project-image {
    filter: brightness(0.9) saturate(0.85);
}

[data-theme="dark"] .project-item:hover .project-image {
    filter: brightness(1.1) saturate(1.1);
}

.project-item:hover::before {
    opacity: 0.7;
    --rotate: 45deg;
}

.project-item:hover .project-label {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.project-item:hover .project-title {
    display: inline-block;
}

@media (max-width: 768px) {
    .project-item:hover {
        transform: scale(1.03) rotate(2deg);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 1rem 4rem;
    }
    
    /* Further adjustments for smaller mobile screens */
    .faq {
        padding: 6rem 0.5rem;
    }
    
    .faq .container {
        padding: 0 0.5rem;
    }
    
    .accordion-item {
        padding: 0 0.5rem;
    }
    
    /* Move logo even closer to top on smaller mobile */
    .navbar {
        padding: 0.125rem 0;
    }
    
    /* Make logo even larger on smaller mobile devices */
    .logo {
        height: 4rem;
    }
    
    .footer-brand .logo {
        height: 3.5rem;
    }
    
    /* Add more bottom padding after the headquarters text on smaller mobile */
    .headquarters {
        margin-bottom: 2rem;
    }
    
    .portfolio-track {
        padding-top: 0;
        padding-bottom: 1rem;
    }
    
    /* Further reduce bottom padding for features on smaller mobile */
    .features {
        padding-bottom: 1rem;
    }
    
    .project-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin: 0.5rem 0;
        padding: 0 2rem;
    }
    
    .project-info-item {
        width: 100%;
    }
    
    .project-info-item svg {
        width: 18px;
        height: 18px;
    }
    
    .project-info-item p {
        font-size: 0.8rem;
    }
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 30px;
}

.carousel-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.carousel-slide img {
    width: auto;
    height: auto;
    display: block;
    border-radius: 30px;
}

.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    z-index: 2;
    width: auto;
    min-width: 200px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid black;
}

.carousel-dot.active {
    background: white;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

