﻿/**
* Template Name: Scaffold - Enhanced
* Updated with AI Integration and Modern Design
* Simplified Bootstrap Navigation
*/

/* CSS Custom Properties */
:root {
    --primary-color: #009cea;
    --primary-dark: #007ab7;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
    --accent-dark: #1e7e34;
    --dark-color: #364146;
    --light-bg: #f7f8f9;
    --gradient-primary: linear-gradient(135deg, #009cea 0%, #007ab7 100%);
    --gradient-accent: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #444444;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

    a:hover {
        color: #1eb4ff;
        text-decoration: none;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 35px;
    bottom: 15px;
    z-index: 996;
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 28px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #14b1ff;
        color: #fff;
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
#header {
    z-index: 997;
}

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

    .navbar.scrolled {
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.15);
    }

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    color: #7b909a;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s;
    font-family: "Poppins", sans-serif;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary-color);
    }

.navbar .text-primary {
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    transition: color 0.3s;
}

    .navbar .text-primary:hover {
        color: var(--primary-dark) !important;
    }

/* Mobile navbar styling */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .navbar-nav {
        margin-bottom: 15px;
    }

        .navbar-nav .nav-link {
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
        }

            .navbar-nav .nav-link:last-child {
                border-bottom: none;
            }
}

/*--------------------------------------------------------------
# Enhanced Hero Section
--------------------------------------------------------------*/
#hero {
    background: var(--gradient-primary);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

    #hero .container-fluid {
        max-width: none;
        padding: 120px 0 80px;
    }

    #hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0);stop-opacity:1" /></linearGradient></defs><polygon fill="url(%23grad)" points="0,300 1000,300 1000,0"/></svg>') no-repeat;
        background-size: cover;
        opacity: 0.1;
    }

    #hero h1 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        color: white;
    }

    #hero .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        opacity: 0.95;
        color: white;
    }

    #hero .btn-get-started {
        background: var(--gradient-accent);
        border: none;
        padding: 15px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        color: white;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }

        #hero .btn-get-started:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
            color: white;
        }

    #hero .hero-img {
        text-align: center;
    }

        #hero .hero-img img {
            width: 70%;
            animation: float 6s ease-in-out infinite;
        }

/* AI Badge */
.ai-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 25px;
    margin-bottom: 2rem;
    display: inline-block;
}

    .ai-badge i {
        color: #ffd700;
        margin-right: 8px;
    }

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Mobile Hero Adjustments */
@media (max-width: 992px) {
    #hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    #hero .hero-subtitle {
        font-size: 1.1rem;
    }

    #hero .container-fluid {
        padding: 80px 20px 60px;
    }
}

/*--------------------------------------------------------------
# Enhanced About Section
--------------------------------------------------------------*/
#about {
    padding: 100px 0;
    background: white;
}

    #about .container {
        background-color: #f7f8f9;
        padding: 60px 50px;
        border-radius: 15px;
    }

    #about .content h3 {
        color: var(--dark-color);
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    #about .content .fst-italic {
        font-size: 1.2rem;
        color: var(--secondary-color);
        margin-bottom: 2rem;
    }

    #about .content ul {
        list-style: none;
        padding: 0;
    }

        #about .content ul li {
            padding-bottom: 10px;
            font-size: 1.1rem;
            color: var(--dark-color);
        }

            #about .content ul li i {
                font-size: 1.2rem;
                padding-right: 10px;
                color: var(--accent-color);
            }

@media (max-width: 992px) {
    #about .container {
        padding: 30px;
    }

    #about .content h3 {
        font-size: 2rem;
    }
}

/*--------------------------------------------------------------
# Enhanced Features Section
--------------------------------------------------------------*/
#features {
    background: var(--light-bg);
    padding: 100px 0;
}

    #features .nav-tabs {
        border: 0;
    }

        #features .nav-tabs .nav-item .nav-link {
            border: none;
            background: white;
            margin-bottom: 15px;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            color: var(--dark-color);
        }

            #features .nav-tabs .nav-item .nav-link h4 {
                font-size: 18px;
                font-weight: 600;
                margin-bottom: 10px;
                color: #576971;
            }

            #features .nav-tabs .nav-item .nav-link p {
                font-size: 14px;
                margin-bottom: 0;
            }

            #features .nav-tabs .nav-item .nav-link:hover,
            #features .nav-tabs .nav-item .nav-link.active {
                background: var(--gradient-primary);
                color: white;
                transform: translateX(10px);
                box-shadow: 0 4px 20px rgba(0,157,234,0.2);
            }

                #features .nav-tabs .nav-item .nav-link.active h4,
                #features .nav-tabs .nav-item .nav-link:hover h4 {
                    color: white;
                }

    #features .tab-pane.active {
        animation: slide-down 0.5s ease-out;
    }

    #features .tab-content {
        text-align: right;
    }

@keyframes slide-down {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*--------------------------------------------------------------
# Enhanced Services Section
--------------------------------------------------------------*/
#services {
    background: white;
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--dark-color);
        margin-bottom: 1rem;
        font-family: "Poppins", sans-serif;
    }

    .section-title p {
        font-size: 1.2rem;
        color: var(--secondary-color);
        max-width: 600px;
        margin: 0 auto;
    }

.services .icon-box {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    border-bottom: none;
}

    .services .icon-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .services .icon-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .services .icon-box:hover::before {
        transform: scaleX(1);
    }

.services .icon {
    margin-bottom: 20px;
}

    .services .icon i {
        font-size: 3rem;
        line-height: 1;
        color: var(--primary-color);
    }

.services .title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

    .services .title a {
        color: var(--dark-color);
        text-decoration: none;
    }

.services .description {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 0;
}

/* AI Integration Service Card */
.services .ai-service-card {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

    .services .ai-service-card::before {
        background: rgba(255,255,255,0.1);
    }

    .services .ai-service-card .icon i {
        color: #ffd700;
    }

    .services .ai-service-card .title,
    .services .ai-service-card .description {
        color: white;
    }

        .services .ai-service-card .title a {
            color: white;
        }

/* Legacy color support */
.services .icon-box-pink .icon i {
    color: #ff689b;
}

.services .icon-box-cyan .icon i {
    color: #3fcdc7;
}

.services .icon-box-green .icon i {
    color: #41cf2e;
}

.services .icon-box-blue .icon i {
    color: #2282ff;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
}

/*--------------------------------------------------------------
# Enhanced Clients Section
--------------------------------------------------------------*/
#clients {
    background: var(--light-bg);
    padding: 100px 0;
}

.clients .clients-wrap {
    border: none;
}

.clients .client-logo {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

    .clients .client-logo:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

    .clients .client-logo img {
        max-height: 80px;
        max-width: 100%;
        object-fit: contain;
        filter: none;
        transition: all 0.3s ease;
    }

    .clients .client-logo:hover img {
        transform: scale(1.05);
    }

/*--------------------------------------------------------------
# Enhanced CTA Section
--------------------------------------------------------------*/
#cta {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    position: relative;
}

    #cta h3 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: white;
    }

    #cta p {
        color: rgba(255,255,255,0.9);
    }

    #cta .cta-btn {
        background: var(--gradient-accent);
        color: white;
        padding: 15px 40px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        display: inline-block;
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
        font-family: "Raleway", sans-serif;
        font-size: 15px;
        letter-spacing: 1px;
        margin: 10px;
    }

        #cta .cta-btn:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }

/*--------------------------------------------------------------
# Enhanced FAQ Section
--------------------------------------------------------------*/
#faq {
    background: white;
    padding: 100px 0;
}

.faq .faq-list {
    padding: 0;
    list-style: none;
}

    .faq .faq-list li {
        background: white;
        margin-bottom: 15px;
        border-radius: 15px;
        box-shadow: 0 3px 20px rgba(0,0,0,0.08);
        overflow: hidden;
        border-bottom: none;
        padding-bottom: 0;
    }

    .faq .faq-list .question {
        padding: 25px 30px;
        font-weight: 600;
        font-size: 1.1rem;
        color: var(--dark-color);
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
        border: none;
        text-decoration: none;
        display: block;
        position: relative;
        line-height: 1.4;
    }

        .faq .faq-list .question:hover {
            background: var(--light-bg);
            color: var(--primary-color);
        }

        .faq .faq-list .question[aria-expanded="true"] {
            background: var(--primary-color);
            color: white;
        }

    .faq .faq-list i {
        font-size: 16px;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .faq .faq-list .icon-show {
        display: inline-block;
    }

    .faq .faq-list .icon-close {
        display: none;
    }

    .faq .faq-list .question[aria-expanded="true"] .icon-show {
        display: none;
    }

    .faq .faq-list .question[aria-expanded="true"] .icon-close {
        display: inline-block;
    }

    .faq .faq-list .collapse p {
        padding: 0 30px 25px;
        color: var(--secondary-color);
        line-height: 1.6;
        margin: 0;
    }

    .faq .faq-list .collapsed {
        color: var(--dark-color);
    }

/*--------------------------------------------------------------
# Enhanced Contact Section
--------------------------------------------------------------*/
#contact {
    background: var(--light-bg);
    padding: 100px 0;
}

.contact .info {
    padding: 30px;
    background: #fff;
    width: 100%;
    border: 2px solid #e9ecee;
    border-radius: 15px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
}

    .contact .info i {
        font-size: 20px;
        color: var(--primary-color);
        float: left;
        width: 44px;
        height: 44px;
        background: #f2f4f5;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
    }

    .contact .info h4 {
        padding: 0 0 0 60px;
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 5px;
        color: var(--dark-color);
    }

    .contact .info p {
        padding: 0 0 10px 60px;
        margin-bottom: 20px;
        font-size: 14px;
        color: #627680;
    }

.contact .php-email-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    width: 100%;
    border: none;
}

    .contact .php-email-form .form-group {
        padding-bottom: 8px;
    }

    .contact .php-email-form .form-control {
        border: 2px solid #e9ecef;
        border-radius: 10px;
        padding: 15px;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: none;
    }

        .contact .php-email-form .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(0,157,234,0.25);
        }

    .contact .php-email-form input {
        height: 44px;
    }

    .contact .php-email-form textarea {
        padding: 15px;
        min-height: 120px;
    }

    .contact .php-email-form button[type=submit] {
        background: var(--gradient-primary);
        border: none;
        padding: 15px 40px;
        border-radius: 50px;
        color: white;
        font-weight: 600;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

        .contact .php-email-form button[type=submit]:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,157,234,0.3);
        }

    .contact .php-email-form .loading,
    .contact .php-email-form .error-message,
    .contact .php-email-form .sent-message {
        display: none;
        text-align: center;
        padding: 15px;
        font-weight: 600;
        border-radius: 10px;
        margin-top: 15px;
    }

    .contact .php-email-form .sent-message {
        color: #fff;
        background: #18d26e;
    }

    .contact .php-email-form .error-message {
        color: #fff;
        background: #ed3c0d;
    }

    .contact .php-email-form .loading {
        background: #fff;
        border: 1px solid #e9ecef;
    }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #f7f8f9;
    padding: 0 0 30px 0;
    color: #364146;
    font-size: 14px;
}

    #footer .footer-top {
        background: #fff;
        padding: 60px 0 30px 0;
        border-top: 2px solid #e9ecee;
        border-bottom: 2px solid #e9ecee;
    }

        #footer .footer-top .footer-info h3 {
            font-size: 24px;
            margin: 0 0 20px 0;
            padding: 2px 0 2px 0;
            line-height: 1;
            font-weight: 700;
        }

        #footer .footer-top .footer-info p {
            font-size: 14px;
            line-height: 24px;
            margin-bottom: 0;
            font-family: "Raleway", sans-serif;
            color: #576971;
        }

    #footer .copyright {
        text-align: center;
        padding-top: 30px;
    }

    #footer .credits {
        padding-top: 8px;
        text-align: center;
        font-size: 13px;
        color: #364146;
    }
