/* ===================================
   JW Vendor City - Modern Industrial Theme
   Professional Manufacturing Company
   =================================== */

/* CSS Variables */
:root {
    --primary: #0a1628;
    --primary-light: #1a2d4a;
    --secondary: #d4a012;
    --accent: #2563eb;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
    --radius-lg: 16px;
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
}

/* Container Override for Large Screens */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden { opacity: 0; visibility: hidden; }
.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}
.nav-logo { height: 70px; width: auto; }
.navbar-nav { 
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    letter-spacing: 0.3px;
    position: relative;
    border-radius: var(--radius);
    display: block;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary);
    background: rgba(255,255,255,0.05);
}
.navbar-toggler {
    border: none;
    padding: 8px;
    color: var(--white);
    font-size: 24px;
    background: none;
    display: none;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }

@media (max-width: 991px) {
    .navbar-toggler { display: block; }
    .navbar {
        background: rgba(10, 22, 40, 0.95);
        backdrop-filter: blur(10px);
    }
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        padding: 20px;
        display: none;
    }
    .navbar-collapse.show { display: block; }
    .navbar-nav {
        flex-direction: column;
        gap: 0;
    }
    .navbar-nav .nav-link {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.hero-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}
.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}
/* Dots removed - using progress bar instead */
.hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 160, 18, 0.15);
    color: var(--secondary);
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    border-radius: 50px;
    border: 1px solid rgba(212, 160, 18, 0.3);
    animation: fadeInUp 0.8s ease;
}
.hero-badge i { font-size: 10px; }
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title span {
    background: linear-gradient(135deg, var(--secondary), #f5c842);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.hero-text {
    font-size: 18px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.8s ease 0.8s both;
    justify-content: center;
}
.hero-stat-item {
    text-align: center;
}
.hero-stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 4px;
}
.hero-stat-item p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-scroll a i { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--secondary), #e8b82a);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(212, 160, 18, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 160, 18, 0.4);
    color: var(--primary);
}
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary);
}
.btn-outline-dark {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-dark {
    background: var(--primary);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
}

/* Section Styles */
section { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-label {
    display: block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    padding-left: 55px;
}
.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary);
}
.section-header.text-center .section-label {
    padding-left: 0;
    display: inline-block;
}
.section-header.text-center .section-label::before {
    display: none;
}
.section-header.text-center .section-label::after {
    display: none;
}
.section-title {
    font-size: 25px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-text {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}
.section-text.centered { margin: 0 auto; }

/* Stats Section */
.stats-section {
    background: var(--primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.stats-section .container {
    position: relative;
    z-index: 1;
}
.stats-section .row {
    justify-content: center;
}
.stat-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 160, 18, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid rgba(212, 160, 18, 0.2);
}
.stat-icon i {
    font-size: 28px;
    color: var(--secondary);
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-number span { color: var(--secondary); }
.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about-section { background: var(--white); }
.about-image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}
.about-image-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 3px solid var(--secondary);
    border-radius: var(--radius-lg);
    z-index: 0;
}
.about-image {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}
.about-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--secondary);
    color: var(--primary);
    padding: 20px 28px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.about-badge .number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.about-badge .text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.about-content { 
    padding-left: 40px;
}
.about-content .section-label {
    margin-bottom: 12px;
}
.about-content .section-title {
    margin-bottom: 20px;
}
.about-content p {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-list {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}
.about-list li:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateX(5px);
}
.about-list li:hover i { color: var(--primary); }
.about-list li i {
    color: var(--secondary);
    font-size: 12px;
    transition: var(--transition);
}

/* Divisions/Services Section */
.divisions-section { background: var(--gray-100); }
.division-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}
.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}
.division-card:hover::before { transform: scaleX(1); }
.division-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.division-image {
    height: 220px;
    overflow: hidden;
}
.division-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.division-card:hover .division-image img { transform: scale(1.1); }
.division-content { padding: 28px; }
.division-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary), #e8b82a);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: -50px;
    position: relative;
    box-shadow: var(--shadow);
}
.division-icon i {
    font-size: 22px;
    color: var(--primary);
}
.division-content h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.division-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.division-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.division-link:hover { color: var(--secondary); }
.division-link:hover i { transform: translateX(5px); }
.division-link i { transition: var(--transition); }

/* Projects Section */
/* Products Showcase Section - Creative Design */
.products-showcase {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
    padding: 100px 0;
    overflow: hidden;
}

.products-showcase .section-header {
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.product-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.product-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.9) 100%);
    z-index: 1;
    opacity: 1;
    transition: var(--transition);
}

.product-item:hover::before {
    background: linear-gradient(180deg, transparent 20%, rgba(10, 22, 40, 0.95) 100%);
}

.product-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.product-item:nth-child(1) img {
    height: 100%;
    min-height: 584px;
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    transform: translateY(0);
    opacity: 1;
    transition: var(--transition);
}

.product-item:hover .product-info {
    transform: translateY(-5px);
}

.product-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-info h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-info p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.product-item:nth-child(1) .product-info p {
    display: block;
}

.product-item:nth-child(1) .product-info h4 {
    font-size: 1.6rem;
}

/* Floating elements animation */
.product-item::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: var(--transition);
}

.product-item:hover::after {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.product-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    opacity: 1;
    transform: scale(1);
    transition: var(--transition);
    color: var(--primary);
}

.product-item:hover .product-icon {
    transform: scale(1.1);
    background: var(--white);
}

/* Products CTA */
.products-cta {
    text-align: center;
    margin-top: 50px;
}

.products-cta .btn {
    padding: 16px 40px;
    font-size: 15px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.products-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    transition: var(--transition);
    z-index: -1;
}

.products-cta .btn:hover {
    color: var(--primary);
    border-color: var(--secondary);
}

.products-cta .btn:hover::before {
    left: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-item:nth-child(1) img {
        min-height: 400px;
    }
}

@media (max-width: 575px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .product-item:nth-child(1) img {
        min-height: 280px;
        height: 280px;
    }
}

/* Keep old project-card for other pages */
.projects-section { background: var(--white); }
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}
.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}
.project-card.large img { height: 630px; }
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(10, 22, 40, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover img { transform: scale(1.08); }
.project-category {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.project-overlay h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.project-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Equipment Section */
.equipment-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
}
.equipment-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.equipment-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    border-color: rgba(212, 160, 18, 0.3);
}
.equipment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.equipment-card-body { padding: 24px; }
.equipment-card h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.equipment-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 0;
}
.equipment-specs-badge {
    display: inline-block;
    background: rgba(212, 160, 18, 0.2);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

/* Why Choose Section */
.why-section { background: var(--gray-100); }
.why-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.why-icon {
    width: 90px;
    height: 90px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: var(--secondary);
    transform: rotateY(180deg);
}
.why-icon i {
    font-size: 32px;
    color: var(--secondary);
    transition: var(--transition);
}
.why-card:hover .why-icon i { color: var(--primary); }
.why-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.why-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 160, 18, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-section h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}
.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
}
.footer-top { padding: 80px 0 60px; }
.footer-logo {
    height: 100px;
    margin-bottom: 24px;
}
.footer-widget p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}
.footer-widget h5 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 14px;
}
.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
}
.footer-links a:hover::before { opacity: 1; }
.contact-info {
    list-style: none;
    padding: 0;
}
.contact-info li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 15px;
}
.contact-info li i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 16px;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
}
.social-links a:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--secondary); }
.powered-by {
    color: var(--secondary);
    font-weight: 500;
}
.powered-by:hover { text-decoration: underline; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--primary);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(26, 45, 74, 0.9) 100%);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../media/image17.jpeg') center/cover;
    opacity: 0.2;
    z-index: 0;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
}
.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 20px 0 0;
}
.breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-item a:hover { color: var(--secondary); }
.breadcrumb-item.active { color: var(--secondary); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* About Page */
.mission-vision { background: var(--gray-100); }
.mv-card {
    background: var(--white);
    padding: 50px 40px;
    height: 100%;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.mv-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: transparent;
}
.mv-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary), #e8b82a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.mv-icon i {
    font-size: 36px;
    color: var(--primary);
}
.mv-card h4 { margin-bottom: 16px; font-size: 1.4rem; }
.mv-card p { color: var(--text-muted); line-height: 1.8; }

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary), var(--accent));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 50px;
}
.timeline-content {
    width: 45%;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.timeline-content:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}
.timeline-item:nth-child(odd) .timeline-content { margin-left: auto; }
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow);
}
.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    border-radius: var(--radius);
}
.timeline-content h5 { margin-bottom: 10px; }
.timeline-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

/* Services Page */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: transparent;
}
.service-detail-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-detail-content { padding: 30px; }
.service-detail-content h4 {
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.service-detail-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}
.service-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}
.service-features li:last-child { border-bottom: none; }
.service-features li i { 
    color: var(--secondary); 
    font-size: 14px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Projects Page */
.project-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.project-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.project-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: transparent;
}
.project-detail-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.project-detail-content { padding: 28px; }
.project-detail-content .category {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.project-detail-content h5 {
    margin: 12px 0;
    font-size: 1.2rem;
}
.project-detail-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Equipment Page */
.equipment-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.equipment-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: transparent;
}
.equipment-detail-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.equipment-detail-content { padding: 28px; }
.equipment-detail-content h5 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}
.equipment-detail-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}
.equipment-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 16px;
}
.equipment-specs li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.equipment-specs li:last-child { border-bottom: none; }
.equipment-specs li span:first-child { color: var(--text-muted); }
.equipment-specs li span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.8), rgba(37, 99, 235, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    font-size: 28px;
    color: var(--white);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 36px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}
.lightbox-close:hover { color: var(--secondary); transform: rotate(90deg); }

/* Contact Page */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 50px;
    height: 100%;
    color: var(--white);
    border-radius: var(--radius-lg);
}
.contact-info-card h4 {
    color: var(--white);
    margin-bottom: 36px;
    font-size: 1.5rem;
}
.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}
.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon i {
    font-size: 22px;
    color: var(--secondary);
}
.contact-info-item h5 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 6px;
}
.contact-info-item p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 15px;
}
.contact-form-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    height: 100%;
    box-shadow: var(--shadow);
}
.contact-form-card h4 {
    margin-bottom: 36px;
    font-size: 1.5rem;
}
.form-control,
.form-select {
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(212, 160, 18, 0.1);
}
.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 14px;
}

/* Privacy & Terms Pages */
.legal-content {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}
.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}
.legal-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Animations */
[data-aos] { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
/* Extra Large Screens */
@media (min-width: 1400px) {
    .hero-title { font-size: 4.5rem; }
    .hero-text { font-size: 20px; max-width: 750px; }
    .hero-stats { gap: 80px; }
    .hero-stat-item h3 { font-size: 3rem; }
    section { padding: 120px 0; }
    .section-title { font-size: 3rem; }
    .stat-number { font-size: 4rem; }
}

@media (min-width: 1600px) {
    .hero-section { padding: 140px 0 100px; }
    .hero-content { max-width: 1000px; }
    .hero-title { font-size: 5rem; }
    .about-image img { height: 550px; }
}

@media (max-width: 1199px) {
    section { padding: 80px 0; }
    .about-content { padding-left: 30px; }
}
@media (max-width: 991px) {
    .about-content { padding-left: 0; margin-top: 50px; }
    .about-image-wrapper { padding-right: 20px; padding-bottom: 20px; }
    .about-badge { right: 0; bottom: 0; padding: 16px 22px; }
    .about-badge .number { font-size: 1.8rem; }
    .about-list { grid-template-columns: 1fr 1fr; }
    .project-card.large img { height: 300px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline::before { left: 20px; }
    .timeline-content { width: calc(100% - 50px); margin-left: 50px !important; }
    .timeline-dot { left: 20px; }
    .hero-stats { flex-wrap: wrap; gap: 30px; }
    .hero-stat-item { flex: 1 1 30%; }
    .section-label { padding-left: 50px; }
    .section-label::before { width: 35px; }
}
@media (max-width: 767px) {
    section { padding: 60px 0; }
    .hero-section { min-height: auto; padding: 140px 0 80px; }
    .hero-title { font-size: 2.2rem; }
    .hero-text { font-size: 16px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .hero-stats { flex-direction: row; gap: 15px; flex-wrap: nowrap; justify-content: center; }
    .hero-stat-item { flex: 1; text-align: center; padding: 15px 10px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
    .hero-stat-item h3 { font-size: 1.5rem; margin-bottom: 2px; }
    .hero-stat-item p { font-size: 10px; letter-spacing: 0.5px; }
    .stats-section { padding: 50px 0; }
    .stat-number { font-size: 2.5rem; }
    .about-image-wrapper { padding-right: 0; padding-bottom: 0; }
    .about-image-wrapper::before { display: none; }
    .about-badge { position: relative; right: auto; bottom: auto; display: inline-block; margin-top: 20px; }
    .about-image img { height: 320px; }
    .about-list { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .page-header { padding: 140px 0 80px; }
    .footer-top { padding: 60px 0 40px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }
    .legal-content { padding: 30px 20px; }
    .contact-info-card, .contact-form-card { padding: 30px 24px; }
    .section-title { font-size: 1.75rem; }
    .slider-btn { width: 40px; height: 40px; font-size: 14px; }
    .nav-logo { height: 55px; }
    .footer-logo { height: 80px; }
}
@media (max-width: 575px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .division-card, .mv-card, .why-card { padding: 30px 20px; }
    .navbar-nav .nav-link { padding: 12px 16px; }
    .about-list li { padding: 10px 14px; font-size: 13px; }
    .hero-title { font-size: 1.9rem; }
}

/* Utility Classes */
.bg-light { background: var(--gray-100) !important; }
.bg-dark { background: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }


/* Services Page Sections */
.py-5 .section-label {
    margin-bottom: 12px;
}
.py-5 .section-title {
    margin-bottom: 20px;
}
.py-5 p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}
.py-5 .img-fluid {
    border-radius: var(--radius-lg);
}

/* Centered Section Headers */
.section-header.text-center {
    text-align: center;
}
.section-header.text-center .section-label {
    justify-content: center;
}
.section-header.text-center .section-text {
    margin-left: auto;
    margin-right: auto;
}

/* Equipment Section Header Fix */
.equipment-section .section-header.text-center .section-title {
    color: var(--white);
}
.equipment-section .section-header.text-center .section-text {
    color: rgba(255,255,255,0.7);
}