﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.navbar-logo {
    height: 80px;
}

.topbar h1 {
    font-size: 2.7rem;
    font-weight: bolder;
    color: #0052cc;
    text-shadow: 2px 2px 5px rgba(128, 128, 128, 0.3);
}

/* Hero Section */
.hero-section {
    /*background: linear-gradient(to top, white, #0052cc);*/
    color: dodgerblue;
    text-align: center;
    padding: 10px !important;
    height: auto !important;
}

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
    color: blue;
    text-shadow: 5px 2px 5px gray;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #1e40af;
    animation: fadeInUp 1s ease-out;
}

/* Sections */
.section {
    padding: 10px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #0052cc;
}

/* Cards */
.service-card, .industry-card, .benefit-card, .contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

    .service-card:hover, .industry-card:hover, .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.service-icon, .benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #0052cc;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-section {
    background: #f8f9fa;
}

.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-carousel {
    overflow: hidden;
    border-radius: 15px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: #0052cc;
    font-weight: 600;
}

.testimonial-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.control-btn {
    background: #0052cc;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: all 0.3s ease;
}

    .control-btn:hover {
        background: #003d99;
        transform: scale(1.1);
    }

.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: #0052cc;
        transform: scale(1.2);
    }

/* Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

    .contact-item i {
        color: #0052cc;
        font-size: 1.2rem;
        margin-top: 0.2rem;
    }

/* Industry List */
.industry-list {
    list-style: none;
    padding: 0;
}

    .industry-list li {
        padding: 0.5rem 0;
        position: relative;
        padding-left: 1.5rem;
    }

        .industry-list li::before {
            content: "✓";
            color: #0052cc;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial-controls {
        position: relative;
        top: auto;
        transform: none;
        margin-top: 2rem;
        justify-content: center;
        gap: 1rem;
    }

    .control-btn {
        position: static;
    }
}

/* Footer */
.footer {
    background: #222;
    color: #eee;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.bg-image-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    position: relative;
    /*min-height: 250px;*/
    display: flex;
    align-items: center;
}

    .bg-image-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.85);
        z-index: 0;
    }

    .bg-image-card .card-body {
        position: relative;
        z-index: 1;
    }

/* Specific background images */
.web-logo-bg {
    background-image: url('/img/Swift_Logo_Clean_WBG.png');
    background-position-x: -400px;
}

.web-mobile-bg {
    background-image: url('/img/Swf_mob_web.png');
}

.multi-user-bg {
    background-image: url('/img/Swf_MultiUser.jpg');
}

.software-design-bg {
    background-image: url('/img/Swf_SoftwareDesign.jpg');
}

.freelance-bg {
    background-image: url('/img/Swf_Freelance.png');
}

.accounting-bg {
    background-image: url('/img/Swf_AccFincBG.jpg');
}

.inventory-bg {
    background-image: url('/img/Swf_Invenotry_img.png');
}

.contact-bg {
    background-image: url('/img/Swf_contact.png');
    background-position: 80%, 20%;
    background-size: 150px 150px;
    background-repeat: no-repeat;
}

.address-bg {
    background-image: url('/img/Swf_location.png');
    background-position: 90%, 20%;
    background-size: 350px 200px;
    background-repeat: no-repeat;
}

.horizontal-center {
    width: 80%;
    max-width: 520px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 10px;
    text-align: center;
    margin: 50px auto; /* Horizontal center with top margin */
}
