/* Custom Styles */
body {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
    font-family: 'Segoe UI', system-ui;
    color: #222;
}



.text-muted {
    color: #ffffff !important;
}

.hero-img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 2rem auto 1rem auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    animation: fadeIn 1.2s ease;
}
.service-img {
    width: 100%;
    max-width: 400px;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
}
.service-img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.button, .btn {
    background: linear-gradient(90deg, #007cf0 0%, #00dfd8 100%);
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.3s, transform 0.2s;
    animation: popIn 0.7s cubic-bezier(.4,2,.6,1);
}
.button:hover, .btn:hover {
    background: linear-gradient(90deg, #00dfd8 0%, #007cf0 100%);
    transform: translateY(-3px) scale(1.04);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    80% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

:root {
    --primary-color: #0d6efd;
    --secondary-color: #00b894;
    --dark-gray: #333;
    --light-gray: #f8f9fa;
    --white: #fff;
    --spacing-unit: 8px;
}

/* ===== Global Styles ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui;
    line-height: 1.6;
}

/* Applies to all service pages */
.service-page {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    padding-top: 70px; /* For fixed header */
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.png') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    color: var(--white);
}

.feature-box {
    padding: calc(var(--spacing-unit) * 3);
    border-radius: var(--spacing-unit);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.process-step {
    padding: calc(var(--spacing-unit) * 3);
    border-radius: var(--spacing-unit);
    background-color: var(--light-gray);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.process-step .icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-unit) * 2;
}

.cta-strip {
    background: var(--primary-color);
    padding: calc(var(--spacing-unit) * 5) 0;
}

.testimonial-card {
    background: var(--light-gray);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: var(--spacing-unit);
    text-align: center;
}

.testimonial-card img.rounded-circle {
    object-fit: cover;
    border: 3px solid rgba(13,110,253,0.12);
}
.testimonial-card .rating {
    font-size: 1rem;
    letter-spacing: 1px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.active {
    display: flex;
}

.back-to-top:hover {
    background: #0b5ed7;
}

.floating-whatsapp {
    text-decoration: auto !important;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Floating call button (left) */
.floating-call {
    text-decoration: none !important;
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: transform 0.15s ease;
    z-index: 1000;
}
.floating-call:hover { transform: scale(1.05); background: #0a58ca; }

.map-placeholder {
    height: 400px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--spacing-unit);
}

/* Accordion overrides for FAQ */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--light-gray);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-body {
    padding: var(--spacing-unit) * 2;
    border: 1px solid rgba(0, 0, 0, .125);
    border-top: none;
}

/* ===== Reset & Base Styles ===== */

/* ===== Header Styles ===== */
.navbar {
    padding: 1rem 0 !important; /* Fix overlapping issue */
}

/* ===== Service Card Hover Effects ===== */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.faq-section {
    max-width: 880px;
    margin: 3rem auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(14,30,37,0.06);
    padding: 1.25rem;
    animation: fadeIn .8s ease;
}

/* ===== Footer Styles ===== */
.site-footer {
    background: linear-gradient(180deg, #0b1220 0%, #071220 100%);
    color: #e6eef8;
    padding: 2.25rem 0;
}
.site-footer a { color: #d6eaff; text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; }
.site-footer .muted { color: rgba(230,238,248,0.85); }
.site-footer .footer-top { gap: 2rem; }
.site-footer h6 { color: #f6fbff; margin-bottom: .5rem; font-weight: 700; }
.site-footer .footer-links ul { padding-left: 0; }
.site-footer .footer-links li { margin-bottom: .45rem; }
.site-footer .footer-brand p { max-width: 320px; }
.site-footer .newsletter input.form-control { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); color: #fff; }
.site-footer .newsletter input::placeholder { color: rgba(230,238,248,0.6); }
.site-footer .social .social-icon { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:8px; background: rgba(255,255,255,0.03); color: #d6eaff; margin-right:.5rem; }

/* Unified single-color buttons */
.btn-primary-custom, .btn-primary, .btn {
    background: var(--primary-color) !important; /* single brand color */
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(13,110,253,0.14);
    border-radius: 10rem;
    padding: .6rem 1.1rem;
}
.btn-primary-custom:hover, .btn-primary:hover, .btn:hover {
    background: #0a58ca !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .site-footer .footer-top { flex-direction: column; }
    .site-footer .footer-links { width: 100%; }
    .site-footer .footer-brand, .site-footer .footer-newsletter { width: 100%; }
}
.faq-section h2 {
    text-align: center;
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Style the Bootstrap accordion buttons to look like compact FAQ items */
.faq-section .accordion .accordion-item {
    border: none;
    background: transparent;
}
.faq-section .accordion-button {
    background: #f5f9ff;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: var(--dark-gray);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(14,30,37,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.12s ease;
}
.faq-section .accordion-button:not(.collapsed) {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(14,30,37,0.06);
    transform: translateY(-3px);
}
.faq-section .accordion-button:focus {
    outline: 3px solid rgba(13,110,253,0.12);
    box-shadow: 0 8px 24px rgba(14,30,37,0.06);
}
.faq-section .accordion-button::after {
    /* keep default caret but make it subtle */
    filter: none;
}
.faq-section .accordion-collapse {
    margin-top: .6rem;
    border-radius: 8px;
}
.faq-section .accordion-body {
    background: #fbfdff;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    color: #333;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-section { padding: 1rem; }
    .faq-section .accordion-button { padding: .9rem 1rem; font-size: .98rem; }
    .faq-section h2 { font-size: 1.25rem; }
}

/* Contact page styles */
.contact-hero {
    background: linear-gradient(180deg, rgba(13,110,253,0.9), rgba(0,212,255,0.85));
    padding: 60px 0;
    border-radius: 8px;
}
.contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(14,30,37,0.06);
}
.contact-form-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(14,30,37,0.06);
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.contact-info-list a { color: var(--primary-color); text-decoration: none; }
.contact-info-list a:hover { text-decoration: underline; }

@media (max-width: 992px) {
    .contact-hero { padding: 40px 0; }
}

/* Top Slider (Bootstrap Carousel) */
.top-slider {
    overflow: hidden;
    margin-bottom: 0;
}
/* Ensure consistent height on all carousel containers */
.top-slider .carousel,
.top-slider .carousel-inner,
.top-slider .carousel-item {
    height: 80vh;
    max-height: 860px;
    min-height: 420px;
    overflow: hidden;
}
.top-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.top-slider .carousel-caption {
    background: rgba(0,0,0,0.35);
    padding: .75rem 1rem;
    border-radius: 8px;
}
/* Responsive adjustments */
@media (min-width: 992px) { /* desktop and up */
    /* account for fixed header ~70px */
    .top-slider .carousel,
    .top-slider .carousel-inner,
    .top-slider .carousel-item { height: calc(100vh - 70px); min-height: 520px; }
}
@media (max-width: 991.98px) { /* tablets */
    .top-slider .carousel,
    .top-slider .carousel-inner,
    .top-slider .carousel-item { height: 65vh; min-height: 360px; }
}
@media (max-width: 768px) { /* mobile */
    .top-slider .carousel,
    .top-slider .carousel-inner,
    .top-slider .carousel-item { height: 52vh; min-height: 300px; }
    .top-slider .carousel-caption { display: none; }
}

/* Trust badge sizing */
.trust-badge { max-height: 220px; object-fit: contain; display: inline-block; }

/* Partners / Logos Carousel */
.partners-section { background: #ffffff; }
.partners-section .partner-item img { max-height: 60px; object-fit: contain; opacity: 0.95; filter: saturate(0.95); transition: transform .25s ease, opacity .25s ease; }
.partners-section .partner-item img:hover { transform: translateY(-4px) scale(1.02); opacity: 1; }
.partners-section .carousel-inner { overflow: visible; }
.partners-section .carousel-item { padding: 1rem 0; }
.partners-section .carousel-control-prev, .partners-section .carousel-control-next { filter: none; opacity: .6; }
.partners-section h3 { color: var(--dark-gray); font-weight: 700; }

@media (max-width: 768px) {
    .partners-section .partner-item img { max-height: 48px; }
}

@media (max-width: 480px) {
    .partners-section .partner-item img { max-height: 36px; }
}
