/* --- Google Fonts & Variables --- */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #343a40;
    --accent-color: #ffc107;
    --success-color: #198754;
    --light-color: #f8f9fa;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --border-radius: 0.375rem;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    font-family: var(--font-primary);
    color: #444;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--secondary-color);
}

/* --- Header & Navigation --- */
.header-main {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo {
    max-height: 40px;
}
.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}
.navbar-toggler:focus {
    box-shadow: none;
}
.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    transition: color 0.3s;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* --- Call Icon Fix --- */
.btn-call-icon {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border: none;
    transition: color 0.3s ease;
}

.btn-call-icon:hover {
    color: #0056b3;
}

.btn-call-icon i {
    margin-right: 6px;
    font-size: 1.1rem;
    vertical-align: middle;
}

/* --- Buttons --- */
.btn {
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}
.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}
.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
    transform: translateY(-2px);
}
.btn-primary-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}
.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)), url('/assets/images/bengaluru-bg.jpg') center center/cover no-repeat;
    padding: 100px 0;
    text-align: left;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}
.hero-subtitle {
    font-size: 1.25rem;
    margin: 1rem 0 2rem;
}
.hero-cta-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}
.hero-image {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Section Styling --- */
.section-padding {
    padding: 80px 0;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.bg-light {
    background-color: var(--light-color) !important;
}

/* --- Service Card --- */
.service-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-thumbnail {
    width: 100%;
    max-width: 720px; /* Limits image width on large screens */
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 576px) {
    .service-thumbnail {
        max-width: 100%;
        aspect-ratio: 3 / 2;
    }
}
.service-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.service-card-text {
    color: #666;
    flex-grow: 1;
}
.service-card-body .btn {
    margin-top: 1rem;
    align-self: flex-start;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(45deg, var(--primary-color), #0d47a1);
    padding: 60px 0;
    color: #fff;
}
.text-white-70 {
    color: rgba(255,255,255,0.7);
}

/* --- Footer --- */
.footer-main {
    background: var(--secondary-color);
    color: #adb5bd;
    padding: 60px 0 20px;
}
.footer-heading {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: background-color 0.3s;
}
.social-icon:hover {
    background: var(--primary-color);
}
.footer-divider {
    border-color: rgba(255,255,255,0.1);
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}
.contact-info li {
    display: flex;
    margin-bottom: 1rem;
}
.contact-info i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--primary-color);
}
.contact-info a {
    color: #adb5bd;
    text-decoration: none;
}
.contact-info a:hover {
    color: #fff;
}

/* --- Service Details Page --- */
.page-header {
    padding: 60px 0;
    background: var(--light-color);
}
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}
.breadcrumb-item a {
    text-decoration: none;
}
.service-content ul {
    padding-left: 20px;
}
.service-content li {
    margin-bottom: 10px;
}
.sidebar-cta-box {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
}

/* --- How It Works Section --- */
.feature-step {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* --- Testimonials Section --- */
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.testimonial-text {
    font-style: italic;
    color: #555;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}
.testimonial-text::before {
    content: '\201C';
    font-size: 2.5rem;
    color: #e0e0e0;
    line-height: 0;
    margin-right: 5px;
}
.testimonial-author {
    font-family: var(--font-secondary);
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* --- Fixed Action Buttons (Call & WhatsApp) --- */
.fixed-action-buttons {
    position: fixed;
    bottom: 85px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}
.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.call-btn {
    background-color: var(--primary-color);
}
.whatsapp-btn {
    background-color: #25D366;
}

/* --- Back to Top Button Adjustments --- */
#backToTopBtn {
    bottom: 220px;
}
@media (min-width: 992px) {
    #backToTopBtn {
        bottom: 25px;
    }
}

/* --- Footer CTA Section --- */
.footer-cta-section {
    background: #212529;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}