/* ==========================================================================
   PPC SERVICES INDIA SPECIFIC STYLES
   ========================================================================== */
/* Alert Notification/Success Box */
.contact-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.4s ease;
}

.contact-alert.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.contact-alert.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}


/* --- 1. HERO SECTION & PROPOSAL FORM --- */
.ppc-hero {
    background: var(--gradient-premium-dark);
    padding: 160px 24px 100px;
    position: relative;
    overflow: hidden;
}

/* Glowing backdrops for depth */
.ppc-hero .glow-blob-hero {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.15) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    border-radius: 50%;
    z-index: 1;
}

.ppc-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content-center {
    color: var(--color-white);
    width: 100%;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-white);
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 38px;
    border-radius: 60px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 24, 27, 0.3);
}

/* Floating Enquire Badge */
.float-enquire {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px 8px 0 0;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(231, 24, 27, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-enquire:hover {
    background: var(--color-primary-hover);
    padding-bottom: 34px;
}

.float-enquire i {
    margin-right: 8px;
}

/* Form Card on Right */
.hero-form-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 480px;
    margin-left: auto;
}

.hero-form-card p {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 8px;
}

.hero-form-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 25px;
}

.ppc-lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group-ppc {
    display: flex;
    flex-direction: column;
}

.form-control-ppc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #334155;
    transition: all 0.3s ease;
}

.form-control-ppc:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(231, 24, 27, 0.08);
}

.btn-form-submit {
    background: #000000;
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.btn-form-submit:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(231, 24, 27, 0.2);
}

/* --- 2. ADVANTAGES SECTION --- */
.advantages-section {
    padding: 80px 24px;
    background: #f8fafc;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card {
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(231, 24, 27, 0.12);
}

.advantage-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(231, 24, 27, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon-wrap {
    background: var(--color-primary);
    color: var(--color-white);
}

.advantage-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.advantage-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569;
}

/* --- 3. CONVERSIONS CTA BANNER --- */
.conversions-banner-section {
    padding: 60px 24px;
    background: var(--color-white);
}

.conversions-banner {
    background: var(--gradient-premium-dark);
    border-radius: 24px;
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.conversions-banner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.08) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    border-radius: 50%;
    z-index: 1;
}

.conversions-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.conversions-avatar-wrap {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    flex-shrink: 0;
}

.conversions-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversions-text {
    color: var(--color-white);
}

.conversions-text h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
}

.conversions-text p {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.conversions-banner .btn-primary {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background: var(--color-white);
    color: var(--color-primary);
}

.conversions-banner .btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* --- 4. OUR PPC SERVICES - WHAT WE DELIVER SECTION --- */
.services-grid-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.badge-red {
    display: inline-block;
    color: var(--color-primary);
    background: rgba(231, 24, 27, 0.05);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.services-desc {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    border-color: rgba(231, 24, 27, 0.15);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.service-card h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 80px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

/* --- 5. NEW SECTION: PPC PLATFORMS WE MASTER --- */
.platforms-section {
    padding: 100px 24px;
    background: var(--color-white);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.platform-card {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f8fafc;
}

.platform-card:hover {
    transform: translateY(-8px);
    background: var(--color-white);
    border-color: rgba(231, 24, 27, 0.15);
    box-shadow: 0 20px 45px rgba(231, 24, 27, 0.06);
}

.platform-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.platform-icon {
    font-size: 2rem;
    color: var(--color-primary);
}

.platform-stat {
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(231, 24, 27, 0.06);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid rgba(231, 24, 27, 0.1);
}

.platform-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}

/* --- 6. NEW SECTION: INTERACTIVE PPC ROI CALCULATOR --- */
.calculator-section {
    padding: 100px 24px;
    background: #f8fafc;
}

.calculator-card {
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.calc-left h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.slider-group {
    margin-bottom: 30px;
}

.slider-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #334155;
}

.slider-val {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    margin: 0;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(231, 24, 27, 0.3);
    transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Calculator Results side */
.calc-right {
    background: var(--gradient-premium-dark);
    border-radius: 20px;
    padding: 40px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.calc-right::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(231, 24, 27, 0.1) 0%, transparent 70%);
    bottom: -30px;
    right: -30px;
    border-radius: 50%;
}

.result-box {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.result-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-white);
}

.result-number span {
    color: var(--color-primary);
}

/* --- 7. KEY FACTORS TABS SECTION --- */
.factors-section {
    padding: 100px 24px;
    background: var(--color-white);
}

.factors-grid {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 50px;
    max-width: 1100px;
    margin: 50px auto 0;
    align-items: start;
}

.factors-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tab-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.tab-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px rgba(231, 24, 27, 0.15);
}

.factors-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 45px;
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    border-left: 4px solid var(--color-primary);
    padding-left: 15px;
}

.tab-panel p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 20px;
}

.tab-panel p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1200px) {
    .ppc-hero .container {
        gap: 40px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .calculator-card {
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .calculator-card {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .factors-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .ppc-hero {
        padding: 120px 20px 80px;
    }
    .ppc-hero .container {
        gap: 50px;
        text-align: center;
    }
    .hero-content-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-form-card {
        margin: 0 auto;
    }
    .services-grid-section {
        padding: 80px 20px;
    }
    .section-title {
        font-size: 2.1rem;
    }
    .conversions-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 30px;
    }
    .conversions-left {
        flex-direction: column;
        gap: 20px;
    }
    .platforms-section {
        padding: 80px 20px;
    }
    .calculator-section {
        padding: 80px 20px;
    }
    .factors-section {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .conversions-text h3 {
        font-size: 1.6rem;
    }
    .conversions-text p {
        font-size: 0.95rem;
    }
    .platform-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .ppc-hero {
        padding: 100px 16px 60px;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .hero-form-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .hero-form-card h3 {
        font-size: 1.35rem;
    }
    .advantages-section {
        padding: 60px 16px;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .advantage-card {
        padding: 25px 20px;
    }
    .services-grid-section {
        padding: 60px 16px;
    }
    .section-title {
        font-size: 1.65rem;
    }
    .service-card {
        padding: 30px 20px;
    }
    .service-card h3 {
        font-size: 1.2rem;
    }
    .conversions-banner {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .conversions-avatar-wrap {
        width: 75px;
        height: 75px;
    }
    .conversions-text h3 {
        font-size: 1.35rem;
    }
    .platforms-section {
        padding: 60px 16px;
    }
    .calculator-section {
        padding: 60px 16px;
    }
    .calculator-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .calc-left h3 {
        font-size: 1.35rem;
    }
    .calc-right {
        padding: 30px 20px;
    }
    .result-number {
        font-size: 1.7rem;
    }
    .factors-section {
        padding: 60px 16px;
    }
    .factors-content {
        padding: 25px 20px;
        border-radius: 16px;
    }
    .tab-panel h3 {
        font-size: 1.35rem;
    }
    .tab-panel p {
        font-size: 0.95rem;
    }
}
