/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}


/********** CUSTOM STYLING **********/

@font-face {
  font-family: custom-icon;
  src: url(assets/fonts/icons/icomoon.woff);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/*** Scroll Button ***/

#scrollUpBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: opacity 0.3s;
    z-index: 1000;
}

#scrollUpBtn:hover {
    background-color: #555;
}

/*** Header ***/

header {
	background: #d11f2f;
}

header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
    margin: 0 0 !important;
    width: 100% !important;
    max-width: unset !important;
}

.site-logo img {
	max-width: 160px;
}

li.wp-block-navigation-item.wp-block-navigation-link::after {
	content: "";
    width: 0%;
    height: 2px;
    position: absolute;
    bottom: -4px;
    background: #fff;
    transition: all ease-in-out .3s;
    border-radius: 2px;
}

li.wp-block-navigation-item.wp-block-navigation-link:hover::after {
	width: 100%;
}

.wp-block-navigation-link a {
	font-size: 14px !important;
	color: #fff !important;
    outline: none;
    border: none;
}

.wp-block-navigation-link a:hover {
	text-decoration: none !important;
	color: #f6f6f6 !important;
}

.social-icons ul {
	display: flex;
	list-style-type: none;
}

.social-icons ul li {
	display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    margin: 0 5px;
    border-radius: 8px;
}

.social-icons ul a {
	text-decoration: none;
}


.social-icons ul li .icon-facebook:before {
	content: "\ea90";
    font-family: 'custom-icon';
    color: #fff;
	font-size: 14px;
    line-height: 30px;
    display: block;
}

.social-icons ul li .icon-instagram:before {
	content: "\ea92";
    font-family: 'custom-icon';
    color: #fff;
	font-size: 14px;
    line-height: 30px;
    display: block;
}

.social-icons ul li span {
	display: block;
    width: 30px;
    height: 30px;
    text-align: center;
}

/*** Footer ***/

footer {
	margin-top: 0 !important;
	background: #d11f2f;
}



/*** Main Banner ***/

.main-banner {
	width: 100%;
    max-width: unset !important;
    margin-top: 60px !important;
    position: relative;
}

.main-banner::before {
	content: "";
    position: absolute;
    top: 50px;
    width: calc(100% + 100px);
    height: calc(100% - 50px);
    left: -50px;
    background: #333;
    z-index: 9;
}

.main-banner .n2-section-smartslider {
	border-radius: 2px;
    overflow: hidden;
   	z-index: 999;
}

.carousel-container {
    width: 100%;
    margin: auto;
    overflow: hidden;
    position: relative;
    padding: 0 8px;
}

.carousel-wrapper {
	overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: calc(100% / 6 - 12px);
    background: #ddd;
    text-align: center;
    font-size: 20px;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 6px;
}

.carousel-item .picture {
	display: block;
    overflow: hidden;
}

.carousel-item .picture img {
	width: 100%;
    float: left;
}

.carousel-item .title {
	display: block;
    overflow: hidden;
    background: #424242;
}

.carousel-item .title h3 {
	font-size: 14px;
    color: #fff;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ccc;
    color: #454545;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 99;
    border-radius: 2px;
    border: none;
    outline: none;
}

.prev { left: 0px; }
.next { right: 0px; }


/*** Home Page ***/

.page.page-id-39 main {
	margin-top: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

.page.page-id-39 main > div {
	padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page.page-id-39 main .wp-block-post-title {
	display: none !important;
}

.page.page-id-39 main .wp-block-post-title ~ div.entry-content {
	margin-top: 0 !important;
    padding: 0 !important;
}

.page.page-id-39 main .wp-block-post-title ~ div.entry-content > div {
	padding: 0 50px;
}

/*** About Us ***/

.about-us{
	width: 100%;
    max-width: 100%;
    background: #333;
    margin-top: 0 !important;
}

.about-us .container {
	padding: 60px 0 50px;
    position: relative;
}

.about-us h2,
.about-us p {
	color: #fff;
    text-align: center;
}

.about-us h2 {
	font-size: 40px;
	font-weight: bold;
}

.about-us .container::after {
	content: "";
    width: calc(100% + 110px);
    height: 58px;
    display: block;
    position: absolute;
    bottom: -29px;
    background: #333;
    transform: rotate(2deg);
    border-bottom: 3px solid red;
    left: calc(-5px - 50px);
}

/*** Products & Services ***/

.products-and-services {
	width: 100%;
    max-width: 100%;
    margin-top: 100px !important;
}

.products-and-services h2 {
	font-size: 40px;
	font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.products-and-services h2::after {
	content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 5px;
    bottom: 0;
    left: 0;
    background: #d21f2f;  
    border-radius: 2px;
}

.products-and-services p {
	margin-bottom: 45px;
}

.accordion-wrapper {
	display: flex;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
}

.accordion-wrapper .col {
	width: 50%;
}

.accordion-wrapper .col:first-child {
	padding-right: 10px;
}

.accordion-wrapper .col:last-child {
	padding-left: 10px;
}

.accordion-wrapper .col button {
	width: 100%;
    background: #333;
    color: #fff;
    line-height: 50px;
    border: none;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 22px;
    text-align: left;
    padding: 0 15px;
    border-radius: 2px;
    border-bottom: 3px solid #6b6b6b;
    position: relative;
}

.accordion-wrapper .col button::after {
	content: "\ea3e";
    display: block;
    font-family: 'custom-icon';
    position: absolute;
    font-size: 12px;
    right: 15px;
    top: 0;
}

.accordion-wrapper .col button.active::after {
	transform: rotate(180deg);
}

.accordion.active {
	margin-bottom: 0 !important;
}

.accordion-wrapper .col .panel {
	display: none;
    background: rgb(246, 246, 246);
    padding: 15px;
    border-radius: 2px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(107, 107, 107);
}

.accordion-wrapper p {
	margin-bottom: 5px;
    margin-top: 5px;
    font-size: 14px;
}



/*** Supplier ***/

.suppliers {
	width: 100%;
    max-width: 100%;
    margin-top: 100px !important;
    margin-bottom: 100px !important;
}

.suppliers h2 {
	font-size: 40px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.suppliers h2::after {
	content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 5px;
    bottom: 0;
    left: 0;
    background: #d21f2f;
    border-radius: 2px;
}

.supplieres p {
	margin-bottom: 45px;
}

/*** Hardware ***/

.hardware {
	width: 100%;
    max-width: 100%;
    margin-top: 100px !important;
}

.hardware h2 {
	font-size: 40px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.hardware h2::after {
	content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 5px;
    bottom: 0;
    left: 0;
    background: #d21f2f;
    border-radius: 2px;
}

.hardware p {
	margin-bottom: 45px;
}



/*** Contact Us ***/

.contact {
	width: 100%;
    max-width: 100%;
    background: #d21f2f;
    margin-top: 0 !important;
}

.contact h2,
.contact p {
	color: #fff;
}

.contact h2 {
    font-size: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.contact h2::after {
	content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 5px;
    bottom: 0;
    left: 0;
    background: #90141f;
    border-radius: 2px;
}

.contact .container {
	padding: 60px 0 30px;
    position: relative;
}

.contact .form-wrapper {
	display: flex;
    flex-wrap: wrap;
}

.contact .form-wrapper .col {
	width: 50%;
    
}

.contact .form-wrapper form p {
	margin: 0 0 8px 0;
}

.contact .form-wrapper form span {
	display: block;
    width: 100%;
}

.contact .form-wrapper input,
.contact .form-wrapper textarea {
	width: 100% !important;
    padding: 0 15px;
    outline: none !important;
    border-radius: 2px;
}

.contact .form-wrapper input {
	height: 50px;
    border: none;
}

.contact .form-wrapper textarea {
	border: none;
    padding: 15px;
}

.wpcf7-spinner {
	display: none;
}

.wpcf7-submit {
	background: #90141f;
    color: #fff;
    font-size: 22px;
}