:root {
    --primary-color: #0066cc;
    --secondary-color: #6c757d;
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
    --white-bg: #ffffff;
    --accent: #00a5ff;
    --muted: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-bg);
}

/* Smooth scrolling for anchor navigation */
html { scroll-behavior: smooth; }

/* Navbar Glassmorphism */
.navbar {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,249,250,0.95));
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-bg);
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.btn-icon {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--dark-bg);
    transition: color 0.3s ease;
}

.btn-icon:hover {
    color: var(--primary-color);
}

/* Search Bar */
.search-bar {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-bar.active {
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Smaller page hero used on product/service detail pages */
.page-hero {
    position: relative;
    height: 360px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 1.5rem;
}

.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
    z-index: 1;
}

.page-hero .hero-inner {
    position: relative;
    z-index: 3;
    padding-left: 12%;
}

.page-hero h1 {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    .page-hero { height: 220px; padding: 1rem 0; }
    .page-hero .hero-inner { padding-left: 5%; }
    .page-hero h1 { font-size: 1.6rem; }
}

.carousel-item img {
    height: 100vh;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Slight teal gradient to make the hero pop */
    background: linear-gradient(120deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,80,0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 12%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.hero-content h1 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-size: 3.2rem;
    font-weight: 800;
}

.hero-content .lead {
    font-size: 1.4rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-content {
        left: 5%;
        max-width: 90%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.6rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease; 
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 165, 255, 0.18);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Cards */
.info-card, .machinery-card, .service-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 70%);
    position: relative;
    overflow: visible; /* allow accent to extend */
}

.info-card:hover, .machinery-card:hover, .service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
}

/* New card accent bar */
.card-accent {
    position: absolute;
    top: -8px;
    left: 10px;
    right: 10px;
    height: 6px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(0,165,255,1), rgba(0,102,204,1));
    box-shadow: 0 6px 16px rgba(0,165,255,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover .card-accent {
    transform: translateY(-2px) scaleX(1.02);
    box-shadow: 0 12px 28px rgba(0,165,255,0.14);
}

/* Card body tweaks */
.card-body .card-title {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.card-body .card-text {
    color: var(--muted);
    font-size: 0.95rem;
}

/* CTA footer inside card */
.card-footer { 
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.card-cta-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.card-cta-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Icon wrapper - subtle background and gradient */
.icon-wrapper {
    width: 84px;
    height: 84px;
    margin: 0 auto;
    background: linear-gradient(180deg, #f6fbff, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.03);
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Subtle pop-in for cards when hovering on desktop */
@media (hover: hover) {
  .card:hover { transform: translateY(-6px) scale(1.02) !important; }
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #13b36b, #17a058);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: white;
}

/* WhatsApp CTA button used in Contact section */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #00c853, #00a65a);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.12);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 200, 83, 0.16);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Subtle card top border accent */
.card-img-top {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: inset 0 -8px 24px rgba(0,0,0,0.04);
}

/* Spacing between navbar items */
.navbar-nav .nav-link {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
}

/* Brand on left side of navbar */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-right: 2rem;
}

/* Improve breadcrumbs readability */
.breadcrumb a {
    color: var(--muted);
}

/* Subtle hover for breadcrumb links */
.breadcrumb a:hover {
    color: var(--primary-color);
}