/* Ateni Media Technologies Custom Styles */

/* Color Variables */
:root {
    --ateni-primary: #0066CC;
    --ateni-secondary: #00A859;
    --ateni-accent: #FF6B00;
    --ateni-dark: #1A2B3C;
    --ateni-light: #F8FAFC;
    --ateni-gray: #64748B;
}

/* Custom Button */
.ateni-btn {
    background: linear-gradient(135deg, var(--ateni-primary), #004C99);
    border: none;
    color: white;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ateni-btn:hover {
    background: linear-gradient(135deg, #004C99, var(--ateni-primary));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
    color: white;
}

/* About Section Enhancements */
.img-box2 .img2 {
    position: relative;
}

.ateni-badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.ateni-badge span {
    display: block;
    color: var(--ateni-accent);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}

.ateni-badge h4 {
    color: var(--ateni-dark);
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

/* Services Highlight */
.service-card-highlight {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.service-card-highlight:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--ateni-primary);
    border-radius: 5px 0 0 5px;
}

.service-card-highlight:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--ateni-primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ateni-light), #EFF6FF);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--ateni-primary);
    font-size: 28px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ateni-dark);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--ateni-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    color: var(--ateni-dark);
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ateni-secondary);
    font-weight: bold;
}

/* Mission, Vision, Values Cards */
.ateni-mission .story-box_icon,
.ateni-vision .story-box_icon,
.ateni-values .story-box_icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ateni-primary), #004C99);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.ateni-vision .story-box_icon {
    background: linear-gradient(135deg, var(--ateni-secondary), #008747);
}

.ateni-values .story-box_icon {
    background: linear-gradient(135deg, var(--ateni-accent), #E55A00);
}

.story-box.inner-style {
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.story-box.inner-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.ateni-stats {
    background: linear-gradient(135deg, var(--ateni-dark), #2D3748);
    position: relative;
    overflow: hidden;
}

.ateni-stats:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 168, 89, 0.1));
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.ateni-stats:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(0, 102, 204, 0.1));
    border-radius: 50%;
    transform: translate(-50px, 50px);
}

/* Team Section */
.ateni-team {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.ateni-team .team-img {
    position: relative;
    overflow: hidden;
}

.ateni-team .team-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.ateni-team:hover .team-img img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ateni-team:hover .team-overlay {
    opacity: 1;
}

.team-overlay .th-social a {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--ateni-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-overlay .th-social a:hover {
    background: var(--ateni-accent);
    color: white;
    transform: translateY(-3px);
}

.team-content {
    padding: 25px;
    background: white;
}

.team-desig {
    color: var(--ateni-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.team-desc {
    color: var(--ateni-gray);
    font-size: 14px;
    margin: 0;
}

/* Testimonials */
.ateni-testimonial {
    border-radius: 15px;
    padding: 35px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.ateni-testimonial:hover {
    border-color: var(--ateni-primary);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.1);
    transform: translateY(-5px);
}

.testi-card_profile {
    margin-bottom: 20px;
}

.testi-card_avater {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #E2E8F0;
}

.testi-card_avater img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-card_review {
    color: #FFC107;
    margin-top: 10px;
}

/* CTA Section */
.ateni-cta {
    background: linear-gradient(135deg, var(--ateni-primary), #004C99);
    position: relative;
    overflow: hidden;
}

.ateni-cta:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.ateni-cta:after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.white-btn {
    background: white;
    color: var(--ateni-primary) !important;
    border: none;
}

.white-btn:hover {
    background: #F1F5F9;
    color: var(--ateni-dark) !important;
}

.white-border {
    border-color: white !important;
    color: white !important;
}

.white-border:hover {
    background: white !important;
    color: var(--ateni-primary) !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .service-card-highlight {
        padding: 25px;
    }
    
    .ateni-badge {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 20px;
        max-width: 250px;
    }
    
    .team-overlay .th-social a {
        width: 40px;
        height: 40px;
        margin: 0 3px;
    }
}

@media (max-width: 767px) {
    .cta-btns {
        text-align: center;
        margin-top: 20px;
    }
    
    .cta-btns .ms-3 {
        margin-left: 10px !important;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* Animation for counters */
.counter-number {
    font-weight: 800;
    font-size: 48px;
}

@media (max-width: 576px) {
    .counter-number {
        font-size: 36px;
    }
}