/*!
Theme Name: THE ONLY AGENCY (PERPETUAL)
Theme URI: https://them.es/starter
Author: Perpetual Group
Author URI: https://perpetualgroup.com
Description: 
Version: 3.5.4
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: the-only-agency
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

/*.single-post img {
    width: 80%;
    height: auto;
    margin: auto;
    display: block;
}*/
.container-blog {
	width: 80%;
	height: auto;
    margin: auto !important;
    display: block;
}
.container-blog .theonly-blog-title {
    text-transform: Capitalize;
    font-family: 'GothamBold';
    font-size: 40px;
    line-height: 50px;
    text-align: center;
	margin: 35px;
}
.container-blog .info-panel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.container-blog ul.info-list {
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    text-transform: uppercase;
}
.info-panel {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 20px 0;
	margin: 60px 0;
}
.info-list a {
    color: #000;
    text-transform: uppercase;
}
.info-list a:hover {
	color: #00dfff
}
.container-blog .social-icon {
    color: #6c757d !important;
    font-size: 30px !important;
    transition: color 0.3s;
}
.info-list li:nth-child(2) {
    padding-left: 40px;
}
.info-list {
    position: relative; 
}
.info-list li {
    position: relative;
    padding-left: 0px;
}
.info-list li:nth-child(2):before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 1px;
    height: 20px;
    background-color: #000;
}
.single-post h1, 
.single-post h2,
.single-post h3,
.single-posth4,
.single-post h5,
.single-post h6 {
	font-family: 'GothamMedium';
}
.container-blog a {
	color: #00dfff;
}
.single-post .hamburger-menu span {
    background-color: #000;
}
.otgs-development-site-front-end {
    display: none;
}
#main.container { 
    background-color: #fff;
}





/***NEW CSS****/
/**ABOUT US CSS**/
.the-only-subtitle { 
    text-transform: uppercase;
}
.the-only-subtitle strong, p strong, .leader strong {
    font-family: 'GothamMedium', sans-serif !important;
}
.text-dark {
    color: #000;
}
.page-banner-with-top-right-blue-line,
.vertical-left-number,
.pattern-right-bottom {
    position: relative;
}
.page-banner-with-top-right-blue-line::after {
    content: '';
    background-color: #00dfff;
    height: 10px !important;
    width: 350px !important;
    position: absolute;
    right: 0;
    top: 0; 
    visibility: visible !important;
}
.our-story-img img {
    width: 280px;
    transition: all 0.3s ease;
}
.our-story-img img:hover {
    filter: invert(82%) sepia(31%) saturate(7499%) hue-rotate(143deg) brightness(102%) contrast(106%);
}
.about-us-icon img {
    width: 90px;
}
.vertical-left-number:before {
    content: '2012' !important;
    position: absolute;
    left: -200px;
    top: 80px;
    transform: rotate(
90deg);
    display: inline-block;
    font-family: 'GothamBlack', sans-serif;
    color: #000;
    font-size: 12rem;
    line-height: 12rem;
}
.values h3 {
    color: #000;
    font-family: 'GothamMedium', sans-serif;
    font-size: 3rem;
    line-height: 3.5rem;
    margin-bottom: 30px;
}
.values h4 {
    color: #000;
    font-family: 'GothamMedium', sans-serif;
    font-size: 1.4rem;
    line-height: 2.5rem;
    padding-bottom: 20px;
    position: relative;
}
.values h4:before {
    content: '';
    background-color: #00dfff;
    height: 3px;
    width: 90px;
    position: absolute;
    left: 0;
    bottom: 10px;
    display: block;
    z-index: 999;
}
.values p {
    margin-bottom: 30px;
}

.values-section .timeline-dots {
    width: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 650px;
    margin-right: 30px; 
    justify-content: space-between;
}
.values-section .timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: #e0e0e0;
  top: 0;
  bottom: 0;
  z-index: 1;
}
.values-section .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #e0e0e0;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}
.values-section .dot.active {
  position: relative;
  background-color: #00dfff;
  transform: scale(1.2);
  z-index: 2;
}
.values-section .dot.active::after {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 42px;
  height: 42px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  animation: ringPulse 1.5s ease-out infinite 0.75s;
  z-index: -2;
}
.leader {
    color: #000;
    font-size: 2.5rem;
    line-height: 4rem;
}
.member-col {
    flex: 0 0 auto !important;
    width: 20% !important;
    padding: 0 10px;
}
.five-col-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.member-card {
    position: relative; 
    height: auto; 
    overflow: hidden; 
    padding-bottom: 0;
    transition: all 0.3s ease-in-out;
}
.member-card .member-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top center;  
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}
.active-zoom {
    transform: scale(1.15); 
    z-index: 10;
    border: 4px solid #00dfff; 
}
.active-zoom .member-image {
    filter: grayscale(0%); 
}
.member-caption {
    position: absolute;
    bottom: 0; 
    left: 0;
    right: 0;
    text-align: center;
    color: white; 
    padding: 15px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    z-index: 5;
}
.caption-title {
    font-family: 'GothamMedium', sans-serif;
    font-size: 1rem;
    font-weight: 700; 
    margin-bottom: 0.1rem;
    line-height: 1.2;
}
.caption-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0;
}
.hide-dot {
    display: none;
}
.member-card .member-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top center; 
    filter: grayscale(100%);
    transition: filter 0.4s ease-in-out; 
}
.member-card::after {
    content: '';
    position: absolute;
    background-color: #00dfff; 
    z-index: 30; 
    transition: transform 0.4s ease-in-out;
    bottom: 0;
    left: 0;
    width: 100%; 
    height: 4px; 
    transform: scaleX(0);
    transform-origin: left; 
}
.member-col:nth-child(3) .member-card::after {
    display: none;
}
.member-card:hover { 
    z-index: 20; 
}
.member-card:hover .member-image {
    filter: grayscale(0%);
}

.member-card:hover::after {
    transform: scaleX(1);
}
.active-zoom {
    z-index: 15;  
    transform: scale(1.1); 
}
.active-zoom .member-image {
    filter: grayscale(0%);
}
.active-zoom::after {
    transform: scaleX(1);
}
.font-size-24 {
    font-size: 1.5rem;
    line-height: 2.2rem;
}
.pattern-right-bottom::after {
  content: '';
  position: absolute;
  top: 480px;
  right: 0;
  width: 1920px;
  height: 377px; 
  background-image: url('https://theonlyagency.perpetualgroup.com/wp-content/uploads/2025/12/theonlyweb-contact-us-02.webp');
  background-repeat: no-repeat;
  background-size: contain;
}
.contact-form button[type=submit]:not(:hover):not(:active)::after, 
.contact-form button[type=submit]:focus::after { 
    display: none !important;
}
.contact-form button.contact-form-submit-btn[type=submit]:not(:hover):not(:active) {
    background-color: #000 !important; 
    color: #fff !important; 
    border-radius: 15px; 
    line-height: 1;
    padding: 10px 20px; 
    height: 48px;
	transition: all 0.3s ease;
}
.contact-form button.contact-form-submit-btn[type=submit]:hover, 
.contact-form button.contact-form-submit-btn[type=submit]:focus {
	background: #00DFFF !important;
    color: #fff !important; 
	border-radius: 15px; 
    line-height: 1;
    padding: 10px 20px; 
    height: 48px;
}
.contact-form button.contact-form-submit-btn[type=submit]:hover::after, 
.contact-form button.contact-form-submit-btn[type=submit]:focus::after {
	display: none !important;
}
.contact-form input, 
.contact-form textarea {
    border-radius: 0 15px 15px 15px !important;
}
.vc_section {
    margin-left: initial !important;
    margin-right: initial !important;
}
.contact-form input {
    height: 48px !important;
}
@media (max-width: 767px) { 
    .banner-section {
        min-height: 28vh !important;
    }
	.mb-banner-section-50 {
		min-height: 50vh !important;
	}
    .mb-pl-0 {
        padding-left: 0 !important;
    }
    .wpb_single_image.vc_align_left.our-story-img {
        text-align: center;
    }
    .vertical-left-number:before {  
        left: -135px;  
        top: 20px;
        font-size: 8rem;
        line-height: 8rem;
    }
    .our-story-img img {
        width: 210px;
    }
    .leader,
    .values h3 { 
        font-size: 2rem;
        line-height: 3rem;
        margin-bottom: 10px;
    }
    .mobile-grid {
        flex-wrap: wrap; 
    }
    .member-col-mobile {
        width: 50%;
        padding: 5px 0 !important;
    }
    .member-card {
        transform: scale(1.0); 
        border: none;
        margin-bottom: 5px; 
    }
    .member-card .member-image {
        filter: grayscale(100%) !important;
        object-fit: cover;
    }
    .dot-overlay {
        display: none !important; 
    }
    .member-caption {
        padding: 10px 5px;
    }
    .caption-title {
        font-size: 0.8rem;
    }
    .caption-subtitle {
        font-size: 0.7rem;
    }
    .member-col-mobile:nth-child(1) {
        width: 100%;
    }
    .page-banner-with-top-right-blue-line::after { 
        width: 150px !important; 
    }
    .the-only-subtitle {
		line-height: 28px !important;
		font-size: 18px !important;
	}
	.swap-on-mobile {
		display: flex !important;
		flex-direction: column-reverse;
	}
	.pattern-right-bottom::after {
		opacity: 0;
	}
	.vc_section.pt-80.pb-80 {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}
}
@media (max-width: 991.98px) {
    .member-col {
        width: 33.33%; 
    } 
    .active-zoom {
        transform: scale(1.0); 
        border: none;
    }
    .member-card img {
        filter: grayscale(100%) !important;
    }
    .active-zoom img {
        filter: grayscale(0%) !important;
    }
}
/**ABOUT CSS END**/
.nav-drill ul li {
  list-style: none;
  display: block;
  margin-bottom: -8px;
  height: 85px;
  overflow: hidden;
}
.nav-drill ul li a.over {
    display: block
}
.nav-drill ul li:focus-visible a,
.nav-drill ul li:hover a {
    transform: translateY(-90px)
}
.nav-link, .over {
    display: block;
    padding: 10px 30px;
    background-color: #fff;
    color: #000; 
    font-family: 'BebasNeueBold', sans-serif !important; 
    font-size: 5rem;
    line-height: 4.5rem;
    text-transform: none;
    display: inline-block;
    transition: all .3s 
ease;
    position: relative;
}
.nav-drill {
    width: 484px;
    background: #f6f6f6;
    color: #000;
    height: calc(100vh - 20px - 27px);
    border-radius: 6px;
    position: fixed;
    right: -485px;
    z-index: 95;
    top: 20px;
    bottom: 27px;
    overflow: hidden;
    overflow-y: auto;
    transition: right .3s ease
}
.nav-drill ul li.nav-link a.over {
    color: #e2a1f0;
}
/*MENU CSS UPDATED*/

/*END MENU CSS UPDATED*/