/* Improved Service Page Styles */

:root {
    --service-primary: #1a1a40;
    --service-secondary: #ff9933;
    --service-accent: #f4e04d;
    --service-text: #444444;
    --service-bg: #ffffff;
    --service-muted: #fbfbfb;
    --service-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-hero {
    padding: 140px 0 120px;
    background: #151535;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--service-bg);
    transform: skewY(-2deg);
}

.service-hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.service-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
}

.service-content-section {
    padding: 100px 0;
    background: var(--service-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.4rem;
    color: var(--service-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.intro-container {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.intro-content {
    flex: 1;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--service-text);
    margin-bottom: 30px;
}

.intro-highlight {
    background: var(--service-muted);
    padding: 40px;
    border-radius: 24px;
    border-left: 6px solid var(--service-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.intro-highlight p {
    font-style: italic;
    color: var(--service-primary);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Benefits Grid */
.benefits-section {
    padding-top: 50px;
}

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

.benefit-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: var(--service-transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--service-secondary);
    transform: scaleX(0);
    transition: var(--service-transition);
    transform-origin: left;
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border-color: transparent;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--service-secondary);
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--service-primary);
    margin-bottom: 18px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-top: 15px;
}

/* Expert Section Re-design */
.expert-section {
    padding: 120px 0;
    background: var(--service-muted);
}

.expert-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.expert-img-side {
    flex: 0 0 450px;
    position: relative;
    height: 500px;
    padding: 20px;
    box-sizing: border-box;
}

.expert-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
}

.expert-content-side {
    flex: 1;
    padding: 70px;
}

.expert-content-side h2 {
    font-size: 2.2rem;
    color: var(--service-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.expert-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--service-secondary);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.expert-content-side p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--service-text);
    margin-bottom: 20px;
}

.expert-cta {
    margin-top: 40px;
}

.btn-primary {
    background: var(--service-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--service-transition);
}

.btn-primary:hover {
    background: var(--service-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .expert-img-side {
        flex: 0 0 350px;
    }
}

@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .expert-card {
        flex-direction: column;
    }
    .expert-img-side {
        flex: none;
        height: 600px;
    }
    .expert-content-side {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.6rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .expert-img-side {
        height: 400px;
    }
}

/* ===== Rudrabhishek Hero Enhancements ===== */
.rudra-hero {
    position: relative;
    background: linear-gradient(135deg, #0f0f30 0%, #1a1a50 30%, #2a1a3a 70%, #1a1a40 100%) !important;
}

.rudra-hero .hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 153, 51, 0.15);
    border: 1px solid rgba(255, 153, 51, 0.3);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 153, 51, 0.4);
    border-radius: 50%;
    animation: float-particle 8s infinite;
}

.hero-particles span:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 20%; left: 80%; animation-delay: 1s; width: 6px; height: 6px; }
.hero-particles span:nth-child(3) { top: 60%; left: 5%; animation-delay: 2s; }
.hero-particles span:nth-child(4) { top: 80%; left: 70%; animation-delay: 3s; width: 3px; height: 3px; }
.hero-particles span:nth-child(5) { top: 40%; left: 90%; animation-delay: 0.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(6) { top: 70%; left: 30%; animation-delay: 1.5s; }
.hero-particles span:nth-child(7) { top: 15%; left: 50%; animation-delay: 2.5s; width: 3px; height: 3px; }
.hero-particles span:nth-child(8) { top: 90%; left: 20%; animation-delay: 3.5s; width: 5px; height: 5px; }
.hero-particles span:nth-child(9) { top: 50%; left: 60%; animation-delay: 1s; }
.hero-particles span:nth-child(10) { top: 30%; left: 40%; animation-delay: 2s; width: 6px; height: 6px; }

@keyframes float-particle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

/* ===== Section Subtitle ===== */
.section-subtitle {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 153, 51, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* ===== Intro with Image ===== */
.intro-image {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-image-inner {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 26, 64, 0.05), rgba(255, 153, 51, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid rgba(255, 153, 51, 0.2);
}

.intro-image-inner .fa-om {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.6;
    z-index: 2;
}

.glow-ring {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 153, 51, 0.15);
    animation: ring-pulse 3s ease-in-out infinite;
}

.glow-ring.ring-2 {
    inset: -30px;
    animation-delay: 0.5s;
}

.glow-ring.ring-3 {
    inset: -45px;
    animation-delay: 1s;
}

@keyframes ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

.intro-highlight {
    position: relative;
    padding: 40px 40px 40px 60px;
    border-radius: 24px;
    border-left: 6px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    background: var(--service-muted);
}

.intro-highlight .quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.intro-highlight p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--service-primary);
}

/* ===== Process Steps ===== */
.process-section {
    padding: 60px 0 80px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.process-step {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #eee;
    text-align: center;
    position: relative;
    transition: var(--service-transition);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: var(--service-transition);
    transform-origin: left;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.process-step:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(26, 26, 64, 0.06);
    line-height: 1;
    margin-bottom: 10px;
}

.step-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: rgba(255, 153, 51, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--secondary-color);
    transition: var(--service-transition);
}

.process-step:hover .step-icon {
    background: var(--secondary-color);
    color: white;
    transform: rotateY(180deg);
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--service-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

/* ===== Registration Form Section ===== */
.registration-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--service-muted) 0%, #fff 100%);
    position: relative;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.3;
}

.registration-wrapper {
    display: flex;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.registration-image {
    flex: 0 0 420px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.registration-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.registration-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(26, 26, 64, 0.9));
    color: white;
    text-align: center;
}

.registration-image-overlay .fa-om {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.registration-image-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.registration-image-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.text-highlight {
    color: var(--secondary-color);
}

.registration-form-col {
    flex: 1;
    padding: 60px;
}

.registration-form-header {
    margin-bottom: 30px;
}

.registration-form-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.registration-form-header p {
    font-size: 1rem;
    color: #666;
}

.registration-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.registration-form input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #333;
}

.registration-form input:focus {
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
}

.registration-form input::placeholder {
    color: #aaa;
}

.registration-form input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.registration-field {
    grid-column: 1 / -1;
}

.registration-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.registration-field .quantity-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
    overflow: hidden;
    max-width: 180px;
}

.registration-field .quantity-stepper button {
    width: 45px;
    height: 46px;
    border: none;
    background: #f0f0f0;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
}

.registration-field .quantity-stepper button:hover {
    background: var(--secondary-color);
    color: #fff;
}

.registration-field .quantity-stepper button:active {
    transform: scale(0.95);
}

.registration-field .quantity-stepper input {
    width: 100%;
    height: 46px;
    border: none;
    border-left: 1.5px solid #e0e0e0;
    border-right: 1.5px solid #e0e0e0;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    outline: none;
    background: #fff;
    color: var(--primary-color);
    -moz-appearance: textfield;
    border-radius: 0;
    padding: 0;
}

.registration-field .quantity-stepper input::-webkit-outer-spin-button,
.registration-field .quantity-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.registration-response {
    grid-column: 1 / -1;
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.registration-response.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.registration-response.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.registration-submit-btn {
    grid-column: 1 / -1;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.registration-submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.3);
}

.registration-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive for New Sections ===== */
@media (max-width: 1200px) {
    .registration-image {
        flex: 0 0 350px;
    }
}

@media (max-width: 991px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .intro-container {
        flex-direction: column;
    }
    .intro-image {
        flex: none;
        order: -1;
    }
    .registration-wrapper {
        flex-direction: column;
    }
    .registration-image {
        flex: none;
        height: 350px;
        min-height: auto;
    }
    .registration-image img {
        position: relative;
    }
    .registration-form-col {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    .intro-image-inner {
        width: 220px;
        height: 220px;
    }
    .intro-image-inner .fa-om {
        font-size: 3.5rem;
    }
    .registration-form-col {
        padding: 30px 25px;
    }
    .registration-form-header h2 {
        font-size: 1.6rem;
    }
    .registration-form {
        grid-template-columns: 1fr;
    }
    .registration-image {
        height: 280px;
    }
    .registration-image-overlay h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .registration-form-col {
        padding: 25px 18px;
    }
    .registration-form-header h2 {
        font-size: 1.4rem;
    }
    .registration-submit-btn {
        font-size: 15px;
        padding: 14px 25px;
    }
}
