/* NDT Technologies Inc. - Industrial Testing Systems
   Modern, Cutting-Edge, Trustworthy Design
   Red & White Color Scheme */

/* ========== CSS VARIABLES ========== */
:root {
    --primary-red: #C80000;
    --dark-red: #8B0000;
    --light-red: #E31937;
    --red-gradient: linear-gradient(135deg, rgba(200, 0, 0, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #E5E5E5;
    --gray: #707070;
    --dark-gray: #2A2A2A;
    --black: #0A0A0A;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-md: rgba(0, 0, 0, 0.12);
    --shadow-lg: rgba(0, 0, 0, 0.2);
    --shadow-xl: rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 17px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========== HEADER & NAVIGATION ========== */
#site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

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

#nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

#nav-links a {
    padding: 0.7rem 1.2rem;
    color: var(--dark-gray);
    font-weight: 500;
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
}

#nav-links a:not(.pdf-link)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
    transform: translateX(-50%);
}

#nav-links a:hover:not(.pdf-link)::after,
#nav-links a.active:not(.pdf-link)::after {
    width: 60%;
}

#nav-links a:hover,
#nav-links a.active {
    color: var(--primary-red);
}

.pdf-link {
    background: var(--primary-red);
    color: var(--white) !important;
    font-weight: 600;
}

.pdf-link:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-md);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-red);
    transition: var(--transition);
    border-radius: 3px;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(200, 0, 0, 0.05);
    border: 1px solid rgba(200, 0, 0, 0.15);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-gray);
    transition: var(--transition-fast);
}

.language-button:hover {
    background: rgba(200, 0, 0, 0.1);
    border-color: rgba(200, 0, 0, 0.25);
    transform: translateY(-2px);
}

.language-icon {
    font-size: 1.2rem;
}

.current-lang {
    font-size: 0.9rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.language-button.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: 1000;
    border: 1px solid rgba(200, 0, 0, 0.1);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--dark-gray);
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.lang-option:hover {
    background: rgba(200, 0, 0, 0.08);
    color: var(--primary-red);
}

.lang-option.active {
    background: rgba(200, 0, 0, 0.1);
    color: var(--primary-red);
    font-weight: 600;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--white);
    overflow: hidden;
    background: var(--black);
    padding: 0 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-banner.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

/* Dark overlay for better text contrast */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(200, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 4rem;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    color: var(--dark-gray);
    transform: translateX(0);
    animation: slideInLeft 0.8s ease-out;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.5vw, 1.6rem);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* ========== SECTION TITLES ========== */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 5rem;
    width: 100%;
    max-width: 1200px;
}

.section-title-wrapper h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-title-wrapper p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== APPLICATIONS GRID ========== */
.applications-grid {
    padding: 6rem 4rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1400px;
}

.grid-row-single {
    grid-template-columns: repeat(5, 1fr);
}

.grid-item {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    transition: var(--transition);
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-xl);
}

.grid-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition);
}

.grid-content {
    color: var(--white);
    text-align: left;
    padding: 2rem;
    transform: translateY(0);
    transition: var(--transition);
}

.grid-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.grid-content p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.learn-more {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--primary-red);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(200, 0, 0, 0.4);
}

.grid-item:hover .grid-image {
    transform: scale(1.1);
}

.grid-item:hover .grid-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.grid-item:hover .learn-more {
    opacity: 1;
    transform: translateY(0);
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-red);
}

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

.feature-box {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--shadow-md);
    border-top-color: var(--primary-red);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    filter: grayscale(0%);
    transition: var(--transition);
}

.feature-box:hover .feature-icon img {
    transform: scale(1.1) rotate(5deg);
}

.feature-box h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 8rem 4rem;
    background: var(--black);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 0, 0, 0.2) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 0;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: 800;
}

.cta-section p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
    box-shadow: 0 4px 20px rgba(200, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(200, 0, 0, 0.5);
    background-color: var(--dark-red);
    border-color: var(--dark-red);
}

.btn-full {
    width: 100%;
}

/* ========== PRODUCT PAGES ========== */
.product-hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(200, 0, 0, 0.4) 100%),
                url('../images/hero-banner.png') center/cover;
    color: var(--white);
    padding: 6rem 4rem;
    text-align: center;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.breadcrumb {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.product-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lead {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    opacity: 0.9;
    max-width: 700px;
}

.product-showcase {
    padding: 8rem 4rem;
    background: var(--white);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-lg);
    transition: var(--transition);
}

.showcase-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px var(--shadow-xl);
}

.showcase-content h2 {
    color: var(--primary-red);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1.05rem;
    line-height: 1.6;
    transition: var(--transition-fast);
}

.feature-list li:hover {
    padding-left: 3rem;
    background: rgba(200, 0, 0, 0.02);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.4rem;
}

/* Modern Product Showcase */
.product-showcase-modern {
    padding: 6rem 4rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
}

.modern-showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-image-modern {
    position: relative;
    z-index: 1;
}

.image-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(200, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.image-card:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(200, 0, 0, 0.2);
}

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

.showcase-content-modern {
    position: relative;
    z-index: 2;
}

.content-card-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(200, 0, 0, 0.1);
    transform: translateX(-2rem);
}

.highlight-badge {
    display: inline-block;
    background: linear-gradient(135deg, #C80000 0%, #A00000 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(200, 0, 0, 0.3);
}

.content-card-glass h2 {
    color: var(--dark-gray);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-card-glass .description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.features-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(200, 0, 0, 0.05) 0%, rgba(200, 0, 0, 0.1) 100%);
    color: var(--dark-gray);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(200, 0, 0, 0.15);
    transition: var(--transition-fast);
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(200, 0, 0, 0.1) 0%, rgba(200, 0, 0, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 0, 0, 0.15);
}

/* Single column variant for plates page */
.modern-showcase-wrapper.single-column {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.modern-showcase-wrapper.single-column .content-card-glass {
    transform: translateX(0);
}

.showcase-content-modern.full-width {
    width: 100%;
}

@media (max-width: 968px) {
    .modern-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-card-glass {
        transform: translateX(0);
    }

    .image-card {
        transform: none;
    }
}

/* Pipes Gallery Section */
.pipes-gallery {
    padding: 8rem 4rem;
    background: var(--off-white);
}

.pipes-gallery .section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 5rem;
    color: var(--dark-gray);
}

.gallery-subsection {
    margin-bottom: 6rem;
}

.gallery-subsection h3 {
    color: var(--primary-red);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.gallery-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-lg);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Panoramic image styling */
.gallery-item.panoramic {
    grid-column: 1 / -1;
    margin-bottom: 2.5rem;
    max-width: 100%;
}

.gallery-item.panoramic img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.technical-specs {
    padding: 5rem 0;
    background: var(--off-white);
}

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

.spec-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    border-left: 4px solid var(--primary-red);
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-md);
}

.spec-card h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Feature Details with Icons */
.system-features {
    padding: 5rem 0;
    background: var(--white);
}

.features-detailed {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-detail {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-detail:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px var(--shadow);
}

.feature-detail-icon {
    flex-shrink: 0;
}

.feature-detail-icon img {
    width: 80px;
    height: 80px;
}

.feature-detail-content h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Applications Grid */
.applications-section {
    padding: 5rem 0;
    background: var(--off-white);
}

.app-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-red);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-md);
}

.app-card h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* ========== CONCEPT PAGE ========== */
.page-hero-simple {
    background: var(--red-gradient);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-hero-simple h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.concept-intro {
    padding: 5rem 4rem;
    background: var(--white);
}

.concept-intro .section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

.concept-intro .concept-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.concept-pillars .concept-content {
    max-width: 1200px;
    margin: 0 auto;
}

.concept-content h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.concept-pillars {
    padding: 5rem 0;
    background: var(--off-white);
}

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

/* Modern Concept Page Styles */
.concept-intro-modern {
    padding: 6rem 4rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.concept-card-glass {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(200, 0, 0, 0.1);
    text-align: center;
}

.concept-card-glass h2 {
    color: var(--dark-gray);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.concept-card-glass .description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(200, 0, 0, 0.08) 0%, rgba(200, 0, 0, 0.12) 100%);
    color: var(--primary-red);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(200, 0, 0, 0.2);
    transition: var(--transition-fast);
}

.tech-tag:hover {
    background: linear-gradient(135deg, rgba(200, 0, 0, 0.12) 0%, rgba(200, 0, 0, 0.18) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 0, 0, 0.2);
}

.concept-pillars-modern {
    padding: 6rem 4rem;
    background: var(--off-white);
}

.pillars-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-top: 4rem;
}

.pillar-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(200, 0, 0, 0.05);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(200, 0, 0, 0.12);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.pillar-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
}

.pillar-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--shadow-md);
}

.pillar-icon {
    margin-bottom: 2rem;
}

.pillar-icon img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.pillar-card h3 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Timeline */
.concept-approach {
    padding: 5rem 0;
    background: var(--white);
}

.approach-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-red);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--shadow-md);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.concept-advantages {
    padding: 5rem 0;
    background: var(--off-white);
}

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

.advantage-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateX(10px);
}

.advantage-item h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* ========== ABOUT PAGE ========== */
/* Modern About Page */
.about-intro-modern {
    padding: 6rem 4rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.about-card-glass {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(200, 0, 0, 0.1);
    text-align: center;
}

.about-card-glass h2 {
    color: var(--dark-gray);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-mission-modern {
    padding: 4rem;
    background: linear-gradient(135deg, #C80000 0%, #A00000 100%);
}

.mission-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.mission-card h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.mission-card p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-industries-modern {
    padding: 6rem 4rem;
    background: var(--off-white);
}

.industries-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 3rem;
}

.industry-card-modern {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(200, 0, 0, 0.05);
}

.industry-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(200, 0, 0, 0.15);
    border-color: rgba(200, 0, 0, 0.2);
}

.about-info-modern {
    padding: 6rem 4rem;
    background: white;
}

.info-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.info-card-modern {
    background: var(--off-white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.info-card-modern h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.membership-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.membership-tag {
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(200, 0, 0, 0.15);
    transition: var(--transition-fast);
}

.membership-tag:hover {
    background: rgba(200, 0, 0, 0.05);
    transform: translateY(-2px);
}

.trademark-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.trademark-item {
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--primary-red);
    border: 1px solid rgba(200, 0, 0, 0.15);
}

.info-card-modern p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.edc-link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.edc-link:hover {
    transform: translateX(5px);
}

.about-intro {
    padding: 5rem 4rem;
    background: var(--white);
}

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

.about-content-full .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.about-content-full p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-md);
}

.about-stats {
    padding: 5rem 0;
    background: var(--red-gradient);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
}

.stat-big-number {
    font-size: 4rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

.about-expertise {
    padding: 5rem 0;
    background: var(--white);
}

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

.expertise-card {
    background: var(--off-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-md);
}

.expertise-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-industries {
    padding: 5rem 0;
    background: var(--off-white);
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.industry-badge {
    background: var(--white);
    color: var(--dark-gray);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 2px 10px var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.industry-badge:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--shadow-md);
}

.about-commitment {
    padding: 5rem 2rem;
    background: var(--white);
    text-align: center;
}

.commitment-content {
    max-width: 900px;
    margin: 0 auto;
}

.commitment-content h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.commitment-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ========== CONTACT PAGE ========== */
/* Modern Contact Page */
.contact-section-modern {
    padding: 6rem 4rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.info-card-glass,
.form-card-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(200, 0, 0, 0.1);
}

.info-card-glass h2,
.form-card-glass h2 {
    color: var(--dark-gray);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.info-card-glass p {
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-items-modern {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-item-modern {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item-modern h4 {
    color: var(--primary-red);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item-modern p {
    color: var(--gray);
    margin: 0;
    line-height: 1.6;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern label {
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(200, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: white;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(200, 0, 0, 0.1);
}

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

@media (max-width: 968px) {
    .contact-grid-modern {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

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

.contact-info-box h2 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-icon img {
    width: 48px;
    height: 48px;
}

.detail-content h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail-content p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-form-box {
    background: var(--off-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form-box h2 {
    color: var(--primary-red);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(200, 0, 0, 0.1);
}

.map-section {
    padding: 5rem 0;
    background: var(--off-white);
}

.map-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-lg);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* ========== FOOTER ========== */
#site-footer {
    background: linear-gradient(to left, rgba(200, 0, 0, 0.9), rgb(200, 0, 0));
    color: var(--white);
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet and smaller */
@media (max-width: 1200px) {
    .grid-row {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .hero {
        padding: 0 2rem;
    }

    .applications-grid {
        padding: 4rem 2rem;
    }
}

@media (max-width: 968px) {
    .header-wrapper {
        padding: 1rem;
    }

    #nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-md);
        padding: 2rem 0;
        z-index: 999;
    }

    #nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .language-selector {
        margin-left: 0.5rem;
    }

    .language-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .language-dropdown {
        right: 0;
    }

    .grid-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .showcase-grid,
    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .approach-timeline::before {
        left: 25px;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .grid-row {
        grid-template-columns: 1fr !important;
    }

    .grid-item {
        height: 350px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 2rem;
    }

    .applications-grid {
        padding: 3rem 1rem;
    }
}