/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #1e293b; /* Dark Gray for readability */
    background-color: #f8fafc;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #2563eb; /* Primary Blue */
}

a {
    text-decoration: none;
    color: #2563eb; /* Links in primary blue */
}

a:hover {
    color: #004085; /* Darker blue on hover */
}

.btn-primary {
    background-color: #2563eb; /* Unified primary button color */
    border-color: #2563eb;
    color: #fff;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #1d4ed8; /* Darker shade on hover */
    border-color: #1d4ed8;
}

.btn-outline-primary {
    border-color: #2563eb;
    color: #2563eb;
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline-primary:hover {
    background-color: #2563eb;
    color: #fff;
}

/* Navbar Brand Styles */
.brand-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

.brand-sub {
    font-size: 0.9rem;
    font-style: italic;
    color: #6c757d;
    transform: rotate(-5deg);
    margin-top: -5px;
}

.navbar-brand:hover .brand-main {
    color: #004085;
}

.navbar-brand:hover .brand-sub {
    color: #495057;
}

@media (max-width: 767.98px) {
    .brand-main {
        font-size: 1.25rem;
    }

    .brand-sub {
        font-size: 0.8rem;
    }
}



/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8fafc;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 5;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    z-index: 1;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-text-content {
    position: relative;
    z-index: 10;
}

.hero-section h1,
.hero-section .lead,
.hero-section .btn,
.hero-section .attention-paragraph {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb; /* Primary Blue */
}

.hero-section .lead,
.hero-section .attention-paragraph {
    font-size: 1.25rem;
    font-weight: 400;
    color: #1e293b; /* Dark Gray */
    margin-bottom: 20px;
}

.hero-section .attention-paragraph strong {
    color: #FFC107; /* Accent Color */
    font-weight: 500;
}

.hero-section .btn {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.highlight {
    background: rgba(255, 255, 255, 0.2);
    display: inline;
    padding: 0 5px;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
    z-index: 2;
    transform: translateY(-50%);
    top: 50%;
}
@media (max-width: 767.98px) {
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
        top: auto;
        transform: none;
        z-index: 1;
        margin-top: 30px;
    }

    .hero-section::before {
        left: 0;
        width: 100%;
        height: 50%;
    }
}

/* Attention Paragraph Styles */
.attention-paragraph {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1e293b; /* Dark Gray */
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #fff;
}

.features-section h2 {
    margin-bottom: 60px;
    font-weight: 700;
    color: #2563eb;
}

.features-section .feature-icon {
    color: #2563eb;
    margin-bottom: 20px;
    transition: transform 0.3s, color 0.3s;
}

.features-section .feature-icon:hover {
    transform: scale(1.1);
    color: #004085;
}

.features-section h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.features-section p {
    color: #6c757d;
}

@media (max-width: 767.98px) {
    .features-section .col-md-4 {
        margin-bottom: 30px;
    }
}


/* Demo Section */
.demo-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.demo-section h2 {
    margin-bottom: 30px;
    font-weight: 700;
    color: #2563eb;
}

.demo-section p {
    color: #6c757d;
}

.demo-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.demo-box h5 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.demo-box p {
    color: #6c757d;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: #fff;
}

.pricing-section h2 {
    margin-bottom: 60px;
    font-weight: 700;
    color: #2563eb;
}

.pricing-section .card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.pricing-section .card-header {
    background-color: #f8fafc;
    border-bottom: none;
    padding: 30px 0;
}

.pricing-section .card-header h3 {
    margin: 0;
    font-weight: 700;
    color: #1e293b;
}

.pricing-section .card-body {
    padding: 30px;
}

.pricing-section .card-body p {
    color: #6c757d;
    margin-bottom: 15px;
}

.pricing-section .btn {
    background-color: #2563eb;
    color: #fff;
    border: none;
}

.pricing-section .btn:hover {
    background-color: #1d4ed8;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.contact-section h2 {
    margin-bottom: 30px;
    font-weight: 700;
    color: #2563eb;
}

.contact-section p {
    color: #6c757d;
    margin-bottom: 50px;
}

.contact-section .form-control {
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #ced4da;
}

.contact-section .btn {
    border-radius: 5px;
    padding: 15px;
    font-size: 1.1rem;
    background-color: #2563eb;
    color: #fff;
    border: none;
}

.contact-section .btn:hover {
    background-color: #1d4ed8;
}

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 40px 0;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #FFC107; /* Accent Color */
    text-decoration: none;
}

footer p {
    margin: 0;
}

/* Hover Effects */
.feature-icon:hover {
    color: #004085;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Section */
.parallax-section {
    background-image: url('../images/parallax-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 300px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
}

/* Modal Custom Styles */
.modal-header {
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    color: #2563eb; /* Primary blue color */
}

.modal-body {
    padding: 2rem;
}

.modal-content {
    border-radius: 10px;
}

.btn-close {
    background: none;
    border: none;
}

/* Chatbot Icon Styles */
#chatbot-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    cursor: pointer;
    z-index: 1000;
}

#chatbot-icon img {
    width: 100%;
    height: auto;
}


/* Chat Window Styles */
.chat-window {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 320px;
    max-height: 400px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    display: none; /* Hidden by default */
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.chat-header {
    background-color: #2563eb;
    color: #fff;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header span {
    font-weight: bold;
}

.chat-header .btn-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.chat-footer {
    padding: 10px;
    display: flex;
    border-top: 1px solid #dee2e6;
}

.chat-footer input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.chat-footer button {
    margin-left: 10px;
    padding: 8px 15px;
    background-color: #2563eb;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.chat-message {
    margin-bottom: 10px;
}

.chat-message.bot {
    text-align: left;
}

.chat-message.user {
    text-align: right;
}

.chat-message .message-content {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
}

.chat-message.bot .message-content {
    background-color: #f1f0f0;
    color: #1e293b;
}

.chat-message.user .message-content {
    background-color: #2563eb;
    color: #fff;
}


/* Steps Section */

.step-tile {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.step-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #e6edf5, #f0f4f8);
}

.step-icon img {
    max-width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: #2563eb; /* Primary Blue */
}

.step-description {
    font-size: 1rem;
    color: #555;
    text-align: center;
    flex-grow: 1; /* Pushes content to fill the container */
}

/* Ensure equal height rows for the steps */
.row.equal-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
