/* ============================================
   SHARED.CSS - Marven Data Systems Master Styles
   ============================================ */

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    --reveal-progress: 100%;
}

.preloader-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.preloader-logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    height: var(--reveal-progress);
    pointer-events: none;
}

.preloader-percentage {
    font-size: 18px;
    font-weight: 700;
    color: #1f3a5f;
    font-family: 'Roboto', sans-serif;
}

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1f3a5f;
    --primary-dark: #0a1e3d;
    --secondary: #00bcd4;
    --accent: #5865f2;
    --accent-teal: #00d9ff;
    --dark: #0d1b2a;
    --dark-light: #2c4764;
    --text: #555555;
    --text-dark: #333333;
    --text-light: #888888;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --light-blue-bg: #eef5fc;
    --border: #e0e0e0;
    --shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    padding-top: 120px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
    line-height: 1.3;
}

.section-padding {
    padding: 80px 0;
}

.section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-title span {
    color: var(--secondary);
}

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar .top-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar .top-info i {
    margin-right: 6px;
    color: var(--secondary);
}

.top-bar .top-social {
    text-align: right;
}

.top-bar .top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 13px;
    transition: var(--transition);
}

.top-bar .top-social a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
.main-navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 46px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s ease, box-shadow 0.3s ease;
}
/* Make navbar bigger */
.main-navbar {
    padding: 10px 0;   /* increases navbar height */
}

/* Increase logo size */
.main-navbar .navbar-brand img {
    height: 70px;      /* adjust if needed */
}

/* Increase menu font size */
.main-navbar .nav-link {
    font-size: 17px;
    font-weight: 500;
    padding: 12px 16px;
}

/* Increase Reach Us button size */
.btn-reach-us {
    padding: 10px 20px;
    font-size: 16px;
}
.main-navbar.scrolled {
    top: 0;
}

.main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand img {
    height: 55px;
    transition: var(--transition);
}

.main-navbar .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-dark);
    padding: 20px 16px !important;
    transition: var(--transition);
    position: relative;
}

.main-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-navbar .navbar-nav .nav-link:hover::after,
.main-navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: var(--secondary);
}

.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--secondary);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 10px 0;
    min-width: 320px;
}

.main-navbar .dropdown-item {
    font-size: 14px;
    padding: 8px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.main-navbar .dropdown-item:hover {
    background: var(--light-blue-bg);
    color: var(--secondary);
    padding-left: 25px;
}

.btn-reach-us {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 28px !important;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--secondary);
    transition: var(--transition);
    display: inline-block;
}

.btn-reach-us:hover {
    background: transparent;
    color: var(--secondary) !important;
}

/* ---------- HERO SLIDER ---------- */
.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 15px;
    max-width: 550px;
}

.hero-content .subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.btn-primary-custom {
    background: var(--secondary);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--secondary);
    display: inline-block;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-custom:hover {
    background: var(--white);
    color: var(--secondary);
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dots .dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

/* ---------- PAGE BANNER ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.344 0L13.858 8.485 15.272 9.9l9.9-9.9h-2.828zM27.03 0L17.544 9.485 18.96 10.9l10.9-10.9h-2.83zM32.688 0L22.202 10.485 23.617 11.9l10.9-10.9h-1.828zM37.03 0L26.544 10.485l1.414 1.414L379.03 0h-2z' fill='rgba(255,255,255,0.03)' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb {
    justify-content: center;
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
}

.page-banner .breadcrumb-item.active {
    color: var(--white);
}

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

/* ---------- WHY CHOOSE US (Home) ---------- */
.why-choose-section {
    background: var(--light-bg);
}

.process-card {
    text-align: center;
    padding: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.process-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 25px;
}

.process-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
    padding: 0 30px;
    color: var(--primary-dark);
}

.process-card p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 0 30px;
    flex-grow: 1;
}

.process-card .learn-more {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    margin-bottom: 30px;
    padding: 0 30px;
}

.process-card .learn-more:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* ---------- ABOUT SECTION ---------- */
.about-section .about-content h2 {
    margin-bottom: 20px;
}

.about-section .about-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature .icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--light-blue-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 20px;
}

.about-feature h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 14px;
    margin: 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
    color: var(--white);
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 30, 61, 0.92) 0%, rgba(31, 58, 95, 0.85) 100%);
    z-index: 0;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-section .section-subtitle {
    color: var(--secondary);
}

.services-section .section-title {
    color: var(--white);
}

.services-section p {
    color: rgba(255, 255, 255, 0.9);
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border-bottom: 3px solid transparent;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--secondary);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--secondary);
    transition: var(--transition);
}

.service-card:hover .icon {
    background: var(--secondary);
    color: var(--white);
}

.service-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
}

.btn-all-services {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.btn-all-services:hover {
    background: var(--secondary);
    color: var(--white);
}

/* ---------- PARTNERS ---------- */
.partners-section {
    padding: 50px 0;
    background: #D3D3D3;
}

.partner-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.partner-logo-grid img {
    height: 55px;
    object-fit: contain;
    transition: var(--transition);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.testimonial-card .quote-icon {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 15px;
    opacity: 0.5;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--secondary);
    font-size: 14px;
    font-style: normal;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5f 50%, #0a2540 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.03) 35px,
            rgba(255, 255, 255, 0.03) 70px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.03) 35px,
            rgba(255, 255, 255, 0.03) 70px
        );
    z-index: 0;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h5 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-banner h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    text-transform: capitalize;
}

.cta-banner .btn-cta {
    background: transparent;
    color: var(--white);
    padding: 12px 40px;
    border-radius: 0;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--white);
    transition: var(--transition);
    display: inline-block;
}

.cta-banner .btn-cta:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #f8f9fa;
    color: #6c757d;
    padding: 60px 0 0px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 25px;
}

.footer-info h6 {
    font-size: 16px;
    font-weight: 600;
    color: #1f3a5f;
    margin-bottom: 12px;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 10px;
}

.footer-social-label {
    font-size: 14px;
    color: #6c757d;
    margin-top: 20px;
    margin-bottom: 10px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #1f3a5f;
    color: #ffffff;
    transition: var(--transition);
    font-size: 14px;
}

.footer-social-link:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f3a5f;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    font-size: 14px;
    color: #6c757d;
    transition: var(--transition);
    display: block;
}

.footer-links li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    background: #e9ecef;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    text-align: center;
}

.footer-bottom strong {
    color: #1f3a5f;
    font-weight: 600;
}

/* ---------- SERVICES PAGE ---------- */
.service-detail-row {
    margin-bottom: 50px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-detail-row:hover {
    box-shadow: var(--shadow-hover);
}

.service-detail-row img {
    border-radius: var(--radius);
    max-height: 400px;
    width: 100%;
    object-fit: contain;
}

.service-detail-row h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-detail-row h2 a {
    color: var(--primary-dark);
    transition: var(--transition);
}

.service-detail-row h2 a:hover {
    color: var(--secondary);
}

.service-list {
    padding-left: 0;
}

.service-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    font-size: 14px;
    margin-top: 3px;
}

/* ---------- PRODUCTS PAGE ---------- */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.product-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h5 {
    font-size: 16px;
    font-weight: 600;
}

.why-choose-products {
    background: var(--light-bg);
}

.why-choose-products .why-list li {
    padding: 8px 0;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.why-choose-products .why-list li i {
    color: var(--secondary);
    margin-top: 4px;
}

/* ---------- CONTACT PAGE ---------- */
.contact-info-card {
    background: #D3D3D3;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.contact-info-card:hover {
    border-bottom-color: var(--secondary);
    transform: translateY(-5px);
}

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 22px;
    color: var(--secondary);
}

.contact-info-card h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 25px;
}

.contact-form .form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 18px;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.12);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 40px;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: transparent;
    color: var(--secondary);
}

/* ---------- ABOUT PAGE ---------- */
.about-page-content {
    font-size: 15px;
    line-height: 1.9;
}

.about-page-content p {
    margin-bottom: 20px;
}

.about-page-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------- SERVICE DETAIL PAGE ---------- */
.service-detail-page .service-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.service-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-sidebar .sidebar-title {
    background: var(--primary-dark);
    color: var(--white);
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
}

.service-sidebar .sidebar-links li a {
    display: block;
    padding: 12px 25px;
    font-size: 14px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.service-sidebar .sidebar-links li a:hover,
.service-sidebar .sidebar-links li a.active {
    background: var(--light-blue-bg);
    color: var(--secondary);
    padding-left: 30px;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
    transition: var(--transition);
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---------- ANIMATIONS ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .top-bar .top-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-bar .top-social {
        text-align: center;
        margin-top: 5px;
    }
    .hero-content h1 {
        font-size: 34px;
    }
    .hero-slider {
        min-height: 450px;
    }
    .section-title {
        font-size: 28px;
    }
    .page-banner h1 {
        font-size: 32px;
    }
    .main-navbar .navbar-nav .nav-link {
        padding: 10px 16px !important;
    }
    .main-navbar .dropdown-menu {
        border-top: none;
        box-shadow: none;
        padding-left: 15px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-slider {
        min-height: 400px;
    }
    .section-title {
        font-size: 24px;
    }
    .page-banner {
        padding: 60px 0 40px;
    }
    .page-banner h1 {
        font-size: 26px;
    }
    .service-detail-row {
        padding: 25px;
    }
    .partner-logo-grid img {
        height: 40px;
    }
}
