/* --- Basic Reset & Defaults --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #003d80;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    margin-bottom: 0.8em;
    color: #1a2533;
    line-height: 1.2;
}

h1 { 
    font-size: 2.5rem; 
    font-weight: 700;
}
h2 { 
    font-size: 2rem; 
    font-weight: 600;
}
h3 { 
    font-size: 1.5rem; 
    font-weight: 600;
}
h4 { 
    font-size: 1.2rem; 
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

section {
    padding: 60px 0;
}

.section {
    padding: 60px 0;
}

/* --- Header & Navigation --- */
.header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    padding: 8px 16px;
    font-weight: 500;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #0056b3;
    background-color: rgba(0, 86, 179, 0.05);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #0056b3;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    color: #0056b3;
    background-color: rgba(0, 86, 179, 0.05);
}

.dropdown-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    color: #0056b3;
    background-color: rgba(0, 86, 179, 0.05);
    padding-left: 25px;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, #1da851 0%, #0d7c6e 100%);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Responsiveness for Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 15px;
        display: block;
        text-align: left;
        width: 100%;
    }
    
    /* Mobile dropdown styling */
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        text-align: left;
        justify-content: space-between;
        padding: 15px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        background: #f8f9fa;
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0 10px 20px;
    }
    
    .dropdown-menu li {
        border-bottom: none;
    }
    
    .dropdown-menu a {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    /* Remove duplicate .main-nav styles */
    .main-nav,
    .main-nav ul,
    .main-nav li,
    .main-nav a {
        display: none !important;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #0056b3 0%, #003366 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004a9c 0%, #002244 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.3);
    color: white;
}

.btn-secondary {
    background: #f8f9fa;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.btn-secondary:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
    padding: 10px 24px;
    margin-top: 10px;
    cursor: pointer;
}

.btn-outline:hover {
    background: #0056b3;
    color: white;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    background-image: url('../images/pcb-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Section Styling --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: #0056b3;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #1a2533;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #00aaff);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-image {
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    margin-bottom: 10px;
    color: #1a2533;
}

.feature-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* --- Material Sections --- */
.material-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.material-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.material-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.material-container:hover .material-image img {
    transform: scale(1.02);
}

.material-info h3 {
    color: #1a2533;
    margin-bottom: 20px;
}

/* Specifications Box */
.specs-box {
    background: #f8f9fa;
    border-left: 4px solid #0056b3;
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
}

.specs-box h4 {
    color: #1a2533;
    margin-bottom: 15px;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li strong {
    color: #333;
    font-weight: 600;
}

/* --- Gallery --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* --- Assembly Capabilities --- */
.assembly-capabilities {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.capability {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.capability:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.capability i {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.capability h4 {
    color: #1a2533;
    margin-bottom: 10px;
}

.capability p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* --- Prototyping Options --- */
.prototyping-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.prototype-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.prototype-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.prototype-card.featured {
    border-color: #0056b3;
    position: relative;
    overflow: hidden;
}

.prototype-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 15px;
    right: -30px;
    background: #0056b3;
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.prototype-icon {
    font-size: 3rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.prototype-card h3 {
    color: #1a2533;
    margin-bottom: 15px;
}

.prototype-card p {
    color: #666;
    margin-bottom: 20px;
}

.prototype-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.prototype-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.prototype-card li:last-child {
    border-bottom: none;
}

.prototype-card li::before {
    content: '✓';
    color: #25D366;
    margin-right: 10px;
    font-weight: bold;
}

/* --- Turnaround Table --- */
.turnaround-table {
    margin-top: 50px;
    overflow-x: auto;
}

.turnaround-table h3 {
    text-align: center;
    margin-bottom: 25px;
}

.turnaround-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.turnaround-table thead {
    background: linear-gradient(135deg, #0056b3 0%, #003366 100%);
    color: white;
}

.turnaround-table th {
    padding: 15px;
    font-weight: 600;
    text-align: left;
}

.turnaround-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.turnaround-table tbody tr:hover {
    background-color: #f8f9fa;
}

.turnaround-table td {
    padding: 15px;
    color: #555;
}

.turnaround-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* --- Material Categories & Products --- */
.material-categories {
    margin-top: 40px;
}

.material-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

.material-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.material-title {
    color: #1a2533;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0056b3;
    display: inline-block;
}

.material-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.category-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.category-image:hover img {
    transform: scale(1.03);
}

.material-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 150px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.product-info h4 {
    color: #1a2533;
    margin-bottom: 8px;
    font-size: 1rem;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* --- CTA Section --- */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: #1a2533;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #0056b3;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #0056b3;
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info i {
    color: #0056b3;
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #0056b3;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #0056b3;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0056b3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #004a9c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .material-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .material-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .material-products {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid,
    .prototyping-options,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .material-products {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* --- Animation Keyframes --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Service Grid (Similar to services.html) --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-item h3 {
    padding: 20px 20px 10px;
    color: #1a2533;
    font-size: 1.3rem;
}

.service-item p {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

/* Responsive adjustments for service grid */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 250px;
    background: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.text-center {
    text-align: center;
}

/* --- Gallery View More Button --- */
.gallery-view-more {
    margin-top: 40px;
    text-align: center;
}

/* Responsive adjustments for gallery */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .gallery-item {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-item {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        height: 200px;
    }
}
/* Breadcrumb Styles - Reusable Component with Transparency */
.breadcrumb-wrapper {
     background: rgba(11, 43, 64, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border-bottom: 2px solid rgba(250, 204, 21, 0.6); /* Slightly transparent gold */
    padding: 0.8rem 0;
    position: relative;
    z-index: 999; /* Increased z-index to stay above hero */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background 0.3s ease; /* Smooth transition on scroll */
}

/* Optional: Make it more transparent on hover */
.breadcrumb-wrapper:hover {
    background: rgba(11, 43, 64, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Alternative: Transparent version with gradient */
.breadcrumb-wrapper.gradient {
    background: linear-gradient(135deg, rgba(11, 43, 64, 0.9) 0%, rgba(11, 43, 64, 0.7) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.breadcrumb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-nav li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(226, 232, 240, 0.9); /* Slightly transparent text */
}

.breadcrumb-nav li:not(:last-child):after {
    content: "/";
    color: #facc15;
    font-weight: 500;
    margin-left: 0.4rem;
}

.breadcrumb-nav a {
    color: #ffd966;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.breadcrumb-nav a:hover {
    color: white;
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.breadcrumb-nav .current-page {
    color: white;
    font-weight: 600;
    background: rgba(250, 204, 21, 0.25); /* Semi-transparent background */
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    letter-spacing: 0.2px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.product-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.product-shortcut {
    background: rgba(255, 255, 240, 0.12);
    border-radius: 40px;
    padding: 0.3rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #facc15;
    transition: all 0.2s;
    border: 1px solid rgba(250, 204, 21, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.product-shortcut i {
    font-size: 0.7rem;
    color: #ffd966;
}

.product-shortcut:hover {
    background: rgba(250, 204, 21, 0.9);
    color: #0b2b40;
    border-color: #facc15;
    transform: translateY(-2px);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

.product-shortcut:hover i {
    color: #0b2b40;
}

/* Optional: Scroll effect - becomes less transparent when scrolling */
@media (min-width: 768px) {
    .breadcrumb-wrapper.scrolled {
        background: rgba(11, 43, 64, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom-color: #facc15;
    }
}

@media (max-width: 860px) {
    .breadcrumb-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-shortcuts {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.3rem;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .product-shortcut {
        white-space: nowrap;
    }
}

@media (max-width: 550px) {
    .breadcrumb-nav li {
        font-size: 0.7rem;
    }
    .product-shortcut {
        font-size: 0.65rem;
        padding: 0.2rem 0.7rem;
    }
}