/*!
Theme Name: developer_pro
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: developer_pro
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

developer_pro is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

#wpcf7-f253-o2 input[type=submit]{
	color: #fff;
}
#wpcf7-f5-o1 input[type=submit]{
	color: #ffaea8;
}
.erromsg{
	display: none;
}

.reviews-section {
	padding: 40px 0;
	max-width: 1162px;
	margin: 0 auto;
}

.reviews-section .swiper {
	width: 100%;
	height: 100%;
}

.reviews-section .swiper-slide {
	text-align: center;
	font-size: 18px;
	background: rgba(225,213,214, 0.2);
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 520px;
	color: #143c60;
	border-radius: 12px;
}

.swiper-button-next, 
.swiper-button-prev {
	color: #F59B94;
}
.swiper-button-prev {
	left: 40px;
}
.swiper-button-next {
	right: 40px;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
	font-size: 34px;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: 24px;
}
.swiper-pagination-bullet-active {
	background: #F59B94;
}

.rev-item {
	padding: 40px 20px;
}

.rev-stars {
	display: flex;
	align-items:center;
	justify-content: center;
	gap: 4px;
}
.rev-stars svg {
	width: 20px;
	height: 20px;
	color: #143c60;
}
.rev-stars svg path {
	fill: currentcolor;
}

.rev-text {
	max-width: 790px;
	margin: 20px auto;
	font-size: 17px;
	line-height: 1.6;
	font-weight: normal;
}

.rev-name {
	font-size: 17px;
	margin-bottom: 10px;
}
.rev-role {
	font-size: 14px;
	font-weight: normal;
}

.rev-photo {
	margin: 30px 0 15px 0;
}
.rev-photo img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.rev-org {
	font-size: 14px;
	letter-spacing: 1px;
}

@media (max-width: 767px) {
	.swiper-button-next, .swiper-button-prev {
		display: none !important;
	}
}

/* Popup Background */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Popup Content */
.popup-content {
    position: relative;
    background-color: #e1d5d6;
    margin: 15% auto;
    padding: 70px;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    text-align: center;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.popup-content-root  {
    margin: -10px -5px 0;
    display: flex;
    flex-direction: column; /* Arrange items in a column */
    align-items: stretch; /* Ensure each item takes full width */
}

.popup-content .ff__cell {
max-width: 100% !important;
margin: 15px 0 0 0;
}

.popup-content .ff__container {
    width: 100%;
}

.popup-content .ff__footer .ff__button {
width: 100%; 
    margin-top: 5px;
}


#home-clients {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

#home-clients img {
    max-width: 120px;
    max-height: 60px; /* Slightly reduced for better uniformity */
    object-fit: contain;
    filter: grayscale(1) sepia(1) brightness(0.7) contrast(0.3);
    color-interpolation-filters: sRGB;
}


#home-clients .col-lg-10 .row {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 logos per row */
    gap: 20px; /* Space between logos */
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure the row spans the full width */
    margin: 0 auto; /* Center the row */
}

#home-clients  .col-lg-fifth {
	max-width: 100% !important;
}

@media (max-width: 768px) {
    #home-clients .col-lg-10 .row {
        grid-template-columns: repeat(3, 1fr); /* 3 logos per row */
    }
}

@media (max-width: 480px) {
    #home-clients .col-lg-10 .row {
        grid-template-columns: repeat(2, 1fr); /* 2 logos per row */
    }
}

.service-box {
  margin-bottom: 2rem;
}

.service-box h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.service-content {
  font-size: 1rem;
}
