/* General Styles */
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --primary-light: #6ea8fe;
    --secondary: #6c757d;
    --dark: #212529;
    --light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 56px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-divider {
    height: 4px;
    width: 70px;
    background-color: var(--primary);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}
.hero-text {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
}
.bg-light {
    background-color: #E8E8E8 !important;
}
.bg-white {
    background-color: white !important;
}
.bg-green {
    background-color: darkgreen !important;
}
.text-light {
    color: #adb5bd !important;
}

/* Header/Navigation */

.header-logo {
    height:45px; 
    width: 45px; 
    margin-right: 15px ;
}
.navbar {
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--primary-dark);
}
@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
}
.navbar-toggler {
    background-color: var(--primary-dark);
}
.nav-link {
    font-weight: 500;
    padding: 0.8rem 1rem !important;
    position: relative;
    color: var(--primary-dark);
}
.services-image-container {
    aspect-ratio: 16 / 10;           /* Maintains a 16:9 ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    width: 100%;
}

.services-single-layer {
    background-image: url('/images/single.png');
}
.services-double-layer {
    background-image: url('/images/double.jpg');
}
.services-multi-layer {
    background-image: url('/images/multilayer.jpg');
}
.services-flexible {
    background-image: url('/images/flexible.jpg');
}
.services-stencil {
    background-image: url('/images/stencil.webp');
}
.services-cadcam {
    background-image: url('/images/cadcam.png');
}

.nav-link.active {
    color: var(--primary-dark) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover {
    color: var(--primary-light);
}

.nav-link:hover::after {
    width: 70%;
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, var(--primary-dark), var(--primary)); */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('/images/pcb55.jpeg'); /* Replace with your actual image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}


/* About Section */
.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Products Section */
.product-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-icon-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem 0.375rem 0 0;
}

.product-icon {
    font-size: 3rem;
}

/* Quality Section */
.quality-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quality-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Infrastructure Section */
.infrastructure-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.infrastructure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.infra-icon {
    font-size: 2.2rem;
    color: var(--primary);
    text-align: center;
}

/* Mission & Vision Section */
.mission-list {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}

.mission-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.vision-card {
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Contact Section */
.contact-info {
    height: 100%;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Footer */
.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #adb5bd;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    color: #adb5bd;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-legal {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    margin-bottom: 0;
}

.footer-legal li a {
    color: #adb5bd;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal li a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .quality-feature {
        flex-direction: column;
    }
    
    .quality-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}