/* Quartz Hero Section */
.quartz-hero {
     background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/hero-quartz.webp') no-repeat center center/cover;
    color: var(--white);
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    padding: 0 15px;
}

.quartz-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.quartz-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.quartz-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeIn 1.5s ease;
}

/* Applications Section */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.app-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.application-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.application-card ul {
    text-align: left;
}

.application-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.application-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Properties Section */
.properties-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.properties-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.property {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.property:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.property i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.property h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* Highlight Slider Styles */
.highlight-slider {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.highlight-slide {
    position: relative;
    height: 500px;
    display: none;
}

.highlight-slide.active {
    display: block;
}

.highlight-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: var(--white);
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.slide-content p {
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background-color: var(--primary-color);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.slide-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slide-indicators .indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Manufacturing Page Styles */
.manufacturing-hero {
   background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/hero-manufacturing.webp') no-repeat center center/cover;
    color: var(--white);
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    padding: 0 15px;
}

.manufacturing-hero .container {
    max-width: 800px;
}

.manufacturing-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.manufacturing-hero p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.manufacturing-gallery {
    margin-top: 5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
	 width: 100%;
}

.gallery-item img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 1rem;
    margin: 0;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.quality-item {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.quality-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quality-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* Materials Page Styles */
.material-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/hero-material.webp') no-repeat center center/cover;
    color: var(--white);
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    padding: 0 15px;
}

.material-hero .container {
    max-width: 800px;
}

.material-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.material-hero p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.material-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.spec-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.spec-table th, .spec-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.spec-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.spec-table tr:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

.comparison-table {
    overflow-x: auto;
    margin-top: 2rem;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

.comparison-table table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--gray-light);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles for Quartz Pages */
@media (max-width: 992px) {
    .quartz-hero h1 {
        font-size: 2.8rem;
    }
    
    .properties-content {
        grid-template-columns: 1fr;
    }
    
    .properties-image {
        order: -1;
    }
    
    .material-specs {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 576px) {
    .quartz-hero {
        height: 80vh;
    }
    
    .quartz-hero h1 {
        font-size: 2rem;
    }
    
    .highlight-slide {
        height: 350px;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
}
/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/contactus.webp') no-repeat center center/cover;
    color: var(--white);
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.contact-hero p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.info-item {
    margin-bottom: 2rem;
    padding-left: 3rem;
    position: relative;
}

.info-item i {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.map-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Responsive Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* Product Gallery Styles */
.product-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-quartzproduct.webp') no-repeat center center/cover;
    color: var(--white);
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
}

.product-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.product-hero p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease;
}

.gallery-filter {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.filter-btn {
   padding: 8px 16px;
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.item-info {
    padding: 1.5rem;
}

.item-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.item-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}



/* Tab button styles */
.tab-btn {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 5px;
}

.tab-btn:hover {
    background: #e0e0e0;
}

.tab-btn.active {
    background: #2c3e50;
    color: white;
}

/* Tab content styles */
.tab-content {
    display: none;
    padding: 20px;
    background: white;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

@media (min-width: 768px) {
    .process-step {
        flex-direction: row;
        background-color: transparent;
        padding: 0;
    }
}

/* Product Gallery Section */
/* Category Badge */
.product-category {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 86, 179, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-gallery {
   padding: 4rem 2rem;
    background: #f9f9f9;
}

.gallery-controls {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-toggle {
    margin-bottom: 20px;
}




.filter-btn:hover, .filter-btn.active {
    background: #0056b3;
    color: white;
    border-color: #0056b3;
}

.product-showcase {
   display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 8px;
}

.product-card {
  width: 100%;
  max-width: 300px; /* Adjust as needed */
  margin: 0 auto;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-card.active .product-details {
    opacity: 1;
    transform: translateY(0);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card:hover .product-details {
    transform: translateY(0);
}

.product-image-container {
    position: relative;
  width: 100%;
  padding-top: 100%; /* Creates 1:1 aspect ratio */
  background: #f8f8f8;
}

.product-image-container img {
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Key property for shrink-fitting */
  padding: 10px; /* Breathing room around image */
  box-sizing: border-box;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-details {
   padding: 12px;
  text-align: center;
}

.product-details h3 {
   margin: 0 0 4px;
    font-size: 1rem;
}

.product-details p {
   margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.product-actions .btn-small {
   padding: 0.75rem 1.5rem;
    font-size: 1rem;
    width: 100%;
}


.product-actions .btn-small:hover {
    background: #003d82;
}


/* Category tag */
.product-card::before {
    content: attr(data-category);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 86, 179, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	
	
	 .manufacturing-hero h1 {
        font-size: 2rem;
    }
    .manufacturing-hero p {
        font-size: 1rem;
    }
    .quartz-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .quartz-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-slide {
        height: 400px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    .product-hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
	 .contact-hero h1 {
        font-size: 2.5rem;
    }
    .product-showcase {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
	 .product-image-container {
        height: 200px; /* Slightly smaller on mobile */
    }
    
    .product-details {
      display: none;
    }
	 .product-details h3 {
        font-size: 1.1rem;
    }
    
    .product-details p {
        font-size: 0.9rem;
    }
	.product-card {
    max-width: 100%;
  }
  
  .product-image-container {
    padding-top: 80%; /* Adjust aspect ratio for mobile */
  }
}
/* Desktop styles with active state */
@media (min-width: 769px) {
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
    
    .product-card.active {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    
    .product-image-container {
        height: 220px;
    }
    
    .product-details {
        display: block;
    }
}
/* Tablet Styles */
@media (min-width: 600px) {
    .product-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 12px;
    }
}
/* Desktop Styles */
@media (min-width: 900px) {
    .product-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 16px;
    }
    
    .product-image-container {
        height: 240px; /* Fixed height on desktop */
        aspect-ratio: auto;
    }
    
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }
}