/*All CSS style Code here for Gaurav Fabricaors*/
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* === Basic Header Styles === */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.logo img {
    height: 45px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

/* === Dropdown Base === */
.dropdown .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* === Horizontal layout === */
.submenu.horizontal {
    display: flex;
    flex-direction: column;
    gap: 5px;
    white-space: nowrap;
}

.submenu.horizontal li {
    display: block;
}

.submenu.horizontal li a {
    display: block;
    padding: 8px 8px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #333;
    font-size: 12px;
    transition: background 0.3s ease, color 0.3s ease;
}

.submenu.horizontal li a:hover {
    background: #007bff;
    color: #fff;
}

/* === Mobile Styles === */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 22px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        border-top: 1px solid #eee;
        display: none;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Submenu becomes vertical on mobile */
    .submenu.horizontal {
        flex-direction: column !important;
        box-shadow: none;
        padding: 0;
        gap: 0;
    }

    .submenu.horizontal li a {
        border-radius: 0;
        background: transparent;
        color: #333;
    }

    .dropdown:hover .submenu {
        transform: none;
    }

    .dropdown>a i {
        display: none;
    }
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Banner Slider Styles */
.banner-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slide-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: white;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: white;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* About Section Styling */
#about {
    padding: 60px 0;
    background: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* ✅ Read More Button Style */
.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 90%;
    }
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Products Section Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    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: 20px;
}

.product-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-rating {
    color: #f39c12;
    margin-bottom: 15px;
}

/* Testimonials Section Styles */
.testimonials {
    background: var(--light-color);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-color);
}

/* Footer Styles */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.contact-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-details,
.contact-form {
    flex: 1 1 45%;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
}

.contact-form h3,
.contact-details h3 {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button[type="submit"] {
    background: #007bff;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: #0056b3;
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .banner-slider {
        height: 400px;
    }

    .slide-content {
        left: 5%;
        max-width: 90%;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .feature {
        flex: 1 1 100%;
    }
}

/* === Layout & Structure === */
.product-section {
    padding: 50px 0;
    background: #fff;
}

.product-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.product-image1 {
    max-height: 500px;
    overflow: hidden;
}

.product-image1 img {
    width: 600px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: auto;
}

.product-info {
    flex: 1;
}

.product-info h2 {
    color: #0b2d6d;
    margin-bottom: 10px;
}

.product-info h3 {
    color: #1a5fb4;
    margin-bottom: 15px;
}

/* === Table: Applications === */
.application-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 500px;
}

.application-table th {
    background: #0b2d6d;
    color: #fff;
    padding: 8px;
    text-align: left;
}

.application-table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.application-table tbody tr:nth-child(2) td {
    background-color: #ffe8d6;
    color: #d9531e;
}

/* === Product Description === */
.product-description {
    margin-top: 25px;
    text-align: justify;
    color: #444;
    line-height: 1.6;
}

/* === Specification Table === */
.table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 800px;
}

.specs-table th {
    background: #1a5fb4;
    color: #fff;
    padding: 6px;
    border: 1px solid #ccc;
}

.specs-table td {
    border: 1px solid #ddd;
    padding: 6px;
    font-size: 14px;
}

.specs-table tr:nth-child(even) {
    background: #f9f9f9;
}

@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        align-items: center;
    }

    .product-image img {
        width: 90%;
    }

    .application-table,
    .specs-table {
        font-size: 13px;
    }
}

.product-title-header {
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-title-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
}

h1 {
    font-size: 36px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.tagline {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
}

.content-wrapper {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    background: url('../images/products/heat-exchangers.jpg') no-repeat center center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    text-align: center;
    min-height: 400px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    /* black shadow with soft blur */
}

.image-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.image-placeholder h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.image-placeholder p {
    font-size: 16px;
    opacity: 0.9;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
}

.types-list {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.types-list li {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.types-list li:hover {
    background: #e9f7fe;
    transform: translateX(5px);
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #3498db, transparent);
    margin: 30px 0;
}

.spec-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow-x: auto;
}

.spec-section h2 {
    text-align: center;
    display: block;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

th,
td {
    border: 1px solid #e1e1e1;
    padding: 12px 15px;
    text-align: center;
}

th {
    background: linear-gradient(to bottom, #3498db, #2980b9);
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e9f7fe;
}

.section-title {
    background-color: #e6f2ff;
    font-weight: bold;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #7f8c8d;
    font-size: 14px;
    border-top: 1px solid #e1e1e1;
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .image-content {
        order: -1;
    }

    .image-placeholder {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .card,
    .spec-section {
        padding: 20px;
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    .card,
    .spec-section {
        padding: 15px;
    }

    .types-list {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }
}