body { 
    font-family: "Segoe UI", sans-serif; 
}

/* Hero Section */
.hero-section {
    background: url('home-hero.jpg') center/cover no-repeat;
    min-height: 80vh;
    position: relative;
    color: #fff;
}
.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
}
.hero-content { 
    position: relative; 
    z-index: 2; 
}

/* Gold Gradient Text */
.text-gradient-gold {
    background: linear-gradient(to right, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gold Gradient Text */
.text-gradient-black {
    background: linear-gradient(to right, black, #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-gold { 
    background-color: #FFD700; 
    color: #000; 
}

.btn-gold-outline {
    border: 2px solid #FFD700;
    color: #FFD700;
    background: transparent;
}

.form-control:focus {
    box-shadow: none;
    border-color: #FFD700;
}

.contact-info i {
    font-size: 1.5rem;
    color: #FFD700;
}

/* Activity Cards */
.activity-card {
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.activity-card p {
    flex-grow: 1;
}
.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Product Cards */
.product-card { 
    height: 390px; 
}
.product-card img {
    height: 180px; 
    object-fit: cover;
}

/* Footer */
footer { 
    background-color: #0b132b; 
    color: #ccc; 
}
.footer-links a { 
    color: #ccc; 
    text-decoration: none; 
}
.footer-links a:hover { 
    color: #FFD700; 
}
footer a {
    color: #ccc;
    transition: color 0.3s;
}
footer a:hover {
    color: #FFD700;
}
footer .text-warning:hover {
    color: #ffc107 !important;
}
footer p, footer small {
    font-size: 0.9rem;
}

/* Carousel */
.carousel-caption {
    bottom: 30%;
    text-align: left;
}
.carousel-caption h1 {
    font-size: 3rem;
}
.carousel-caption p {
    font-size: 1.25rem;
}

.contact-header {
    background: url('../img/contact-us.jfif') center/cover no-repeat;
    min-height: 70vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center; /* Vertically centers content */
    justify-content: flex-start; /* Align left horizontally */
    text-align: left;
    padding-left: 25px;
}

.contact-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.contact-header h1 {
    position: relative;
    z-index: 1; /* Keeps text above overlay */
    margin: 0;
}

.vertical-divider {
    width: 1px;
    background-color: #FFD700;
    height: 100%;
}

.service-section {
    background: url('../img/banners/services.jpeg') center/cover no-repeat;
    min-height: 70vh;
    position: relative;
    color: #fff;
}

.calibration-section {
    background: url('../img/banners/calibration.jpeg') center/cover no-repeat;
    min-height: 70vh;
    position: relative;
    color: #fff;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.industries-section {
    background: url('../img/banners/industries.jpeg') center/cover no-repeat;
    min-height: 70vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.product-section {
    background: url('../img/services.jfif') center/cover no-repeat;
    min-height: 70vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.industry-card {
    border: none;
    border-radius: 12px;
    transition: transform .3s, box-shadow .3s;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Customize active tab */
.nav-pills .nav-link.active {
    background: #FFD700;
    color: #000;
}

.nav-pills .nav-link {
    transition: all 0.3s;
}

.nav-pills .nav-link:hover {
    background: #FFC107;
    color: #000;
}

.feature-icon {
    font-size: 2rem;
    color: #ffd700;
}

.text-justified {
    text-align: justify;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.min-4-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;   /* exactly 4 rows */
    overflow: hidden;
    min-height: calc(1.2em * 4); /* ensures min 4 rows */
}

.min-3-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;   /* exactly 4 rows */
    overflow: hidden;
    min-height: calc(1.2em * 3); /* ensures min 4 rows */
}

.fabrication-section {
    background: url('../img/banners/fabrication.jpg') center/cover no-repeat;
    min-height: 70vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}