/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #0070f3;
    --primary-gradient: linear-gradient(90deg, #0070f3 0%, #21c8f6 100%);
    --secondary-color: #0051a8;
    --heading-color: #111827;
    --text-color: #374151;
    --bg-light: #f7fafd;
    --bg-white: #fff;
    --bg-dark: #181c23;
    --section-spacing: 5.5rem;
    --section-spacing-mobile: 3rem;
    --card-radius: 1.25rem;
    --card-shadow: 0 4px 32px 0 rgba(0, 112, 243, 0.07);
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-color);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: var(--bg-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s;
}

#header .logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -1px;
}

#navbar {
    padding: 0;
    position: relative;
}

#navbar ul {
    display: flex;
    gap: 2.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#navbar li {
    position: relative;
    padding: 0 1.2rem;
}

#navbar a {
    color: var(--heading-color);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s;
    padding: 0.3rem 0.2rem;
}

#navbar a.active,
#navbar a:hover {
    color: var(--primary-color);
}

.mobile-nav-toggle {
    display: none;
}

.navbar-toggler-icon {
    width: 1.3rem;
    height: 1.3rem;
}

.navbar-toggler,
.navbar-toggler:focus {
    border: none;
    box-shadow: none;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    background: var(--bg-white);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 3rem;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--heading-color);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero-section h1 span,
.hero-section .blue {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.18rem;
    color: var(--text-color);
    margin-bottom: 2.2rem;
}

.hero-section .d-flex {
    gap: 1.2rem;
}

.hero-section img {
    max-width: 100%;
    filter: drop-shadow(0 8px 32px rgba(0, 112, 243, 0.08));
    border-radius: 20px;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
    padding: var(--section-spacing) 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 0.7rem;
}

.section-title h2 .blue {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-title p {
    color: #6b7280;
    font-size: 1.1rem;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.about .content ul i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    background: var(--bg-white);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 2rem;
}

.services .card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 112, 243, 0.13);
    transform: translateY(-6px);
}

.services .card-body {
    padding: 2.2rem 2rem;
}

.services .feature-icon {
    width: 4rem;
    height: 4rem;
    background: #e6f0fd;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.services .card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.7rem;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features {
    background: var(--bg-white);
}

.features .card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    background: var(--bg-white);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 2rem;
}

.features .card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 112, 243, 0.13);
    transform: translateY(-6px);
}

.features .card-body {
    padding: 2.2rem 2rem;
}

.features .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #e6f0fd;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.features .card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.7rem;
}

.features .card p {
    margin-bottom: 0;
}

.features .card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.features .card ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.features .card ul i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.card-feature-icon {
    display: grid;
    grid-template-columns: auto auto;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
    background: var(--bg-white);
}

.contact .section-title h2 {
    font-size: 2.1rem;
}

.contact .email-form {
    background: var(--bg-white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 2.5rem 2rem;
    margin: 0 auto;
    max-width: 600px;
}

.contact .email-form .form-group {
    margin-bottom: 1.5rem;
}

.contact .email-form input,
.contact .email-form textarea {
    border-radius: 0.5rem;
    border: 1.5px solid #e5e7eb;
    padding: 0.9rem 1.1rem;
    font-size: 1rem;
    background: #f7fafd;
    color: var(--heading-color);
}

.contact .email-form input:focus,
.contact .email-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
}

.contact .email-form button {
    width: 100%;
    margin-top: 1.2rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 4rem 0 2rem;
}

#footer .col-lg-4 {
    padding-bottom: 20px;
}

#footer h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
}

#footer ul {
    padding: 0;
    list-style: none;
}

#footer ul li {
    margin-bottom: 0.7rem;
}

#footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

#footer ul li a:hover {
    color: var(--primary-color);
}

#footer ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

#footer .social {
    display: flex;
    gap: 1.1rem;
    margin-top: 1.2rem;
}

#footer .social a {
    color: #cbd5e1;
    font-size: 1.3rem;
    transition: color 0.2s;
}

#footer .social a:hover {
    color: var(--primary-color);
}

#footer .copyright {
    margin-top: 2.5rem;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.98rem;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn.btn-primary,
.btn-primary {
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.7rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 112, 243, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

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

.btn.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.7rem 2rem;
    transition: background 0.2s, color 0.2s;
}

.btn.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
    #header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    #navbar ul {
        gap: 1.2rem;
    }
    .hero-section {
        padding: 5rem 0 2rem;
    }
    section {
        padding: var(--section-spacing-mobile) 0;
    }
    .tab-content .tab-pane {
        height: auto !important;
    }
	.tabs .tab {
		border-radius: 0.5rem 0.5rem 0.5rem 0.5rem !important;
	}
	.tabs {
		gap: 0.8rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.1rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .card-body {
        padding: 1.5rem 1rem;
    }
    .tabs .tab {
        padding: 0.6rem 1.2rem;
    }
    #navbar ul {
        gap: 0;
    }
}

@media (min-width: 576px) {
    .collapse {
        display: block !important;
    }
}

@media (max-width: 575px) {
    #header .navbar-logo {
        position: relative;
        width: 100%;
        text-align: center;
    }
    #header .container .navbar-burger {
        position: absolute;
        right: 0;
        bottom: -9px;
    }

    .hero-section {
        padding: 3.5rem 0 1.5rem;
    }
    .section-title {
        margin-bottom: 1.2rem;
    }
    .card {
        margin-bottom: 1.2rem;
    }

    #navbar {
        width: 100%;
    }

    #navbar ul {
        display: block;
        width: 100%;
        justify-items: start;
    }

    #navbar li {
        text-align: start;
        border-bottom: 1px solid #eee;
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 370px) {
    #header .navbar-logo {
        display: flex;
        justify-content: space-between;
    }

    #header .container .navbar-burger {
        position: relative;
        padding: 0;
        justify-content: center;
        bottom: 0;
    }

    #hero .hero-button {
        flex-direction: column;
        width: 60%;
    }
}

/* Tabs (Scenarios) */
.tabs {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: none; /* Remove default Bootstrap border */
}
.tabs .tab {
    background: #f1f5f9;
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 0.7rem 2rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    margin-bottom: 0; /* Ensure no extra margin */
}
.tabs .tab.active,
.tabs .tab:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: transparent; /* Ensure no border on active/hover */
}

.tab-content .tab-pane {
    background: var(--bg-white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    height: 25rem;
}

.tab-content .tab-pane h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.tab-content .tab-pane p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.tab-content .tab-pane ul {
    list-style: none;
    padding: 0;
}

.tab-content .tab-pane ul li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.tab-content .tab-pane ul i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 0.8rem;
}

.tab-content .tab-pane img {
    max-width: 100%;
    height: auto;
    border-radius: var(--card-radius);
    filter: drop-shadow(0 8px 32px rgba(0, 112, 243, 0.08));
}

@media (max-width: 768px) {
    .tabs .tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .tab-content .tab-pane {
        padding: 1.5rem;
        height: auto;
    }
    .tab-content .tab-pane h3 {
        font-size: 1.3rem;
    }
    .tab-content .tab-pane p {
        font-size: 1rem;
    }
}

/* Integration Process Section */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.process-steps .step {
    background: var(--bg-white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.process-steps .step:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 112, 243, 0.13);
    transform: translateY(-4px);
}

.process-steps .step-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.process-steps .step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.process-steps .step-content p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }

    .process-steps .step {
        gap: 2rem;
        padding: 2rem;
    }

    .process-steps .step-icon {
        width: 3.5rem;
        height: 3.5rem;
        min-width: 3.5rem;
        font-size: 1.5rem;
    }

    .process-steps .step-content h3 {
        font-size: 1.3rem;
    }
}

/* Gallery Section */
.gallery .card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    background: var(--bg-white);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 1.5rem; /* Adjust margin for spacing between cards */
}

.gallery .card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 112, 243, 0.13);
    transform: translateY(-6px);
}

.gallery .card-body {
    padding: 0.4rem; /* Adjust padding for content inside the card */
    text-align: center; /* Center align content */
}

#gallery .img-fluid {
    border-radius: 0.5rem;
}

/* Add this at the end of your CSS file */

/* Gallery image hover effect */
.gallery-image {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s;
}

.gallery-image:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Gallery modal styles */
#galleryModal .modal-content {
    background-color: rgba(255, 255, 255, 0);
    border: none;
    border-radius: var(--card-radius);
}

#galleryModal .modal-header {
    border-bottom: none;
    padding-right: 8px;
}

#galleryModal .modal-body {
    padding: 0;
}

#galleryModal .btn-close {
    background-color: #fff;
}

#galleryModalImage {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    max-height: 80vh;
    width: auto;
}

/* Animation for modal opening */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out, opacity 0.3s;
}

.modal.fade:not(.show) .modal-dialog {
    transform: scale(0.95);
    opacity: 0;
}

/* Benefits Section */
.benefits .card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    background: var(--bg-white);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 1.5rem; /* Adjust margin for spacing between cards */
}

.benefits .card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 112, 243, 0.13);
    transform: translateY(-6px);
}

.benefits .card-body {
    padding: 1.8rem; /* Adjust padding for content inside the card */
    text-align: center; /* Center align content */
}

.benefits .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #e6f0fd;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem auto; /* Center the icon */
}

.benefits .card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.benefits .card p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.benefits .call-to-action {
    background: linear-gradient(90deg, #0070f3 0%, #21c8f6 100%);
    padding: 3rem;
    border-radius: var(--card-radius);
    color: #fff;
    margin-top: 3rem;
}

.benefits .call-to-action h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.benefits .call-to-action p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.benefits .call-to-action .btn {
    background: #fff;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.benefits .call-to-action .btn:hover {
    background: #e9ecef;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .benefits .card {
        margin-bottom: 1rem;
    }
    .benefits .card-body {
        padding: 1.5rem;
    }
    .benefits .feature-icon {
        margin: 0 auto 0.8rem auto;
    }
    .benefits .call-to-action {
        padding: 2rem;
        margin-top: 2rem;
    }
    .benefits .call-to-action h2 {
        font-size: 1.5rem;
    }
    .benefits .call-to-action p {
        font-size: 1rem;
    }
}