/*
Theme Name: AFISBH Custom Theme
Theme URI: https://www.afisbh.com
Author: 
Author URI: https://yourwebsite.com
Description: Custom WordPress theme replicating AFISBH Joomla design
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: afisbh
*/
/* HERO BANNER */
/* STICKY HEADER */
body {
    padding: 0;
    margin: 0;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
}
  /* Hero Section Styles */
  .hero-section {
    position: fixed;
    height: 100vh;
    overflow: hidden;
}

.hero-carousel, .hero-carousel div {
    height: 100vh;
}

.hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


  .scroll-down-arrow {
   position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    cursor: pointer;
    color: #ff0000;
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -8px); }
  }
.industrial-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #333366; /* optional background */
    font-family: Arial, sans-serif;
}
.read-btn{
    background-color: red;
    color: white;
    padding: 10px 22px;
    border-radius: 9px;
    border: none;
    margin-top:10px;
}
.industrial-tags span {
    display: inline-block;
    margin: 0 10px;
    font-size: 14px;
    color: #1648ce;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.industrial-section h1 {
    font-size: 36px;
    margin: 20px 0 10px;
    color: #fff;
}

.section-line {
    width: 900px;
    height: 1px;
    background-color: #fff; /* blue line */
    margin: 20px auto;
    border: none;
}

.section-text {
    font-size: 16px;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Center entire section content */
.our-products {
    padding: 30px 0;
    background-color: #f9f9f9;
    text-align: center;
}
.our-products .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.our-products h2 { 
color: #ff0000;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 100;
}
.our-products p{
	font-size:14px;
	color:#333;
}
.our-products span {

	color:#503089;
}
.our-products a{
text-decoration: none;
}
/* Center PDF button */
.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px auto;   /* CENTER BUTTON */
}

/* PDF badge */
.pdf-icon {
    background: #fff;
    color: #0d6efd;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 3px;
}

/* Center carousel container */
.product-carousel {
    margin-top: 40px;
}

/* Center each product item */
.product-carousel .product-item {
    padding: 15px;
    text-align: center;
	width:202px!important;
}

/* Center product images */
.product-carousel .product-item img {
    max-width: 200px;
    margin: 0 auto;
    display: block;
    border:1px solid #cacaca;
}

/* Center product title */
.product-carousel h3 {
    margin-top: 0;
    font-size: 1.1rem;
    text-align: center;
	background-color: #f31c1c;
    padding: 7px;
    color: #fff;
}

.footer {

  background: #2f2f2f;
  padding: 40px 20px;
}
.custom-footer {
  display: block !important;
  color: #fff;
  background: #2f2f2f;
  padding: 40px 20px;
}
.footer-col h3 {
  text-transform: uppercase; /* Makes text uppercase */
	text-align: center;
}
.custom-footer iframe {
  width: 100%;
  height: 200px;
  border: 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.map-box iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

.contact-form button {
  background: #3b3b98;
  color: #fff;
  border: none;
  padding: 10px;
}
.address{
	color:white;
}
.map-box2 iframe{
	margin-top:60px;
	height: 180px;
}
.cont h3 {
	color:white;
}
.wpcf7 input, .wpcf7 textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.wpcf7 button {
  background: #333366;
  color: #fff;
  padding: 10px 20px;
	text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.wpcf7 button:hover {
  background: #e0a800;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #888;
}
@media (max-width: 1024px) {

	.custom-footer p{
		width:90%
	}
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
	.custom-footer p{
		width:90%
	}
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-box {
    border: 2px solid #0b2c66;
    padding: 20px;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
}

.product-box:hover {
    transform: translateY(-5px);
}

.product-box img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.product-box h3 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.product-box a {
    text-decoration: none;
}
.category-title {
    margin-bottom: 30px;
    font-size: 28px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    border: 2px solid #0b2a6f;
    padding: 20px;
    text-align: center;
    background: #fff;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.product-card h3 {
    margin: 15px 0;
    font-size: 18px;
	text-decoration: none!important;
	color: black;
}


.btn {
    display: inline-block;
    color: #fff;
    padding: 10px 18px;
    text-decoration: none;
    font-size: 14px;
}
@media (max-width: 768px) {

  .product-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-box img,
  .product-card img {
    height: auto;
    max-height: 180px;
  }

  .product-box h3,
  .product-card h3 {
    font-size: 16px;
  }
}
@media (max-width: 576px) {

  .product-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-box img,
  .product-card img {
    max-height: 160px;
  }
}

@media (max-width: 992px) {


  .industrial-section h1 {
    font-size: 32px;
  }

  .section-text {
    font-size: 15px;
  }

  .footer-container {
    flex-direction: column;
  }

	
  .pdf-btn {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {

  /* HERO */
  

  .scroll-down-arrow {
    bottom: 15px;
  }

  /* INDUSTRIAL */
  .industrial-section {
    padding: 50px 15px;
  }

  .industrial-section h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .section-text {
    font-size: 14px;
  }

  .read-btn {
    width: 100%;
  }

  /* PRODUCTS */
  .our-products {
    padding: 50px 0;
  }

  .product-carousel h3 {
    font-size: 15px;
  }

  /* FOOTER */
  .footer-col {
    margin-bottom: 40px;
  }

  .map-box iframe,
  .map-box2 iframe {
    height: 180px;
  }
}
