:root {
    --primary-color: #17a2b8;
    --primary-dark: #138496;
    --secondary-color: #5bc0de;
    --accent-color: #0e7c8c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 76px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0rem 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-size: 1rem;
    font-weight: bold;
    color: white !important;
    
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    margin-right: 15px;
    filter: brightness(0) invert(1);
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    margin: 0 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding:0px;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
}

.carousel-item:nth-child(1) {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.45) 0%, rgba(14, 124, 140, 0.88) 100%), 
                url('../gallery/032.jpg');
    /* Industrial machinery and tools - To use your own image: url('images/hero-bg-1.jpg') */
    background-size: cover;
    background-position: center;
    
}

.carousel-item:nth-child(2) {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.45) 0%, rgba(14, 124, 140, 0.88) 100%), 
                url('../gallery/055.jpg');
    /* Manufacturing facility - To use your own image: url('images/hero-bg-2.jpg') */
    background-size: cover;
    background-position: center;
}

.carousel-item:nth-child(3) {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.45) 0%, rgba(14, 124, 140, 0.88) 100%), 
                url('../gallery/081.jpg');
    /* Industrial warehouse - To use your own image: url('images/hero-bg-3.jpg') */
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 10;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-custom {
    background: var(--secondary-color);
    color: white;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

.btn-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(23, 162, 184, 0.3);
    color: white;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.55) 0%, rgba(14, 124, 140, 0.92) 100%),
                url('../gallery/034.jpg');
    /* Industrial tools and equipment - To use your own image: url('images/page-header-bg.jpg') */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    padding: 100px 0 60px;
    color: white;
    text-align: center;
    position: relative;
}

/* Add subtle texture overlay */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
}

.page-header h1,
.page-header p {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.section-title p {
    color: #666;
    font-size: 1.2rem;
}

/* About Section */
.about-content {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.about-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-content p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.quality-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin-top: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.quality-box h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Services Section */
.service-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-category h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Portfolio Section */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 162, 184, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: all 0.3s;
    color: white;
    padding: 30px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.portfolio-overlay p {
    font-size: 1.1rem;
}

/* Portfolio Gallery Styles */
.portfolio-gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    height: 250px;
    background: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.95) 0%, rgba(14, 124, 140, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: zoomIn 0.5s;
}

.gallery-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    animation: fadeInUp 0.5s;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 20px;
    background: #f8f9fa;
}

#modalImage {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info-item {
    margin-bottom: 25px;
    padding: 16px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-info-item h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
        display: contents;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

footer p {
    color: rgba(255,255,255,0.8);
}

footer i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}