/* Service Detail Page Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Theme Colors */
.blue-theme { --theme-color: #2563eb; --theme-light: #dbeafe; --theme-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%); }
.orange-theme { --theme-color: #ea580c; --theme-light: #fed7aa; --theme-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%); }
.purple-theme { --theme-color: #7c3aed; --theme-light: #ddd6fe; --theme-gradient: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%); }
.green-theme { --theme-color: #059669; --theme-light: #d1fae5; --theme-gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%); }
.red-theme { --theme-color: #dc2626; --theme-light: #fee2e2; --theme-gradient: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%); }
.teal-theme { --theme-color: #0d9488; --theme-light: #ccfbf1; --theme-gradient: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%); }
.yellow-theme { --theme-color: #ca8a04; --theme-light: #fef3c7; --theme-gradient: linear-gradient(135deg, #ca8a04 0%, #eab308 50%, #facc15 100%); }
.indigo-theme { --theme-color: #4f46e5; --theme-light: #e0e7ff; --theme-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%); }
.cyan-theme { --theme-color: #0891b2; --theme-light: #cffafe; --theme-gradient: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%); }
.navy-theme { --theme-color: #1e3a5f; --theme-light: #dbeafe; --theme-gradient: linear-gradient(135deg, #1e3a5f 0%, #1e40af 50%, #3b82f6 100%); }
.amber-theme { --theme-color: #d97706; --theme-light: #fef3c7; --theme-gradient: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%); }
.lime-theme { --theme-color: #65a30d; --theme-light: #ecfccb; --theme-gradient: linear-gradient(135deg, #65a30d 0%, #84cc16 50%, #a3e635 100%); }
.brown-theme { --theme-color: #92400e; --theme-light: #fef3c7; --theme-gradient: linear-gradient(135deg, #92400e 0%, #b45309 50%, #d97706 100%); }
.pink-theme { --theme-color: #db2777; --theme-light: #fce7f3; --theme-gradient: linear-gradient(135deg, #db2777 0%, #ec4899 50%, #f472b6 100%); }

/* Hero Section */
.service-hero {
    position: relative;
    min-height: 60vh;
    background: var(--theme-gradient);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.shape.s1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape.s2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape.s3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 5%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2);
}

.hero-tamil {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-custom,
.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background: #fff;
    color: var(--theme-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: var(--theme-color);
}

.btn-secondary-custom {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary-custom:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
    transform: translateY(-3px);
}

.hero-icon-box {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
}

.icon-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.icon-wrapper img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.icon-wrapper i {
    color: #fff;
}

.service-count {
    color: #fff;
}

.service-count .count {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.service-count .label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--theme-light, #dbeafe);
    color: var(--theme-color, var(--primary));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
}

/* Services List Section */
.services-list-section {
    background: #f8fafc;
}

.services-grid {
    display: grid;
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.item-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    min-width: 40px;
}

.item-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon.blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.item-icon.orange { background: linear-gradient(135deg, #fed7aa, #fdba74); color: #ea580c; }
.item-icon.purple { background: linear-gradient(135deg, #ddd6fe, #c4b5fd); color: #7c3aed; }
.item-icon.green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.item-icon.red { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }
.item-icon.teal { background: linear-gradient(135deg, #ccfbf1, #99f6e4); color: #0d9488; }
.item-icon.yellow { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #ca8a04; }
.item-icon.indigo { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4f46e5; }
.item-icon.cyan { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: #0891b2; }
.item-icon.navy { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e3a5f; }
.item-icon.amber { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.item-icon.lime { background: linear-gradient(135deg, #ecfccb, #d9f99d); color: #65a30d; }
.item-icon.brown { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.item-icon.pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #db2777; }

.item-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.item-text .tamil {
    font-size: 0.9rem;
    color: var(--secondary);
    margin: 0;
}

.item-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.item-action:hover {
    background: var(--theme-color, var(--primary));
    color: #fff;
    transform: scale(1.05);
}

/* Requirements Section */
.requirements-section {
    background: #fff;
}

.requirements-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.requirements-list li i {
    width: 40px;
    height: 40px;
    background: var(--theme-light, #dbeafe);
    color: var(--theme-color, var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.requirements-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fef3c7;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.requirements-note i {
    color: #f59e0b;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.requirements-note p {
    margin: 0;
    color: #92400e;
    font-size: 0.9rem;
}

/* Process Section */
.process-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    flex: 0 0 200px;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 3rem;
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--theme-gradient, var(--gradient-1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-icon i {
    font-size: 2rem;
    color: #fff;
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--secondary);
    margin: 0;
}

.process-connector {
    flex: 0 0 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-color, var(--primary)), transparent);
    margin-top: 60px;
}

/* Why Section */
.why-section {
    background: #fff;
}

.why-content .section-badge {
    display: inline-block;
}

.why-content .section-title {
    font-size: 2rem;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.why-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.why-list li i {
    width: 50px;
    height: 50px;
    background: var(--theme-light, #dbeafe);
    color: var(--theme-color, var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.why-list li h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.why-list li p {
    font-size: 0.9rem;
    color: var(--secondary);
    margin: 0;
}

.contact-quick-card {
    background: var(--theme-gradient, var(--gradient-1));
    border-radius: 24px;
    padding: 2.5rem;
    color: #fff;
    box-shadow: var(--shadow-xl);
}

.contact-quick-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-quick-card > p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.quick-contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-option:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(10px);
    color: #fff;
}

.contact-option i {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-option .label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.contact-option .value {
    display: block;
    font-weight: 600;
    font-size: 1rem;
}

/* Related Services */
.related-section {
    background: #f8fafc;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-icon.blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.card-icon.orange { background: linear-gradient(135deg, #fed7aa, #fdba74); color: #ea580c; }
.card-icon.purple { background: linear-gradient(135deg, #ddd6fe, #c4b5fd); color: #7c3aed; }
.card-icon.green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.card-icon.red { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }
.card-icon.teal { background: linear-gradient(135deg, #ccfbf1, #99f6e4); color: #0d9488; }
.card-icon.yellow { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #ca8a04; }
.card-icon.indigo { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4f46e5; }
.card-icon.cyan { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: #0891b2; }
.card-icon.navy { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e3a5f; }
.card-icon.amber { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.card-icon.lime { background: linear-gradient(135deg, #ecfccb, #d9f99d); color: #65a30d; }
.card-icon.brown { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.card-icon.pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #db2777; }

.related-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    flex: 1;
}

.card-arrow {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.related-card:hover .card-arrow {
    background: var(--primary);
    color: #fff;
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: var(--theme-gradient, var(--gradient-1));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: #fff;
    color: var(--theme-color, var(--primary));
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.cta-btn.secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    color: #fff;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.animate-pop {
    animation: pop 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pop {
    0% { opacity: 0; transform: scale(0.8); }
    70% { transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-icon-box {
        margin-top: 2rem;
    }

    .process-connector {
        display: none;
    }

    .process-steps {
        gap: 0;
    }

    .process-step {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tamil {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        justify-content: center;
    }

    .icon-wrapper {
        width: 120px;
        height: 120px;
    }

    .service-count .count {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-item {
        flex-wrap: wrap;
        padding: 1.25rem;
    }

    .item-number {
        display: none;
    }

    .item-content {
        flex: 1 1 100%;
    }

    .item-action {
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .requirements-list {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .contact-quick-card {
        padding: 1.5rem;
    }
}

/* Navbar dark fix */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
