/* Reset and Base Styles - Apple-inspired with Maverick Colors */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Hero Section Styles */
.hero-logo {
    margin-bottom: 40px;
    margin-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo i {
    font-size: 180px;
    background: linear-gradient(135deg, #A8A8A8 0%, #A8A8A8 25%, #787878 60%, #787878 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 70px;
    font-weight: 700;
    color: #A1A1A6;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
    text-align: center;
}

.hero-subtitle {
    font-size: 27px;
    font-weight: 600;
    color: rgb(93, 107, 123);
    text-align: center;
    margin-bottom: 16px;
}

.banner-content, .hero-content, .about-card, .application-card, .news-card, .contact-card, .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.glass-card {
    background: rgba(28, 28, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(163, 172, 181, 0.5);
}

:root {
    /* Maverick-inspired Colors */
    --dark-bg: #0D0D0D;
    --dark-surface: #121212;
    --dark-surface-variant: #1A1A1A;
    --dark-card: #1C1C1E;
    
    --primary-accent: #9E9E9E;
    --primary-light: #9E9E9E;
    --primary-dark: #9E9E9E;
    
    --secondary-accent: #616161;
    --secondary-light: #616161;
    --electric-blue: #616161;
    --purple-accent: #616161;
    
    --text-primary: #A1A1A6;
    --text-secondary: #86868B;
    --text-tertiary: #6E6E73;
    --text-disabled: #3A3A3C;
    
    --transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    --glow-primary: 0 0 20px rgba(158, 158, 158, 0.4);
    --glow-secondary: 0 0 20px rgba(97, 97, 97, 0.4);
}

html {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 60px;
    background: var(--dark-bg);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: transparent;
    color: var(--text-primary);
    line-height: 1.47059;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100vh;
    overflow-y: scroll;
}

/* Music Toggle Button */


/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Scroll Progress */
.scroll-progress {
    display: none !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(13, 13, 13, 0.15);
    border-bottom: 1px solid rgba(97, 106, 114, 0.1);
    z-index: 10000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    transition: none !important;
    text-decoration: none;
}

.nav-logo i {
    font-size: 24px;
    background: linear-gradient(135deg, rgb(93, 107, 123), rgb(184, 134, 117));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo span {
    text-decoration: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
    transition: none !important;
    margin-left: auto;
    align-items: center;
    padding-right: 20px;
}

.nav-menu a {
    color: #707074 !important;
    transform: none !important;
    transition: color 0.2s ease;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
}

/* Active state - highlight */
.nav-menu a.active {
    color: #D1D1D6 !important;
    font-weight: 600 !important;
    background: transparent !important;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.navbar .nav-menu a.active,
.nav-container .nav-menu a.active,
.nav-menu li a.active {
    color: #D1D1D6 !important;
    font-weight: 600 !important;
    background: transparent !important;
}

/* Blue tabs when active: Services, News, Contact */
.nav-menu a[href="#services"].active,
.nav-menu a[href="#news"].active,
.nav-menu a[href="#contact"].active,
.navbar .nav-menu a[href="#services"].active,
.nav-container .nav-menu a[href="#services"].active,
.nav-menu li a[href="#services"].active,
.navbar .nav-menu a[href="#news"].active,
.nav-container .nav-menu a[href="#news"].active,
.nav-menu li a[href="#news"].active,
.navbar .nav-menu a[href="#contact"].active,
.nav-container .nav-menu a[href="#contact"].active,
.nav-menu li a[href="#contact"].active {
    color: rgb(93, 107, 123) !important;
    font-weight: 600 !important;
    background: transparent !important;
    opacity: 1 !important;
}

/* Red tabs when active: Applications, About, Login */
.nav-menu a[href="#applications"].active,
.nav-menu a[href="#about"].active,
.nav-menu a[href="#account"].active,
.navbar .nav-menu a[href="#applications"].active,
.nav-container .nav-menu a[href="#applications"].active,
.nav-menu li a[href="#applications"].active,
.navbar .nav-menu a[href="#about"].active,
.nav-container .nav-menu a[href="#about"].active,
.nav-menu li a[href="#about"].active,
.navbar .nav-menu a[href="#account"].active,
.nav-container .nav-menu a[href="#account"].active,
.nav-menu li a[href="#account"].active {
    color: rgba(184, 134, 117, 0.7) !important;
    font-weight: 600 !important;
    background: transparent !important;
}

.nav-menu a:hover {
    color: #D1D1D6 !important;
}

/* Even numbered buttons highlight */
.nav-menu li:nth-child(even) a:hover {
    color: #D1D1D6;
}

/* Blue tabs override even for Services, News, Contact */
.nav-menu li a[href="#services"].active,
.nav-menu li a[href="#news"].active,
.nav-menu li a[href="#contact"].active {
    color: rgb(93, 107, 123) !important;
    font-weight: 600 !important;
}

/* Red tabs override for Applications, About, Login */
.nav-menu li a[href="#applications"].active,
.nav-menu li a[href="#about"].active,
.nav-menu li a[href="#account"].active {
    color: rgba(184, 134, 117, 0.7) !important;
    font-weight: 600 !important;
}

.nav-cta {
    background: rgb(97, 106, 114);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 20px;
    font-weight: 500;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(97, 106, 114, 0.6);
    opacity: 0.9;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Section Styles */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 120px 0;
    border: none;
    box-shadow: none !important;
    outline: none !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: transparent;
}

/* Remove divider between hero and about section */
.hero + .about-section {
    margin-top: -80px;
    border-top: none !important;
}

.about-section {
    border-top: none !important;
}

.about-section .container {
    border-top: none !important;
}

.about-section::before,
.about-section::after,
.hero::before,
.hero::after {
    display: none !important;
}

/* Remove any horizontal line between sections */
section::before,
section::after {
    display: none !important;
}

.section-title {
    font-size: 56px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    text-align: center;
    flex-direction: column;
    border-bottom: none;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding-top: 0px;
    margin-top: -20px;
    overflow: visible;
    position: relative;
}

/* Greyscale Tile Top Left */
.greyscale-tile {
    position: absolute;
    top: 100px;
    left: 40px;
    width: 180px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.15), rgba(50, 50, 50, 0.25));
    border: 1px solid rgba(150, 150, 150, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.greyscale-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(90, 90, 90, 0.2), rgba(60, 60, 60, 0.3));
}

.greyscale-tile .tile-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.greyscale-tile .tile-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 12px;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.greyscale-tile .tile-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.greyscale-tile .tile-label {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.greyscale-tile .tile-value {
    font-size: 14px;
    font-weight: 600;
    color: #ddd;
    line-height: 1;
    background: transparent;
    border: 1px solid rgba(150, 150, 150, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    text-align: center;
    text-transform: lowercase;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.greyscale-tile:hover .tile-value {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-content {
    max-width: 900px;
    overflow: visible;
    padding-top: 20px;
}
}

.hero-logo {
    margin-bottom: 40px;
}

.hero-logo i {
    font-size: 120px;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-light) 25%, var(--secondary-accent) 60%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 21px;
    color: rgb(184, 134, 117);
    margin-bottom: 48px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    pointer-events: auto;
}



.btn-primary {
    background: linear-gradient(90deg, rgba(93, 107, 123, 0.5) 0%, rgba(184, 134, 117, 0.5) 50%, rgba(93, 107, 123, 0.5) 100%);
    background-size: 200% 100%;
    color: rgb(180, 185, 190);
    border: none;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.btn-primary:hover {
    background: linear-gradient(90deg, rgba(93, 107, 123, 0.7) 0%, rgba(184, 134, 117, 0.7) 50%, rgba(93, 107, 123, 0.7) 100%);
    color: rgb(180, 185, 190);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(93, 107, 123, 0.5);
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: rgb(97, 106, 114);
    border: 1px solid rgb(97, 106, 114);
}

.btn-secondary:hover {
    background: rgb(97, 106, 114);
    color: white;
    transform: translateY(-3px);
}

.btn-tertiary {
    background: transparent;
    color: rgb(97, 106, 114);
    border: 1px solid rgb(97, 106, 114);
}

.btn-tertiary:hover {
    background: rgb(97, 106, 114);
    color: white;
    transform: translateY(-3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-tertiary);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

.hero-scroll-indicator span {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.hero-scroll-indicator i {
    font-size: 20px;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(28, 28, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
        transition: none !important;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glass-card:hover {
    transform: none !important;
    border-color: rgba(158, 158, 158, 0.3);
}

/* About Section */
.about-card {
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
    padding: 60px 20px 40px 20px;
    width: 100%;
}

.about-card:hover {
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
}

.about-card h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 20px;
    margin-bottom: 24px;
    color: rgba(184, 134, 117, 0.7);
}

.about-card p {
    font-size: 21px;
    line-height: 1.6;
    color: rgb(93, 107, 123);
    margin-bottom: 48px;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 48px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat p {
    font-size: 17px;
    color: var(--text-tertiary);
}

/* Clients Section */
.clients-section {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.clients-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.clients-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.clients-row::-webkit-scrollbar {
    display: none;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
    border: none;
    min-width: 120px;
    max-width: 120px;
    height: 80px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.client-logo img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: transparent;
    border: none;
    transform: translateY(-2px);
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Services Section */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 280px);
    gap: 32px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.service-card {
    background: rgba(28, 28, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    width: 280px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.service-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(184, 134, 117, 0.7);
}

.service-card p {
    font-size: 15px;
    line-height: 1.5;
    color: rgb(93, 107, 123);
}

/* Applications Section */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 320px);
    gap: 32px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.application-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.application-image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.1), rgba(60, 60, 60, 0.08));
    font-size: 60px;
    font-weight: 100;
    color: rgba(200, 200, 200, 0.3);
    flex-shrink: 0;
}

.application-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(184, 134, 117, 0.7);
    padding: 32px 32px 0 32px;
}

.application-card p {
    font-size: 17px;
    line-height: 1.5;
    color: rgb(93, 107, 123);
    padding: 0 32px 32px 32px;
    flex: 1;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    gap: 32px;
    justify-content: center;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.news-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-image {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Tiles 1 and 2 - simple gradient background */
.news-grid .news-card:nth-child(1) .news-image,
.news-grid .news-card:nth-child(2) .news-image {
    background: linear-gradient(225deg, rgba(60, 60, 60, 0.1), rgba(60, 60, 60, 0.08)) !important;
}

/* Third tile - simple gradient background */
.news-grid .news-card:nth-child(3) .news-image {
    background: linear-gradient(225deg, rgba(60, 60, 60, 0.1), rgba(60, 60, 60, 0.08)) !important;
}

.news-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.news-date {
    display: inline-block;
    font-size: 14px;
    color: rgb(163, 172, 181);
    margin-bottom: 12px;
    font-weight: 500;
}

.news-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(184, 134, 117, 0.7);
    min-height: 60px;
    display: flex;
    align-items: center;
    text-align: center;
}

.news-card p {
    font-size: 17px;
    line-height: 1.5;
    color: rgb(93, 107, 123);
    margin-bottom: 20px;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgb(163, 172, 181);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    align-self: flex-start;
    margin-top: auto;
}

.news-link:hover {
    gap: 12px;
    color: rgba(163, 172, 181, 0.8);
}

/* Contact Section */

#contact {
    padding: 60px 0;
}

.contact-title {
    text-align: center;
    margin-bottom: 80px;
}

.contact-content {
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}

.contact-form {
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    width: 100%;
}

.contact-info h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.info-item i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 12px;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.info-item p {
    font-size: 17px;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(163, 172, 181, 0.1);
    border: 1px solid rgb(163, 172, 181);
    border-radius: 12px;
    color: rgb(163, 172, 181);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgb(163, 172, 181);
    color: white;
    transform: translateY(-3px);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-form {
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form form {
    width: 100%;
    max-width: 700px;
}

/* Force transparent background on all contact form inputs */
.contact-form form input[type="text"],
.contact-form form input[type="email"],
.contact-form form textarea {
    background-color: rgba(60, 60, 60, 0.1) !important;
    border: 1px solid rgba(120, 120, 120, 0.4) !important;
    color: #FFFFFF !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 0px;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(60, 60, 60, 0.1) !important;
    background-color: rgba(60, 60, 60, 0.1) !important;
    background-image: none !important;
    border: 1px solid rgba(120, 120, 120, 0.4) !important;
    border-radius: 24px;
    color: #707070 !important;
    -webkit-text-fill-color: #707070 !important;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Override browser autofill styles */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(40, 40, 45, 0.2) inset !important;
    -webkit-text-fill-color: #707070 !important;
    border: 1px solid rgba(120, 120, 120, 0.4) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #707070 !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    text-align: center;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background-color: rgba(40, 40, 45, 0.3) !important;
    border-color: rgba(120, 120, 120, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.15) !important;
    color: #909090 !important;
    -webkit-text-fill-color: #909090 !important;
}

.contact-form textarea {
    min-height: 200px;
    resize: vertical;
    border-radius: 24px;
}

.contact-form button {
    width: 100%;
    margin: 40px auto 0;
    display: block;
    font-size: 16px;
    padding: 18px 24px;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(93, 107, 123, 0.5) 0%, rgba(184, 134, 117, 0.5) 50%, rgba(93, 107, 123, 0.5) 100%);
    background-size: 200% 100%;
    color: rgb(180, 185, 190);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
}

.contact-form button:hover {
    background: linear-gradient(90deg, rgba(93, 107, 123, 0.7) 0%, rgba(184, 134, 117, 0.7) 50%, rgba(93, 107, 123, 0.7) 100%);
    transform: translateY(-3px);
    box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.15);
}

/* Progress Bar Styles */
.progress-bar-container {
    width: 66%;
    height: 8px;
    background: rgba(40, 40, 45, 0.3);
    border-radius: 20px;
    margin: 20px auto;
    overflow: hidden;
    border: 1px solid rgba(120, 120, 120, 0.3);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: rgb(97, 106, 114);
    border-radius: 20px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(97, 106, 114, 0.5);
}

/* Account Section */
.account-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.account-card h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.account-card > p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.login-form input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 17px;
    font-family: inherit;
    transition: var(--transition);
}

.login-form input:focus {
    outline: none;
    border-color: rgba(120, 120, 120, 0.6);
    background: rgba(40, 40, 45, 0.3);
    box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.15);
}

.login-form button {
    width: 100%;
    margin-bottom: 20px;
}

.form-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-links a {
    color: var(--secondary-accent);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

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

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--dark-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--primary-accent);
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: rgb(163, 172, 181);
}

/* Keyboard Indicator */
.keyboard-indicator {
    display: none;
}

.key-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.key-row {
    display: flex;
    gap: 4px;
}

.key {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.key.active {
    background: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
    box-shadow: var(--glow-primary);
}

.keyboard-indicator span {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Navigation Item States */
.nav-item {
    pointer-events: none;
    transition: var(--transition);
}



/* Expanding Card Overlay Styles */
#expanding-card-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(28, 28, 30, 0.85);
  transition: opacity 2s cubic-bezier(0.4,0,0.2,1), background 2s cubic-bezier(0.4,0,0.2,1);
}
#expanding-card-overlay.active {
  display: flex;
  opacity: 1;
  transition: opacity 2s cubic-bezier(0.4,0,0.2,1), background 2s cubic-bezier(0.4,0,0.2,1);
}
#expanding-card-overlay.shrinking {
  animation: overlay-shrink-glow 0.5s cubic-bezier(0.4,0,0.2,1);
}
@keyframes overlay-shrink-glow {
  0% { box-shadow: 0 0 0 0 rgba(158,158,158,0.0); }
  80% { box-shadow: 0 0 40px 20px rgba(158,158,158,0.3); }
  100% { box-shadow: 0 0 0 0 rgba(158,158,158,0.0); opacity: 0; }
}
.expanding-card-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: rgba(28, 28, 30, 0.6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  font-size: 80px;
  color: white;
  /* Gradient for logo icon will be set inline */
}

/* Blur/fade out text on card during transition (utility class) */
.card-blur-out {
  filter: blur(8px);
  opacity: 0;
  transition: filter 0.4s, opacity 0.4s;
}

/* Responsive Design */
/* Responsive Design - Tablet and Below */
@media (max-width: 1024px) {
    .hero-logo i {
        font-size: 140px;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 44px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Responsive Design - Mobile Landscape */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-logo {
        font-size: 20px;
    }
    
    .nav-logo i {
        font-size: 20px;
    }
    
    .nav-menu li a {
        font-size: 15px;
    }
    
    .hero-logo {
        margin-top: 100px;
        margin-bottom: 30px;
    }
    
    .hero-logo i {
        font-size: 100px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card,
    .application-card,
    .news-card {
        padding: 30px 24px;
        max-width: 100%;
        width: 100%;
    }
    
    .services-grid,
    .applications-grid,
    .news-grid,
    .about-stats {
        width: 100%;
        max-width: 100%;
    }
    
    .card-icon {
        font-size: 60px;
        margin-bottom: 20px;
    }
    
    .application-image i {
        font-size: 48px;
        width: 100px;
        height: 100px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 40px 30px;
    }
    
    .flip-card-back h2 {
        font-size: 36px;
    }
    
    .flip-card-back p {
        font-size: 18px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
        padding: 14px 18px;
    }
    
    .btn-primary {
        padding: 14px 32px;
        font-size: 15px;
    }
}

/* Responsive Design - Mobile Portrait */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 0;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-logo {
        font-size: 18px;
    }
    
    .nav-logo i {
        font-size: 18px;
        margin: 0 6px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu li a {
        font-size: 13px;
        padding: 6px 0;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-logo {
        margin-top: 80px;
        margin-bottom: 24px;
    }
    
    .hero-logo i {
        font-size: 80px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .services-grid,
    .applications-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .service-card,
    .application-card,
    .news-card {
        padding: 24px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .card-icon {
        font-size: 50px;
        margin-bottom: 16px;
    }
    
    .service-card h3,
    .application-card h3,
    .news-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .service-card p,
    .application-card p,
    .news-card p {
        font-size: 15px;
    }
    
    .application-image i {
        font-size: 40px;
        width: 80px;
        height: 80px;
    }
    
    .news-icon {
        width: 80px;
        height: 80px;
    }
    
    .news-icon i {
        font-size: 40px;
    }
    
    .news-link {
        font-size: 14px;
        margin-top: 12px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 24px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 30px 20px;
    }
    
    .flip-card-back h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .flip-card-back p {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .info-item {
        padding: 16px;
    }
    
    .info-item i {
        font-size: 20px;
    }
    
    .info-item span {
        font-size: 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .contact-form textarea {
        min-height: 140px;
    }
    
    .btn-primary {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
    
    .account-section {
        padding: 60px 20px;
    }
    
    .login-container {
        padding: 30px 20px;
    }
    
    .login-container h2 {
        font-size: 28px;
    }
    
    .login-form input {
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* Extra Small Devices - Very Small Phones */
@media (max-width: 360px) {
    .hero-logo i {
        font-size: 70px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-menu li a {
        font-size: 12px;
    }
    
    .service-card h3,
    .application-card h3,
    .news-card h3 {
        font-size: 18px;
    }
}

/* Flip Card Styles */
.about-card-flip-container {
    perspective: 2000px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    cursor: pointer;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
}

.about-card-flip-container:hover {
    transform: translateY(-5px);
}

.about-card.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.about-card-flip-container.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    background: rgba(28, 28, 30, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 60px 40px 40px 40px;
    text-align: center;
}

.flip-card-front {
    position: relative;
}

.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.flip-card-back h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flip-card-back p {
    font-size: 21px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
/* Mobile responsive update 1768293958 */
/* Mobile fixes - canvas resize and tile constraints 1768295231 */
