/* ============================================
   CREATIVE SPARKS - CHILD THEME CUSTOM CSS
   ============================================ */

/* ============================================
   HERO VIDEO - Clean Modern Styling
   ============================================ */
.ar-hero-img-video {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

.ar-hero-img-video .item-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    will-change: transform, opacity;
}

.ar-hero-img-video .item-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ar-hero-img-video:hover .item-img img {
    transform: scale(1.02);
}

.ar-hero-img-video .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A03C3C 0%, #3F3075 100%);
    box-shadow: 0 10px 40px rgba(160, 60, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    will-change: transform;
}

.ar-hero-img-video .video-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 50px rgba(160, 60, 60, 0.6);
}

.ar-hero-img-video .video-play a {
    color: #ffffff !important;
    font-size: 22px;
    line-height: 1;
}

/* Pulse animation on hover */
.ar-hero-img-video:hover .video-play {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(160, 60, 60, 0.4);
    }
    50% {
        box-shadow: 0 10px 60px rgba(160, 60, 60, 0.6), 0 0 0 15px rgba(160, 60, 60, 0.1);
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .ar-hero-img-video .item-img {
        border-radius: 12px;
    }
    
    .ar-hero-img-video .video-play {
        width: 70px;
        height: 70px;
    }
    
    .ar-hero-img-video .video-play a {
        font-size: 18px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .ar-hero-img-video .video-play {
        width: 80px;
        height: 80px;
    }
}

        border-radius: 15px;
    }
    .ag-hero-content-4 .ar-hero-img-video .video-play {
        width: 70px;
        height: 70px;
    }
    .ag-hero-content-4 .ar-hero-img-video .video-play a {
        font-size: 18px;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .ag-hero-content-4 .ar-hero-img-video {
        max-width: 90%;
    }
    .ag-hero-content-4 .ar-hero-img-video .video-play {
        width: 90px;
        height: 90px;
    }
}

/* ============================================
   BRAND CRO OPTIMIZATION STYLES
   Creative Sparks - Homepage
   ============================================ */

:root {
    /* Brand Core */
    --color-primary: #3F3075;    /* Deep Purple - Trust, Premium */
    --color-accent: #D4AF37;     /* Gold - Luxury, Success */
    --color-action: #A03C3C;     /* Rich Red - Urgency, CTAs */
    --color-secondary: #4A7EBB;  /* Blue - Reliability */
    /* Utility */
    --color-background: #F8F9FA; /* Light Gray */
    --color-text: #2D2D2D;       /* Dark Gray */
    --color-white: #FFFFFF;
}

/* ============================================
   SERVICES SECTION - ag-service-item-4
   ============================================ */
.ag-service-item-4 {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.ag-service-item-4:hover,
.ag-service-item-4.active {
    border-left-color: var(--color-accent);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.ag-service-item-4 .item-title .ser_title {
    color: var(--color-primary) !important;
    transition: all 0.3s ease;
}

.ag-service-item-4:hover .item-title .ser_title,
.ag-service-item-4.active .item-title .ser_title {
    color: var(--color-action) !important;
}

.ag-service-item-4 .arrow_btn {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    display: flex !important;
    transition: all 0.3s ease;
}

.ag-service-item-4:hover .arrow_btn,
.ag-service-item-4.active .arrow_btn {
    background: var(--color-action) !important;
    transform: translateX(5px);
    display: flex !important;
}

.ag-service-item-4 .item-serial {
    color: var(--color-accent) !important;
    font-weight: 700;
}

.ag-service-item-4 .item-text-list p {
    color: var(--color-text);
}

.ag-service-item-4 .item-list li i {
    color: var(--color-accent);
}

/* ============================================
   ABOUT SECTION - ag-about-content-4
   ============================================ */
.ag-about-title-4 .title-text h2 {
    color: var(--color-primary);
}

.ag-about-title-4 .cta-btn a {
    background: var(--color-action) !important;
    color: var(--color-white) !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(160, 60, 60, 0.3);
    display: inline-block;
}

.ag-about-title-4 .cta-btn a:hover {
    background: var(--color-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(63, 48, 117, 0.4);
}

.ag-about-title-4 .cta-btn a span {
    background: none !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
}

.ag-about-img-wrap-4 .inner-img {
    border: 3px solid var(--color-accent);
    border-radius: 20px;
    overflow: hidden;
}

.ag-about-img-wrap-4 .box-shape span {
    background-color: var(--color-accent) !important;
}

.ag-sub-watermark {
    color: rgba(63, 48, 117, 0.1) !important;
    -webkit-text-stroke: 1px var(--color-primary);
}

/* ============================================
   COUNTER/STATS SECTION - ag-counter-item-4
   ============================================ */
.ag-counter-item-4 {
    text-align: center;
    padding: 40px 30px;
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(63, 48, 117, 0.1);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.ag-counter-item-4:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--color-accent);
    box-shadow: 0 20px 50px rgba(63, 48, 117, 0.15);
}

.ag-counter-item-4 h3 {
    color: var(--color-accent) !important;
    font-size: 56px !important;
    font-weight: 700;
    margin-bottom: 10px;
}

.ag-counter-item-4 h3 .counter {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ag-counter-item-4 p {
    color: var(--color-primary) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* ============================================
   PRICING SECTION - chy-price-1
   ============================================ */
.chy-price-1-slider-item {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(63, 48, 117, 0.1);
}

.chy-price-1-pricing .dollar {
    color: var(--color-accent) !important;
    background: linear-gradient(135deg, var(--color-accent) 0%, #B8962E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chy-price-1-pricing .monthly {
    color: var(--color-text);
}

.ag-section-title-2 .subtitle {
    color: var(--color-action) !important;
    background: none !important;
    -webkit-text-fill-color: var(--color-action) !important;
}

.ag-section-title-2 .subtitle i {
    background: var(--color-action);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.chy-price-1-slider .ag-btn-1 a {
    background: var(--color-action) !important;
    color: var(--color-white) !important;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(160, 60, 60, 0.3);
}

.chy-price-1-slider .ag-btn-1 a:hover {
    background: var(--color-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(63, 48, 117, 0.4);
}

.chy-price-1-slider .ag-btn-1 a span {
    background: none !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
}

.chy-price-1-animation-line {
    background: var(--color-accent) !important;
}

.chy-price-1-pagination .swiper-pagination-bullet {
    background: var(--color-primary);
    opacity: 0.3;
}

.chy-price-1-pagination .swiper-pagination-bullet-active {
    background: var(--color-action) !important;
    opacity: 1;
}

/* ============================================
   BLOG SECTION - ag-blog-item-4
   ============================================ */
.ag-blog-item-4 {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.ag-blog-item-4:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(63, 48, 117, 0.15);
}

.ag-blog-item-4 .item-img {
    overflow: hidden;
}

.ag-blog-item-4 .item-img img {
    transition: all 0.5s ease;
}

.ag-blog-item-4:hover .item-img img {
    transform: scale(1.1);
}

.ag-blog-item-4 .item-text .item_cate {
    background: var(--color-action) !important;
    color: var(--color-white) !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ag-blog-item-4 .item-text .blog_title a {
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.ag-blog-item-4:hover .item-text .blog_title a {
    color: var(--color-action);
}

.ag-blog-item-4 .blog_meta a {
    color: var(--color-secondary);
    font-size: 13px;
}

.ag-blog-item-4 .blog_meta a:first-child {
    color: var(--color-accent);
    font-weight: 600;
}

/* ============================================
   FAQ SECTION - ag-faq-text
   ============================================ */
.ag-faq-text .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.ag-faq-text .accordion-button {
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    padding: 20px 25px;
}

.ag-faq-text .accordion-button:not(.collapsed) {
    background: var(--color-primary);
    color: var(--color-white);
}

.ag-faq-text .accordion-button:not(.collapsed) span {
    background: none !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
}

.ag-faq-text .accordion-button:not(.collapsed)::after {
    background: none !important;
    -webkit-text-fill-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
}

.ag-faq-text .accordion-button::after {
    color: var(--color-action);
}

.ag-faq-text .accordion-body {
    background: var(--color-background);
    padding: 25px;
    color: var(--color-text);
    line-height: 1.8;
}

.ag-faq-text .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* ============================================
   GLOBAL BUTTON STYLES
   ============================================ */
.ag-btn-1 a {
    background: var(--color-action) !important;
    color: var(--color-white) !important;
    border-radius: 50px !important;
    padding: 15px 35px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 20px rgba(160, 60, 60, 0.3) !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ag-btn-1 a:hover {
    background: var(--color-primary) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(63, 48, 117, 0.4) !important;
}

.ag-btn-1 a span {
    background: none !important;
    -webkit-text-fill-color: var(--color-white) !important;
    color: var(--color-white) !important;
}

.ag-btn-1 a i {
    color: var(--color-white) !important;
}

/* Secondary/Ghost Button */
.ag-btn-2 a {
    background: transparent !important;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary) !important;
    border-radius: 50px !important;
    padding: 13px 33px !important;
    transition: all 0.3s ease;
}

.ag-btn-2 a:hover {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
}

/* ============================================
   GLOBAL HEADING STYLES
   ============================================ */
.elementor-gt-heading,
.ag-section-title h2,
.sec_title {
    color: var(--color-primary) !important;
}

.ag-section-title .subtitle {
    color: var(--color-action) !important;
}

/* Section Dividers */
.elementor-divider-separator {
    border-color: var(--color-accent) !important;
    opacity: 0.3;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
    .ag-counter-item-4 h3 {
        font-size: 42px !important;
    }
    .ag-counter-item-4 {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .ag-counter-item-4 h3 {
        font-size: 36px !important;
    }
    .ag-about-title-4 .cta-btn a {
        padding: 12px 28px;
    }
    .chy-price-1-slider .ag-btn-1 a {
        padding: 14px 30px;
    }
    .ag-blog-item-4 .item-text .item_cate {
        padding: 5px 12px;
        font-size: 11px;
    }
}

/* ============================================
   HERO HEADLINE - Long Form Styling
   ============================================ */

/* Main hero title container */
.ag-hero-content-4 .ag-hero-text-4 {
    max-width: 700px;
}

.ag-hero-content-4 .ag-title-1.title_text_2 {
    font-size: clamp(28px, 5vw, 52px) !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    margin-bottom: 10px !important;
}

/* First line - smaller, subtle */
.ag-hero-content-4 .ag-title-1.title_text_2 span {
    display: block;
    font-size: 0.65em !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    letter-spacing: 0;
    margin-bottom: 8px;
}

/* Gradient accent text (for key words) */
.ag-hero-content-4 .ag-hero-title-4 .ag-title-2,
.ag-hero-content-4 h1.ag-title-2 {
    font-size: clamp(32px, 6vw, 64px) !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #D4AF37 0%, #F0D78C 50%, #D4AF37 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Alternative: If using single heading with line breaks */
.hero-long-headline {
    font-size: clamp(24px, 4.5vw, 48px) !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #ffffff;
}

.hero-long-headline .highlight {
    color: #D4AF37;
    font-weight: 700;
}

.hero-long-headline .accent {
    display: block;
    font-size: 1.15em;
    font-weight: 800;
    background: linear-gradient(135deg, #D4AF37 0%, #F0D78C 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 5px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .ag-hero-content-4 .ag-hero-text-4 {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .ag-hero-content-4 .ag-title-1.title_text_2 {
        font-size: 26px !important;
        text-align: center;
    }
    
    .ag-hero-content-4 .ag-title-1.title_text_2 span {
        font-size: 0.7em !important;
    }
    
    .ag-hero-content-4 .ag-hero-title-4 .ag-title-2 {
        font-size: 32px !important;
        text-align: center;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .ag-hero-content-4 .ag-title-1.title_text_2 {
        font-size: 36px !important;
    }
    
    .ag-hero-content-4 .ag-hero-title-4 .ag-title-2 {
        font-size: 44px !important;
    }
}

