/* Synapse Talent - Index 3 Redesign */

:root {
    --primary-purple: #6f42c1;
    --light-purple: #d63384;
    --dark-bg: #1a1a1a;
    --text-grey: #666;
    --light-grey-bg: #f9f9f9;
}

/* Helper Classes */
.text-purple { color: var(--primary-purple) !important; }
.bg-purple { background-color: var(--primary-purple) !important; }
.fw-600 { font-weight: 600; }
.fs-20 { font-size: 20px; }

/* Hero Slider */
/* Hero Slider - Updated Light Theme */
.hero-slider .carousel-item {
    height: 90vh;
    @media screen and (max-width: 1200px) {
        min-height: 60vh;
        max-height: 70vh;
    }
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slider .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Light white overlay to match the reference image */
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider .content {
    color: #1a1a1a;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}
/* Tag: PREMIUM PRODUCTION */
.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #dba6e5;
    color: #a46bc5;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    background: transparent;
}
.hero-slider .hero-heading {
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: none;
}
.hero-slider .hero-heading .highlight {
    color: var(--primary-purple);
    display: block;
    margin-top: 5px;
}
.hero-slider p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    width: 100%;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}
.btn-hero {
    background-color: var(--primary-purple) !important;
    color: white !important;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: capitalize;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    i{
        margin-left: 3px;
    }
}
.btn-hero:hover {
    background-color: #5a32a3 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}
/* Carousel Navigation - Center Vertically */
.carousel-control-prev,
.carousel-control-next {
    width: 40px !important;
    height: 40px !important;
    background-color: white !important; /* White circle background */
    border-radius: 50%;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 1;
    margin: 0 40px; /* Increased margin to move away from edges */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; /* Ensure absolute positioning for centering */
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #f8f9fa;
    opacity: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px !important;
    height: 20px !important;
    background-color: transparent; /* Icon itself has no bg, parent does */
    filter: invert(1) grayscale(100); /* Make default SVG arrow black */
    background-size: 100% 100%; /* Ensure icon scales correctly */
}

/* Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}
.carousel-indicators [data-bs-target] {
    background-color: #d1d1d1 !important; /* Inactive grey */
    width: 10px !important; /* Fixed width */
    height: 10px !important; /* Fixed height for perfect circle */
    border-radius: 50%;
    margin: 0 6px;
    border: none;
    opacity: 1;
    flex: 0 0 auto; /* Prevent flexing/stretching */
}
.carousel-indicators .active {
    background-color: var(--primary-purple) !important; /* Active purple */
    transform: scale(1.2);
}

/* Header Spacing Fix */
.hero-slider {
    margin-top: 50px;
    @media screen and (max-width: 1200px) {
        margin-top: 0 !important;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
}
.about-section  .underline-purple {
    position: relative;
    display: inline-block;
}

.about-section .underline-purple::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 5px;
    background-color: var(--primary-purple);
}
.about-section .about-img img {
    width: 100%;
    max-width: 350px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Why Choose Section - New Design */
.why-choose-section-new {
    padding: 80px 0;
    /* background-color: #fafafa; */
}

.why-choose-section-new h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.why-choose-section-new .underline-purple {
    position: relative;
    display: inline-block;
}

.why-choose-section-new .underline-purple::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 5px;
    background-color: var(--primary-purple);
}

.why-card {
    background: white;
    border: 2px solid #8c8c8c;
    border-radius: 10px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.why-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.1);
    transform: translateY(-5px);
}

.why-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.why-card .card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.why-card.has-illustration {
    position: relative;
}

.why-card .illustration-placeholder {
    text-align: center;
    margin-bottom: 20px;
}

.why-card .illustration-placeholder img {
    width: 100%;
    max-width: 190px;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .why-choose-section-new h2 {
        font-size: 1.8rem;
    }
    
    .why-card {
        min-height: auto;
        padding: 30px 20px;
    }
}

/* Range of Media Services Section */
.media-services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
    background-color: white;
}

.media-services-section .section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
}


.media-services-section .underline-purple {
    position: relative;
    display: inline-block;
}

.media-services-section .underline-purple::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 5px;
    background-color: var(--primary-purple);
}

.service-item {
    margin-bottom: 80px;
    position: relative;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-content {
    padding: 20px 0;
}

.service-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-purple);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.9;
    display: inline;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
     -webkit-text-stroke: 1px #000;
}

.service-title {
    display: inline;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.service-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.view-services-link {
    color: var(--primary-purple);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.view-services-link:hover {
    color: #5a32a3;
    /* transform: translateX(5px); */
}

.view-services-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #444;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

.btn-purple {
    background-color: var(--primary-purple) !important;
    color: white !important;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn-purple::before {
    content: '\f08e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.btn-purple:hover {
    background-color: #5a32a3 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}

.service-image {
    padding: 20px;
}

.service-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 350px;
    max-height: 450px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .service-item .order-lg-1,
    .service-item .order-lg-2 {
        order: 0 !important;
    }
    
    .service-image {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    /* Center images on mobile - when d-flex is on service-image */
    .service-image.d-flex {
        justify-content: center !important;
    }
    
    /* Center images on mobile - when d-flex is on parent column */
    .col-lg-6.d-flex {
        justify-content: center !important;
    }
    
    /* More specific rule for service items */
    .service-item .col-lg-6.d-flex.justify-content-end {
        justify-content: center !important;
    }
    
    .service-item .service-image.d-flex.justify-content-end {
        justify-content: center !important;
    }
    
    .service-image img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    
    .service-number {
        font-size: 3.5rem;
    }
    
    .media-services-section .section-heading {
        font-size: 1.8rem;
    }
}

/* Voice Over Details Section */
.voice-over-details-section {
    padding: 80px 0;
    background-color: white;
}

.section-main-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 3px solid #e0e0e0;
}

.section-sub-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.4;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 3px solid #e0e0e0;
}

.section-intro-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.section-intro-text a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
}

.section-intro-text a:hover {
    text-decoration: underline;
}

.detail-box {
    background: transparent;
    padding: 0;
    height: 100%;
    margin-bottom: 30px;
}

.detail-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.detail-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.detail-text:last-child {
    margin-bottom: 0;
}

.detail-text strong {
    font-weight: 600;
    color: #1a1a1a;
}

.cta-section {
    margin-top: 30px;
    border-radius: 10px;
    padding: 30px 0;
    background: #fafafa;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.cta-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 0.95rem;
    color: #555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-text a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
}

.cta-text a:hover {
    text-decoration: underline;
}

.btn-cta {
    background-color: var(--primary-purple) !important;
    color: white !important;
    padding: 14px 35px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    margin-top: 10px;
    i{
        margin-left: 3px;
    }
}

.btn-cta:hover {
    background-color: #5a32a3 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.3);
}

.btn-cta i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .section-main-heading {
        font-size: 1.2rem;
    }
    
    .section-sub-heading {
        font-size: 1.1rem;
    }
    
    .detail-box {
        margin-bottom: 25px;
    }
    
    .cta-section {
        padding: 0;
    }
}


/* Blog/News Section */
.blog-section {
    padding: 80px 0;
    background-color: var(--light-grey-bg);
}
.blog-card {
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
}
.blog-card img {
    height: 200px;
    object-fit: cover;
}
.blog-card .card-body {
    padding: 20px;
}
.blog-card .card-title {
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-card .card-text {
    color: var(--text-grey);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .guide-step, .guide-step:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    .hero-slider .hero-heading {
        font-size: 2rem;
    }
    
    /* Center About section image on mobile */
    .about-section .row {
        justify-content: center !important;
    }
    
    .about-section .about-img {
        float: none !important;
        text-align: center;
        margin-top: 30px;
    }
    
    .about-section .about-img img {
        margin: 0 auto;
    }
    
    .about-section .about-img img {
        margin-top: 30px;
    }
}
