/* ========================================= */
/* COLOR THEME */
/* ========================================= */
:root {
    --primary: #1A73A8;
    --dark-blue: #0E4A70;
    --light-blue: #7DC3E8;
    --grey: #F0F3F6;
    --text: #1A1A1A;
    --white: #ffffff;
    --muted: #555;
}

/* ========================================= */
/* GLOBAL RESET & BASE STYLES */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Poppins", Arial, sans-serif;
}

body {
    background: var(--grey);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ========================================= */
/* MINIMAL & COMPACT NAVBAR — FIXED LEFT ALIGNMENT */
/* ========================================= */

/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    width: 100%;
    padding: 10px 0;  /* removed left/right padding */
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: space-between; /* brand left, menu right */
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    position: fixed;
    top: 0;
    z-index: 1000;
    padding-left: 5px !important;
    padding: 8px 0;
}
.navbar .container {
    padding-left: 5px !important;
    margin-left: 0 !important;
     width: 100% !important;
    max-width: 100% !important;  
    padding-right: 30px !important;    
    margin: 0 !important;
}
/* Branding section (Logo + Text) */
.brand-box {
    display: flex;
    align-items: center;
    gap: 6px; /* much smaller gap */
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Logo */
.brand-logo {
    height: 42px; /* compact */
    margin: 0 !important;
    padding: 0 !important;
}

/* Company Name */
.brand-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark-blue);
    margin: 0 !important;
}

/* Tagline */
.brand-tagline {
    font-size: 10px;
    letter-spacing: 0.4px;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 500;
    color: var(--primary);
}

/* Navigation Menu */
nav {
    display: flex;
    align-items: center;
    
}

nav a {
    margin-left: 15px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-blue);
    text-decoration: none;
}

nav a:hover {
    color: var(--primary);
}

/* Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 12px 0;
        gap: 6px;
    }
.brand-tagline {
        display: none !important;
    }
    .brand-box {
        gap: 4px !important;
    }

    .brand-logo {
        height: 34px;
    }

    .brand-title {
        font-size: 14px;
        line-height: 1.1;
    }

    nav a {
        margin: 4px;
        font-size: 13px;
    }
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--primary);
}

/* Mobile Menu (hidden by default) */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #ffffff;
    width: 100%;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.mobile-menu a {
    padding: 10px 0;
    font-size: 14px;
    color: var(--dark-blue);
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ===== MEDIA QUERY ===== */
@media (max-width: 768px) {

    /* Hide desktop links */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Mobile menu visible when active */
    .mobile-menu.active {
        display: flex;
    }

}
/* ========================================= */
/* HERO SECTION */
/* ========================================= */
.hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: flex-start; /* left alignment */
    overflow: hidden;
    padding-left: 7%;
    padding-right: 7%;
}

/* Video styling */
.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: brightness(0.55);
    z-index: -1;
    object-position: center;
}

/* Desktop / mobile video handling */
.desktop-video { display: block; }
.mobile-video { display: none; }

@media (max-width: 768px) {
    .desktop-video { display: none; }
    .mobile-video { display: block; }
}

/* Hero content */
.hero-content {
    max-width: 520px;
    animation: fadeUp 1.2s ease-out;
    transform: translateY(0); /* vertically centered already */
}

/* Hero heading */
.hero-content h1 {
    color: #ffffff;
    font-size: clamp(24px, 4vw, 42px); /* responsive heading */
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 4px 14px rgba(0,0,0,0.45);
    margin: 0;
}

/* Hero subtitle */
.hero-content p {
    color: #e9e9e9;
    font-size: clamp(14px, 3vw, 18px); /* responsive paragraph */
    line-height: 1.4;
    margin-top: 12px;
    max-width: 450px;
}

/* Smooth fade animation */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* Extra adjustments for small screens */
@media (max-width: 480px) {
    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }
    .hero-content {
        max-width: 90%;
    }

    /* Reduce heading and paragraph for small mobiles */
  .hero-content h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }

    .hero-content p {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-top: 6px !important;
    }
}



/* ========================================= */
/* ABOUT SECTION - MODERN MINIMAL LAYOUT */
/* ========================================= */

.about-section {
    padding: 60px 0;
}

.about-section .row {
    align-items: center;
}

/* ABOUT TEXT */
.about-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.about-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--muted);
}

/* ABOUT IMAGE */
.about-section img {
    width: 100%;
    max-width: 380px;
    border-radius: 10px;
    display: block;
    margin-left: auto;   /* pushes image to the right */
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* ========================================= */
/* MOBILE RESPONSIVE */
/* ========================================= */
@media (max-width: 768px) {
    
    .about-section {
        padding: 40px 0;
    }

    .about-text h2 {
        text-align: center;
        font-size: 24px;
    }

    .about-text p {
        text-align: center;
        font-size: 14px;
    }

    .about-section img {
        margin: 20px auto 0;   /* center image on mobile */
        max-width: 300px;
    }

    .about-section .row {
        text-align: center;    /* centers text for mobile */
    }
}

/* ========================================= */
/* WHAT WE DO SECTION */
/* ========================================= */
/* WHAT WE DO – Compact version */

.what-we-do {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
}

.what-we-do h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.wwd-box {
    background: #ffffff;
    padding: 20px 15px;
    border-radius: 12px;
    width: 100%;
    border: 1px solid #eaeaea;
    transition: 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.wwd-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.08);
}

.wwd-box img {
    height: 45px;
    margin-bottom: 14px;
}

.wwd-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.wwd-box p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}


/* ========================================= */
/* PROJECT SECTION */
/* ========================================= */
.projects-section {
    padding: 80px 30px;
    background: #e7f0f7;
    text-align: center;
}

.projects-section h2 {
    font-size: 32px;
    color: #003B66;
    margin-bottom: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card-content h3 {
    margin-bottom: 12px;
}

.project-card-content p {
    flex: 1;
    color: var(--muted);
}

/* ========================================= */
/* BUTTONS */
.view-more-btn {
    padding: 12px 28px;
    background: var(--dark-blue);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.trusted-section h2 {
    font-size: 32px;
    color: #003B66;
    margin-bottom: 40px;
}

/* ========================================= */
/* MINIMAL FOOTER */
/* ========================================= */
.footer {
    background: var(--dark-blue);
    color: #fff;
    padding: 20px 10px; /* smaller padding for minimal look */
    text-align:right;
    font-size: 10px;
}

.footer .copyright {
    margin: 0;
}

/* Responsive: smaller text on mobile */
@media (max-width: 768px) {
    .footer {
        padding: 15px 10px;
        font-size: 8px;
    }
}


/* ========================================= */
/* LOGO SLIDER */
.logo-slider {
    overflow: hidden;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    gap: 50px;
    animation: scroll 20s linear infinite;
}

.logo-track img {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========================================= */
/* ANIMATIONS */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.2s ease forwards;
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Industrial card shine effect */
.card-industrial::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -120%;
    width: 250%;
    height: 250%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: rotate(25deg);
    animation: shine 4s infinite linear;
}
@keyframes shine {
    0% { transform: translateX(-200%) rotate(25deg); }
    100% { transform: translateX(200%) rotate(25deg); }
}

/* ========================================= */
/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 18px; }
    .about-section { flex-direction: column; padding: 40px 20px; text-align: center; }
    .wwd-container { flex-direction: column; gap: 20px; }
    .project-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 26px; }
    .project-card img { height: 160px; }
}
/* ============================= */
/* SERVICES SECTION */
/* ============================= */

.services-section {
    padding: 60px 0;
    background-color: #e7f0f7;
}

.services-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 35px;
    color: var(--dark-blue);
}

/* Grid layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Service card */
.service-card {
    position: relative;
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Dark overlay */
.service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    transition: 0.3s ease-in-out;
}

/* Hover zoom */
.service-card:hover {
    transform: scale(1.03);
}

/* Remove overlay slightly on hover */
.service-card:hover .overlay {
    background: rgba(0,0,0,0.3);
}

/* Title styling */
.service-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Yellow line */
.service-title .line {
    width: 4px;
    height: 16px;
    background: #f9b233;
    margin-right: 8px;
    border-radius: 2px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .service-card {
        height: 160px;
    }

    .service-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 180px;
    }
}
/* Main category heading - centered, no underline */
h2.category-title {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 40px;
    color: var(--dark-blue);
    text-align: center; /* center the main heading */
    padding-bottom: 0;
}

/* Subcategory heading - full-width blue banner, text left-aligned */
h4.subcategory-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    background-color: var(--primary); /* full blue background */
    color: var(--white); /* white text */
    padding: 0.6rem 1rem;
    border-radius: 6px;
    width: 100%; /* full width of container */
    text-align: left; /* text aligned left */
}

/* Product card adjustments */
.welding-card img {
    height: 220px; /* bigger for better pictures */
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.welding-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.welding-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.welding-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.welding-card .card-body {
    padding: 0.8rem;
}

.welding-card .card-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h2.category-title {
        padding-top: 50px;
        font-size: 1.7rem;
    }

    h4.subcategory-title {
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    .welding-card img {
        height: 180px;
    }
}
