:root {
    --primary-color: #E31837; /* Red */
    --secondary-color: #333333; /* Dark Grey */
    --accent-gray: #777777;
    --text-dark: #111111; /* Black */
    --text-gray: #555555;
    --text-light-gray: #999999;
    --bg-light: #F9FAFB;
    --bg-gray: #EFEFEF;
    --bg-dark: #1A1A24; /* Black/Dark theme section */
    --white: #FFFFFF;
    --border-color: #DDDDDD;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
    background: var(--primary-color); 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b9132c; 
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-red {
    color: var(--primary-color);
}
.text-grey {
    color: var(--accent-gray);
}
.text-dark {
    color: var(--text-dark);
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #B71C1C;
    border-color: #B71C1C;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--text-dark);
}

.btn-outline.bg-white {
    background-color: var(--white);
    border: 1px solid var(--text-dark);
}

.btn-outline-red {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-red:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
}
.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: var(--text-dark);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-actions .btn {
    padding: 12px 24px;
    font-size: 13px;
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.hero-bg {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: 
        linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)) center center / 100% 1px no-repeat,
        linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)) center center / 1px 100% no-repeat;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 25px; left: 25px; right: 25px; bottom: 25px;
    background: 
        linear-gradient(var(--primary-color), var(--primary-color)) top left / 30px 2px no-repeat,
        linear-gradient(var(--primary-color), var(--primary-color)) top left / 2px 30px no-repeat,
        
        linear-gradient(var(--primary-color), var(--primary-color)) top right / 30px 2px no-repeat,
        linear-gradient(var(--primary-color), var(--primary-color)) top right / 2px 30px no-repeat,
        
        linear-gradient(var(--primary-color), var(--primary-color)) bottom left / 30px 2px no-repeat,
        linear-gradient(var(--primary-color), var(--primary-color)) bottom left / 2px 30px no-repeat,
        
        linear-gradient(var(--primary-color), var(--primary-color)) bottom right / 30px 2px no-repeat,
        linear-gradient(var(--primary-color), var(--primary-color)) bottom right / 2px 30px no-repeat;
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text-block {
    flex: 0 0 45%;
    max-width: 600px;
    padding: 80px 0;
    z-index: 2;
    transition: opacity 0.8s ease-in-out;
}
.fade-out {
    opacity: 0 !important;
}

.hero-image-block {
    flex: 0 0 55%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.hero-image-block img {
    max-width: 100%;
    max-height: 520px;
    width: 80%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    transition: opacity 0.8s ease-in-out;
}

/* Flip the Aerospace plane to face left */
.hero-image-block img[src*="aerospace_new"] {
    transform: scaleX(-1);
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.hero-subtitle .line {
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.hero-title {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--text-dark);
    letter-spacing: -1px;
    min-height: 250px;
    display: block;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
    height: 100px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
}

.hero-buttons .btn {
    white-space: nowrap;
}

.hero-pagination {
    position: absolute;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    z-index: 3;
}

.page-numbers {
    font-size: 16px;
    color: var(--text-light-gray);
    font-weight: 600;
}
.page-numbers .current {
    font-size: 32px;
    color: var(--primary-color);
}

.dots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #D1D5DB;
    cursor: pointer;
}
.dot.active {
    background-color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding-bottom: 60px;
}

.stats-grid {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.stat-card {
    flex: 1;
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.stat-card:last-child {
    border-right: none;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-card:hover .stat-icon {
    color: var(--primary-color);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.stat-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Core Capabilities Section */
.capabilities-section {
    padding: 60px 0 100px;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.capability-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    position: relative;
    border-bottom: 4px solid transparent;
}

.capability-card:hover {
    box-shadow: 0 15px 35px rgba(228, 30, 48, 0.1);
    transform: translateY(-8px);
    border-bottom: 4px solid var(--primary-color);
}

.cap-img-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
    background: var(--white);
    overflow: visible;
}

/* Elegant red curve overlay at the bottom of the image */
.cap-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; width: 100%; height: 40px;
    background: var(--primary-color);
    clip-path: ellipse(70% 100% at 50% 100%);
    z-index: 2;
    transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.capability-card:hover .cap-img-wrapper::after {
    height: 60px; /* The red curve smoothly rises on hover */
}

.cap-img-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px 20px 40px 20px; /* Padding to make it smaller and avoid the red curve */
    box-sizing: border-box;
    transition: transform 0.5s;
}

.capability-card:hover .cap-img-wrapper img {
    transform: scale(1.05);
}

.cap-icon-circle {
    position: absolute;
    bottom: -23px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.capability-card:hover .cap-icon-circle {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 20px rgba(228, 30, 48, 0.4);
}

.cap-content {
    padding: 35px 20px 25px;
}

.cap-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.cap-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.cap-btn-container {
    margin-top: 20px;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.process-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px;
}

.process-sidebar {
    width: 300px;
    flex-shrink: 0;
    padding-right: 40px;
    border-right: 1px solid var(--border-color);
}

.process-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.process-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.process-timeline {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: flex-start;
    padding-left: 40px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.process-icon {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: color 0.3s, border-color 0.3s, transform 0.3s;
    position: relative;
    animation: icon-highlight-anim 11s infinite linear;
    animation-delay: calc(var(--step) * 1s);
}

@keyframes icon-highlight-anim {
    0%, 9.09% { 
        color: var(--primary-color); 
        border-color: var(--primary-color); 
        transform: scale(1.1); 
        box-shadow: 0 10px 25px rgba(228, 30, 48, 0.2); 
    }
    9.5%, 100% { 
        color: var(--secondary-color); 
        border-color: var(--border-color); 
        transform: scale(1); 
        box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    }
}

.process-step:hover .process-icon {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.step-title {
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.step-desc {
    font-size: 11px;
    color: var(--text-gray);
    line-height: 1.4;
}

.process-divider {
    display: flex;
    align-items: center;
    height: 60px;
    font-size: 18px;
    color: var(--accent-gray);
    opacity: 0.5;
    position: relative;
}

/* Electron Path Animation */
.electron-circle {
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    border-radius: 50%;
    opacity: 0;
    animation: electron-circle-anim 11s infinite linear;
    animation-delay: calc(var(--step) * 1s);
    pointer-events: none;
    background: conic-gradient(transparent 0%, transparent 60%, rgba(228, 30, 48, 0.2) 75%, var(--primary-color) 98%, #fff 100%);
    -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), black calc(100% - 2px));
    mask: radial-gradient(closest-side, transparent calc(100% - 3px), black calc(100% - 2px));
}

@keyframes electron-circle-anim {
    0% { opacity: 1; transform: rotate(-90deg); }
    9.09% { opacity: 1; transform: rotate(450deg); }
    9.2%, 100% { opacity: 0; transform: rotate(450deg); }
}

.electron-line {
    position: absolute;
    top: 50%; left: 0;
    width: 60px; height: 3px;
    background: linear-gradient(to right, transparent, rgba(228, 30, 48, 0.2) 50%, var(--primary-color) 95%, #fff 100%);
    border-radius: 3px;
    transform: translate(-100%, -50%);
    opacity: 0;
    animation: electron-line-anim 11s infinite linear;
    animation-delay: calc(var(--step) * 1s);
    pointer-events: none;
}

@keyframes electron-line-anim {
    0% { opacity: 1; left: 0%; }
    9.09% { opacity: 1; left: 100%; }
    9.2%, 100% { opacity: 0; left: 100%; }
}

/* Manufacturing Section */
.manufacturing-section {
    padding: 100px 0;
    background-color: var(--white);
}

.mfg-grid {
    display: grid;
    grid-template-columns: 3.5fr 1fr;
    gap: 40px;
    align-items: stretch;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.mfg-image {
    position: relative;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    overflow: hidden;
}

.mfg-image::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from var(--angle), #fff 0%, var(--primary-color) 1%, rgba(228, 30, 48, 0.2) 15%, transparent 40%, transparent 100%);
    animation: spin-border 6s linear infinite;
    z-index: 0;
}

.mfg-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
    background: var(--white);
}

@keyframes spin-border {
  from { --angle: 360deg; }
  to { --angle: 0deg; }
}

.mfg-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

.mfg-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mfg-list-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-gray);
    color: var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.mfg-list-item:hover .mfg-list-icon {
    color: var(--primary-color);
}

.mfg-list-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.mfg-card-wrapper {
    display: flex;
    flex-direction: column;
}

.mfg-stats-card {
    background: var(--bg-dark);
    color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mfg-huge-number {
    font-size: 72px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: -10px;
}

.mfg-factory-icon {
    font-size: 60px;
    color: rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.mfg-card-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    color: var(--white);
}

/* Trusted Section */
.trusted-section {
    padding: 40px 0 80px;
    background-color: var(--white);
}

.trusted-title {
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

.logo-box {
    border: none;
    border-radius: 8px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    padding: 10px;
    background-color: var(--bg-gray);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-box:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(228, 30, 48, 0.3);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--white);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 16px;
    color: #AAAAAA;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-wrapper {
        flex-direction: column;
    }
    
    .process-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .process-timeline {
        padding-left: 0;
        width: 100%;
        overflow-x: auto;
    }
    
    .mfg-grid {
        grid-template-columns: 1fr;
    }
    
    .trusted-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        flex-direction: column;
    }
    
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .trusted-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}


/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #fff;
}

.about-header {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.about-header h2 {
    flex: 0 0 250px;
    font-size: 36px;
    color: var(--text-gray);
    font-weight: 400;
    line-height: 1.2;
}

.about-header h2 span {
    font-weight: 800;
    position: relative;
    display: inline-block;
    color: var(--text-dark);
}

.about-header h2 span::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.about-desc {
    flex: 1;
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

.about-desc p {
    margin-bottom: 15px;
}

.innovative-sectors {
    display: flex;
    width: 100%;
    height: 550px;
    gap: 15px;
    padding: 20px 0;
}

.sector-panel {
    position: relative;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background-size: cover;
    background-position: center;
}

.sector-panel:hover {
    flex: 3;
}

.sector-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}

.sector-panel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(-45deg, rgba(228, 30, 48, 0.5) 0%, transparent 60%);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.sector-panel:hover::after {
    opacity: 1;
}

.sector-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 3;
    color: #fff;
}

.sector-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.6s ease;
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.sector-panel:hover .sector-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.sector-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.sector-desc {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: normal;
    width: 250px;
}

.sector-panel:hover .sector-desc {
    opacity: 1;
    max-height: 150px;
    margin-top: 15px;
}


/* Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger Delays for child elements */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Sticky/Glass Navbar on Scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 15px 5%;
}



/* Responsive Design */
@media (max-width: 1200px) {
    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mfg-grid {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }
    .navbar .nav-links {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 0 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0);
        gap: 15px;
        border-top: 0px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease-in-out;
    }
    .navbar .nav-links.active {
        max-height: 500px;
        padding: 20px;
        opacity: 1;
        visibility: visible;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border-color);
    }
    .navbar .nav-actions {
        display: none;
    }
    .hero {
        min-height: 500px;
    }
    .hero-content {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 80px;
    }
    .hero-text-block {
        flex: 1;
        width: 100%;
        max-width: 100%;
        padding: 10px 0 40px;
    }
    .hero-subtitle {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .hero-image-block {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 250px;
        margin-bottom: 20px;
    }
    .hero-image-block img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        transition: opacity 0.8s ease-in-out;
    }

    .hero-pagination {
        right: 50%;
        bottom: 20px;
        transform: translateX(50%);
        flex-direction: row;
        align-items: center;
    }
    .hero-pagination .dots {
        flex-direction: row;
    }
    .about-header {
        flex-direction: column;
        gap: 20px;
    }
    .about-header h2 {
        flex: auto;
    }
    .innovative-sectors {
        flex-direction: column;
        height: 600px;
    }
    .sector-panel {
        width: 100%;
        height: 20%;
    }
    .sector-panel:hover {
        height: 60%;
        flex: auto;
    }
    .sector-content {
        bottom: 20px;
        left: 20px;
    }
    .stats-grid {
        flex-direction: column;
    }
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    .process-wrapper {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .process-sidebar {
        width: 100%;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 30px;
    }
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-left: 0;
        width: 100%;
    }
    .process-step {
        width: 100%;
        max-width: 250px;
    }
    .process-divider {
        transform: rotate(90deg);
        height: 60px;
    }
    .electron-line {
        display: none;
    }
    .mfg-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        min-height: 140px;
        margin-bottom: 20px;
    }
    .hero-subtitle {
        font-size: 12px;
    }
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 28px;
    }
    .cap-img-wrapper {
        height: 220px;
    }
    .innovative-sectors {
        height: 700px;
    }
}
