/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a855f7;    /* Purple */
    --secondary-color: #9333ea;   /* Darker Purple */
    --accent-color: #c084fc;     /* Lighter Purple */
    --text-color: #ffffff;       /* White */
    --light-text: #9ca3af;       /* Gray */
    --background: #000000;       /* Pure Black */
    --section-bg: rgba(17, 17, 17, 0.7);
    --card-bg: rgba(23, 23, 23, 0.95);
    --border-color: #27272a;
    --nav-bg: rgba(0, 0, 0, 0.8);
    --gradient-1: linear-gradient(135deg, #a855f7 0%, #6b21a8 100%);
    --gradient-2: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    --shadow-color: rgba(139, 92, 246, 0.2);
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;
    --gradient-text: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}

body {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Better text rendering on iOS */
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background:  radial-gradient(
        ellipse at top right,
        rgba(168, 85, 247, 0.2) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 60% 20%,
        rgba(147, 51, 234, 0.15) 0%,
        transparent 40%
    ),
    radial-gradient(
        ellipse at bottom left,
        rgba(168, 85, 247, 0.15) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 20% 70%,
        rgba(147, 51, 234, 0.1) 0%,
        transparent 40%
    ),
    #000000;
}

/* Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-width: 100vw;
    z-index: -1;
    background: 
        radial-gradient(
            ellipse at top right,
            rgba(168, 85, 247, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 60% 20%,
            rgba(147, 51, 234, 0.15) 0%,
            transparent 40%
        ),
        radial-gradient(
            ellipse at bottom left,
            rgba(168, 85, 247, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 20% 70%,
            rgba(147, 51, 234, 0.1) 0%,
            transparent 40%
        ),
        #000000;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    overflow: hidden;
}

/* Add this to ensure the html and body are also properly sized */
html, body {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(63, 63, 70, 0.4);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2rem;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 10px;
}

.logo h1 {
    font-size: 1.6rem;
    margin: 0;
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.logo h1 span {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* Responsive font size adjustments for logo */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(168, 85, 247, 0.1);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background:  radial-gradient(
        ellipse at top right,
        rgba(168, 85, 247, 0.2) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 60% 20%,
        rgba(147, 51, 234, 0.15) 0%,
        transparent 40%
    ),
    radial-gradient(
        ellipse at bottom left,
        rgba(168, 85, 247, 0.15) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 20% 70%,
        rgba(147, 51, 234, 0.1) 0%,
        transparent 40%
    ),
    #000000;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-model {
    position: relative;
    height: 400px;
    width: 80%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 64, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 191, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.2),
        inset 0 0 32px rgba(0, 191, 255, 0.05);
    transition: all 0.3s ease;
}

.hero-model model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    --progress-bar-color: var(--primary-color);
    --progress-bar-height: 2px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(16, 20, 45, 0.95) 0%, rgb(90 105 213 / 98%) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-scroll a:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Update responsive styles for hero section */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-model {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 150px 0 80px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-model {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-model {
        height: 250px;
    }
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.cta-button:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
}

.cta-button.secondary:hover {
    background: var(--gradient-1);
    border-color: transparent;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--background);
}

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

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(168, 85, 247, 0.03) 0%,
        rgba(147, 51, 234, 0.05) 50%,
        rgba(168, 85, 247, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.2);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(168, 85, 247, 0.15);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-text);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
}

.learn-more i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    opacity: 1;
}

.learn-more:hover i {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--section-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--section-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background: rgba(23, 23, 23, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    height: fit-content;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--light-text);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    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);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Loading state for submit button */
.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: block;
}

/* Footer */
.footer {
    background: var(--background);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;  /* Hide navigation on mobile */
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Portfolio Section with YouTube Integration */
.portfolio {
    padding: 100px 0;
    position: relative;
    background: rgba(16, 20, 45, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(23, 23, 23, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.portfolio-overlay {
    background: rgba(16, 20, 45, 0.95);
    padding: 1rem;
    color: white;
}

.portfolio-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--accent-color);
}

.portfolio-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--light-text);
}

.view-project {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 500px;
    }

    .portfolio-item {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        height: 300px;
    }

    .video-container {
        width: 100%;
        height: 200px;
        position: relative;
        flex: none;
    }

    .portfolio-overlay {
        flex-shrink: 0;
        padding: 1rem 1.25rem;
        height: 100px;
    }

    .portfolio-overlay h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .portfolio-item {
        height: 270px;
    }

    .video-container {
        height: 170px;
    }

    .portfolio-overlay {
        padding: 0.875rem 1rem;
        height: 100px;
    }
}

/* Interactive 3D Models Section */
.models {
    padding: 100px 0;
    background: var(--section-bg);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.model-card {
    background: var(--card-bg);
    border: 1px solid rgba(63, 63, 70, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.model-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.model-viewer-container {
    position: relative;
    height: 400px;
    background: rgba(0, 0, 0, 0.2);
}

.model-viewer-container model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    --progress-bar-color: var(--primary-color);
    --progress-bar-height: 2px;
}

.model-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.ar-button {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ar-button:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
}

.model-info {
    padding: 2rem;
}

.model-info h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.model-info p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.model-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.model-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.model-features i {
    color: var(--primary-color);
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

model-viewer::part(default-progress-bar) {
    height: 2px;
    background: var(--gradient-1);
    animation: pulse 1.5s infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .model-viewer-container {
        height: 300px;
    }
    
    .model-features {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .model-viewer-container {
        height: 250px;
    }
    
    .model-info {
        padding: 1.5rem;
    }
}

/* Live Demo Section */
.demo {
    padding: 100px 0;
    /* background: var(--section-bg); */
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-text h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.demo-text p {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.demo-features {
    list-style: none;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.demo-features i {
    color: var(--primary-color);
}

.demo-visual {
    text-align: center;
}

.qr-code {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-bottom: 1rem;
}

.qr-code img {
    max-width: 200px;
}

.demo-instruction {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--background);
}

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

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(63, 63, 70, 0.4);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Update Responsive Design */
@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .demo-features {
        display: inline-block;
        text-align: left;
    }

    .portfolio-item {
        aspect-ratio: 3/4;
    }

    .portfolio-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(0, 0, 0, 0.4));
    }
}

/* Additional Dark Theme Enhancements */
::placeholder {
    color: var(--light-text);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Glow Effects */
.service-card:hover,
.model-card:hover,
.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

/* Hero Model Responsive Styles */
.hero-model {
    position: relative;
    height: 400px;
    width: 80%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 64, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 191, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(100, 103, 242, 0.2),
        inset 0 0 32px rgba(0, 191, 255, 0.05);
    transition: all 0.3s ease;
}

.hero-model model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
    --progress-bar-color: var(--primary-color);
    --progress-bar-height: 2px;
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(16, 20, 45, 0.95) 0%,   /* Deep navy base */
        #a367f1fa 100%   /* Slightly darker navy */
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Add hover effect to the model viewer container */
.hero-model:hover {
    background: rgba(0, 64, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.3),
        inset 0 0 32px rgba(0, 191, 255, 0.1);
    transform: translateY(-5px);
}

/* Update responsive breakpoints for the smaller size */
@media (min-width: 1200px) {
    .hero-model {
        height: 450px;
        width: 90%;
    }
}

@media (max-width: 1199px) {
    .hero-model {
        height: 350px;
        width: 85%;
    }
}

@media (max-width: 767px) {
    .hero-model {
        height: 300px;
        width: 100%;
    }
}

@media (max-width: 479px) {
    .hero-model {
        height: 250px;
        width: 100%;
    }
}

/* Platforms Section */
.platforms {
    padding: 50px 0;
    background: var(--section-bg);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    background: var(--card-bg);
    border: 1px solid rgba(63, 63, 70, 0.4);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

.platform-card:hover::before {
    opacity: 0.1;
}

.platform-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.platform-icon i {
    font-size: 2rem;
    color: white;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.platform-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

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

.platform-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.platform-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* Adjust section header for tighter spacing */
.platforms .section-header {
    margin-bottom: 2rem;
}

/* Purple text highlights */
.purple-text {
    color: var(--primary-color);
}

/* Test background section */
.test-bg {
    display: none;
}

/* Ensure all sections are transparent to show the gradient */
section {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Animation classes */
.service-card, .platform-card, .portfolio-item, .model-card, .testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navbar transition */
.navbar {
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(23, 23, 23, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--text-color);
    z-index: 1000;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #10B981;
}

.notification.error {
    border-left: 4px solid #EF4444;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification i {
    font-size: 1.4rem;
}

.notification.success i {
    color: #10B981;
}

.notification.error i {
    color: #EF4444;
}

.notification span {
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification.fade-out {
    transform: translateX(100%);
    opacity: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        min-width: unset;
        width: auto;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    position: relative;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: transparent;
    border: none;
    margin-left: auto; /* This will push the button to the right */
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

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

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

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

    .navbar .container {
        justify-content: space-between;
        padding: 0 1.5rem;
        height: 80px;
        flex-direction: row;
    }

    .logo {
        display: flex;
    }
}

/* Add these styles to handle body when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Update responsive breakpoints */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

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

    .portfolio-item {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        height: 300px;
    }

    .video-container {
        width: 100%;
        height: 200px;
        position: relative;
        flex: none;
    }

    .portfolio-overlay {
        flex-shrink: 0;
        padding: 1rem 1.25rem;
        height: 100px;
    }

    .portfolio-overlay h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .portfolio-overlay p {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        padding: 0 0.5rem;
        max-width: 100%;
    }

    .portfolio-item {
        height: 270px;
    }

    .video-container {
        height: 170px;
    }

    .portfolio-overlay {
        padding: 0.875rem 1rem;
        height: 100px;
    }
}

/* Footer Logo Styles */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;  /* Makes the logo circular */
    object-fit: cover;   /* Ensures image fills the circle properly */
    border: 2px solid var(--primary-color);  /* Optional: adds a border */
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-logo {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-logo img {
        width: 50px;
        height: 50px;
    }
}

/* Footer Logo and Info Styles */
.footer-info {
    text-align: left;
    margin-bottom: 2rem;
}

.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.footer-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-info .hero-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

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

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

.social-links a {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-info {
        margin-bottom: 1.5rem;
    }

    .footer-info h3 {
        font-size: 1.3rem;
    }

    .footer-info .hero-text {
        font-size: 1.1rem;
    }
}

/* Update Contact Form Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Slightly adjusted ratio */
    gap: 3rem; /* Reduced gap */
    max-width: 1100px; /* Reduced max-width */
    margin: 0 auto;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Reduced gap between info items */
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(23, 23, 23, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-content h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--light-text);
    font-size: 0.95rem; /* Slightly smaller font */
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.info-content a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
}

/* Contact Form Adjustments */
.contact-form {
    background: rgba(23, 23, 23, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    height: fit-content;
}

/* Update responsive styles */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        gap: 1rem;
    }

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

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem;
    }

    .info-item {
        padding: 1rem;
    }

    .info-content h3 {
        font-size: 1.1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

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