/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003366;
    --secondary-blue: #00509E;
    --accent-red: #D22B2B;
    --light-blue: #E6F0FF;
    --dark-gray: #003366;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-red);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #B22222;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

    .btn-secondary:hover {
        background-color: var(--primary-blue);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
        border: 2px solid var(--primary-blue);
    }

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 24px !important;
    font-size: 0.95rem !important;
}

.btn-full {
    width: 100%;
}

.highlight {
    color: var(--accent-red);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 0;
}

    .header.scrolled {
        background-color: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    min-height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    margin-left: 40px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-blue);
    line-height: 1;
    margin: 0;
}

.logo-subtext {
    font-size: 0.8rem;
    color: var(--accent-red);
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
    padding: 5px 0;
}

    .nav-link:hover,
    /*.nav-link.active*/ {
        color: var(--accent-red);
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--accent-red);
    }

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 5px;
}

/* Dropdown base */
.nav-item {
    position: relative;
    list-style: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    list-style: none;
}

/* Show on hover */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

    /* Links */
    .dropdown-menu li a {
        display: block;
        padding: 10px 18px;
        color: #1f2f57;
        text-decoration: none;
        font-size: 14px;
    }

        .dropdown-menu li a:hover {
            background: #f1f5f9;
            color: #e63946;
        }



/* FOOTER BASE */
.footer {
    background: #043466;
    color: #fff;
    padding: 60px 80px;
    font-family: Montserrat, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    font-size: 10px;
}

.footer-col h2 {
    font-size: 15px;
}
/* HEADINGS */
.footer-col h2,
.footer-col h3 {
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-col h3 {
    font-size: 18px;
}

.footer-col p {
    margin-bottom: 20px;
    margin-top: -9px;
    color: #d0d7e8;
    font-size: 10px;
}

/* LISTS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

    .footer-col ul li {
        margin-bottom: 10px;
    }

        .footer-col ul li a {
            color: #d0d7e8;
            text-decoration: none;
            transition: 0.3s;
            font-size: 12px;
        }

            .footer-col ul li a:hover {
                color: #fff;
            }

/* CONTACT INFO ICON FIX */
.Footer-info li {
    display: flex;
    align-items: center;
}

.Footer-info i {
    margin-right: 10px;
    color: #fff;
}

/* SOCIAL ICONS ROUND EFFECT */
.footer-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    margin-right: 12px;
    text-decoration: none;
    transition: 0.3s ease;
    color: #fff !important;
}

    .footer-icons a i {
        color: #fff !important;
        font-size: 18px;
    }

    .footer-icons a:hover {
        background: #e60000; /* circle turns red on hover */
        transform: translateY(-3px);
    }

/* COPYRIGHT */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1e4f83;
    text-align: center;
    color: #cdd6e5;
    font-size: 14px;
    margin-bottom: -35px;
}


/* Tablet - Show all 5 boxes with horizontal scroll if needed */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
        gap: 20px;
        align-items: flex-start;
    }
    
    .nav-menu.show {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }

    .specs-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-column-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile Landscape - Show all 5 boxes with scroll */
@media (min-width: 576px) and (max-width: 767px) {   
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Header responsive adjustments */
@media (max-width: 992px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .btn-sm {
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
    }
}



@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
        min-height: 65px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-subtext {
        font-size: 0.7rem;
    }
}


/* Services page*/

/* HERO SECTION */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* adjust opacity as needed */
    z-index: 2;
}

/* Text Container */
.hero-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    color: #fff;
}

    /* Heading */
    .hero-content h1 {
        font-size: 48px;
        font-weight: 600;
        margin-bottom: 20px;
        opacity: 0;
        animation: fadeInUp 1s ease-out forwards;
        animation-delay: 0.3s;
    }

    /* Paragraph */
    .hero-content p {
        max-width: 650px;
        font-size: 18px;
        line-height: 1.7;
        color: #e6e6e6;
        opacity: 0;
        animation: fadeInUp 1s ease-out forwards;
        animation-delay: 0.6s;
    }

/* Fade-In Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-video-section {
        height: 450px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .hero-video-section {
        height: 380px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }
}

/* Section Spacing */
.two-column-section {
    padding: 80px 0;
    background: #ffffff;
}

/* Container */
.two-column-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Text Styling */
.column h2 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
}

.column p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #444;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .column h2 {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .container {
        width: 92%;
    }

    .column p {
        font-size: 15px;
    }
}

/* Gallery section*/
.gallery-section {
    padding: 60px 0;
    background: #0f2730;
    text-align: center;
}

.gallery-title {
    color: #fff;
    font-size: 35px;
    margin-bottom: 40px;
    font-weight: 600;
}

.slider-container {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    display: none;
    transition: opacity 0.6s ease-in-out;
}

    .slide.active {
        display: block;
    }

    .slide img {
        width: 100%;
        display: block;
        border-radius: 12px;
    }

/* Navigation arrows */
.nav {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #c62828;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
}

    .nav.prev {
        right: 55px;
    }

    .nav i {
        font-size: 14px;
    }

/* Dots */
.dots {
    text-align: center;
    margin-top: 18px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background: #999;
    border-radius: 50%;
    display: inline-block;
    transition: 0.4s;
}

.active-dot {
    width: 26px;
    border-radius: 10px;
    background: #e53935;
}

/* Responsive */
@media (max-width: 600px) {
    .gallery-title {
        font-size: 22px;
    }
}

/* Specification section */
.specs-section {
    background: #071839; /* dark blue like your screenshot */
    padding: 70px 0;
    color: #fff;
}

/* specs-container */
.specs-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

/* Titles */
.spec-heading {
    font-size: 40px;
    margin-top: -30px;
    font-weight: 600;
    text-align: center;
}

/* Titles */
.spec-title {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Bullet List */
.spec-list {
    list-style: none;
    padding: 0;
}

    .spec-list li {
        font-size: 16px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .spec-list i {
        color: #d9534f; /* red accent arrows */
        font-size: 14px;
    }

/* Icon + Text Rows */
.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 16px;
}

.spec-icon {
    font-size: 35px;
    color: #fff;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .spec-item {
        justify-content: center;
    }

    .spec-list li {
        justify-content: center;
    }
}

/* capabilities-section */
.capabilities {
    padding: 80px 0;
    background: #fff;
}

.capabilities-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Titles */
.capabilities-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 16px;
    color: #555;
}

/* Capability Item Layout */
.capability-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

/* Reverse for 2nd item */
.capability-item--reverse {
    flex-direction: row-reverse;
}

/* Text Content */
.capability-content {
    flex: 1;
}

.capability-title {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.capability-subtitle {
    font-size: 18px;
    color: #003366;
    font-weight: 600;
    margin-bottom: 12px;
}

.capability-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    font-weight: 400;
}

/* Images */
.capability-image {
    flex: 1;
    text-align: center;
}

    .capability-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
        object-fit: contain;
    }

/* Responsive Fix */
@media (max-width: 768px) {
    .capability-item,
    .capability-item--reverse {
        flex-direction: column;
        text-align: center;
    }

    .capability-content {
        text-align: center;
    }

    .capability-image img {
        max-width: 100%;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/cta.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #e74c3c;
}

    .cta-button:hover {
        background-color: transparent;
        border-color: white;
    }

.contact-btn {
    display: inline-block;
    background: #e63946;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: background 0.3s ease;
    font-weight: 600;
}

    .contact-btn:hover {
        background: #c1121f;
    }

/*Subcontract-Manufacturing-Solutions*/
.specs-list {
    list-style: none;
    padding: 0;
    margin-left: 300px;
    margin-right: -300px;
    margin-top: 5px;
}

    .specs-list li {
        font-size: 16px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .specs-list i {
        color: #d9534f; /* red accent arrows */
        font-size: 14px;
    }


/* ================= MOBILE Responsive ================= */
@media (max-width: 992px) {

    .hamburger {
        display: block;
        z-index: 1100;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 25px 30px;
        gap: 20px;
        transition: 0.4s ease;
        box-shadow: 2px 0 20px rgba(0,0,0,0.15);
        z-index: 1050;
        align-items: flex-start;
        text-align: left;
    }

        .nav-menu.active {
            left: 0;
        }

    .nav-link {
        width: 100%;
        padding: 12px 0;
        font-size: 18px;
    }

    .btn.btn-primary.btn-sm {
        width: 100%;
        text-align: center;
    }

    /* Dropdown mobile style */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .logo {
        margin-left: 10px;
    }

    /** Mobile Footer **/
    .footer {
        padding: 50px 20px; /* remove side overflow */
    }

    footer-container {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
        gap: 30px;
    }
}

@media (max-width: 600px) {

    .footer-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
        text-align: left;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .footer-bottom {
        font-size: 12px;
        margin-bottom: 0;
    }

    .footer-icons {
        margin-top: 10px;
    }
}

/** carrer page banner Ipad responsive **/
@media (min-width: 769px) and (max-width: 1024px) {
    /** Header **/
    .logo img {
        height: 30px;
        width: auto;
    }

    .logo-subtext {
        font-size: 10px;
    }

    .navbar {
        padding: 12px 20px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }

    .btn.btn-primary.btn-sm {
        padding: 8px 14px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {

    .specs-section {
        padding: 50px 0;
    }

    .specs-container {
        width: 100%;
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .spec-heading {
        font-size: 26px;
        margin-top: 0;
        padding: 0 20px;
    }

    .spec-title {
        font-size: 18px;
    }

    .spec-item {
        flex-direction: column;
        gap: 8px;
    }

        .spec-item i {
            font-size: 28px !important;
        }

    .spec-box {
        text-align: left;
    }

    .spec-list {
        padding-left: 0;
        margin-left: 0;
    }

        .spec-list li {
            justify-content: flex-start;
            text-align: left;
        }

    .two-column-container {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 30px;
        width: 100%;
        padding: 0 20px;
    }

    .two-column-section {
        padding: 50px 0;
    }

    .column h2 {
        font-size: 20px;
    }

    .column p {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-video-section {
        height: auto; /* Remove fixed height */
        min-height: 420px; /* Controlled height */
        padding: 80px 0;
        align-items: flex-start; /* Push text higher */
    }

    .hero-content {
        width: 100%;
        padding: 0 20px;
    }

        .hero-content h1 {
            font-size: 26px;
            line-height: 1.2;
            margin-bottom: 15px;
        }

        .hero-content p {
            font-size: 14px;
            line-height: 1.6;
            max-width: 100%;
        }

    .hero-video {
        object-position: center;
    }
    .capabilities {
        padding: 5px 0;
        reduce section top & bottom
    }

    .section-subtitle {
        margin-bottom: 30px; /* reduce subtitle gap */
    }

    .capability-item {
        flex-direction: column; /* stack image + text */
        gap: 20px;
        margin-bottom: 40px; /* reduce big gap */
    }

    .capability-image img {
        max-width: 100%;
    }
}

@media (max-width: 767px) {

    .specs-section {
        padding: 50px 0;
    }

    .spec-heading {
        font-size: 22px;
        padding: 0 20px;
        text-align: left;
    }

    .specs-container {
        width: 100%;
        padding: 0 20px;
        grid-template-columns: 1fr; /* single column */
        gap: 25px;
    }

    .spec-box {
        width: 100%;
    }

    .specs-list {
        padding-left: 0;
        margin-left: 10px;
    }

        .specs-list.li {
            font-size: 18px;
            padding-left: -60px;
        }
}