/*
Theme Name: Aiads
Theme URI: https://aiads.com
Author: Mahmoud Sehsah
Author URI: https://mahmoudsehsah.com
Description: Custom WordPress theme converted from HTML for Aiads Marketing.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aiads
*/

/* Custom Font Definition moved to functions.php or inline styles to ensure path correctness, 
   but standard CSS goes here. */
body {
    font-family: 'Handicrafts', 'Cairo', sans-serif;
    background-color: #2e1065 !important;
}

.font-instrument-sans {
    font-family: 'Instrument Sans', sans-serif;
}
.service-card {
    position: relative;
    /* background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%); */
    border: 1px solid #e8f3ff;
    border-radius: 28px;
    padding: 32px;
    transition: transform 250ms ease, box-shadow 250ms ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -67px;
    right: -67px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 30% 30%, rgba(51, 204, 204, 0.16), rgba(51, 204, 204, 0));
    box-shadow: 0 24px 60px rgba(51, 204, 204, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #4b2c85; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #321a5b; 
}

.btn-bg{
     background: linear-gradient(90deg, #62FFFF 0%, #33CCCC 100%);
}

.bg-cta-bg{
    background: url('./assets/images/bg-cta.png') no-repeat center center;
    background-size: contain;
}

.bg-body{
    background:
        url('./assets/images/bg3.png'),
        linear-gradient(252.44deg, #6C217B 0%, #2E3066 53.37%, #1C1E45 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-portfolio{
    background:
        url('./assets/images/bg2.png'),
        linear-gradient(252.44deg, #6C217B 0%, #2E3066 53.37%, #1C1E45 100%);
    background-size: 100% 100%;
    background-position: center;
}

.bg-cta-bg2{
    position: relative;
}

.bg_cta_bg_right{
    position: absolute;
    inset: 0 0 0 auto;
    width: 48%;
    background: url('./assets/images/about_bg_1.png') no-repeat right center;
    background-size: contain;
    pointer-events: none;
}

.bg_cta_bg_left{
    position: absolute;
    inset: 0 auto 0 0;
    width: 48%;
    background: url('./assets/images/about_bg_2.png') no-repeat left center;
    background-size: contain;
    pointer-events: none;
}

.logo-carousel{
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 32px 20px;
}

.logo-track{
    display: flex;
    transition: transform 400ms ease;
}

.logo-slide{
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.logo-slide img{
    max-height: 68px;
    width: auto;
        border-radius: 10px;
}

.logo-dots{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.logo-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #62FFFF;
    background: transparent;
    transition: background-color 200ms ease, transform 200ms ease;
}

.logo-dot.active{
    background: #62FFFF;
    transform: scale(1.1);
}

/* Hero height tweak for mobile */
.hero-landing{
    min-height: 100vh;
}

@media (max-width: 768px){
    .hero-landing{
        min-height: 600px;
        height: 300px;
    }
}

@media (min-width: 768px){
    .logo-slide{
        min-width: 50%;
    }
}

@media (min-width: 1024px){
    .logo-slide{
        min-width: 33.3333%;
    }
}