/* 
* SaaSify - Modern SaaS Website
* Main Stylesheet
*/

/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --primary-light: #4d94ff;
    --secondary-color: #00ccff;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

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

a:hover {
    color: var(--primary-dark);
}

.btn {
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
}

.social-icon {
    color: #fff;
    margin-right: 10px;
    font-size: 0.9rem;
}

.social-icon:hover {
    color: var(--primary-light);
}

.language-selector {
    cursor: pointer;
}

.flag-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

/* ===== HEADER ===== */
.main-header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
}

.logo h1 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-text small {
    color: var(--gray-color);
    font-size: 0.8rem;
}

.navbar-toggler {
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--primary-color);
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: var(--primary-dark);
    color: #fff;
}

.search-form {
    position: relative;
}

.search-form input {
    background-color: rgba(255, 255, 255, 0.199);
    border: none;
    border-radius: 4px;
    padding: 8px 40px 8px 15px;
    color: #fff;
    width: 200px;
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../img/business.jpg');
    background-size: cover;
    opacity: 0.2;
    z-index: 0;
}

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

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* ===== ABOUT US SECTION ===== */

/* ===== HOW IT WORKS SECTION (TIMELINE) ===== */

/* ===== TESTIMONIALS SECTION ===== */

/* ===== PRICING PLANS SECTION ===== */
.pricing-section {
    /* background: linear-gradient(135deg, #1a1a2e 0%, #0066cc 100%); */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);

    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.pricing-section .section-badge {
    margin-bottom: 18px;
}

.pricing-card {
    background: linear-gradient(135deg, #fff 60%, #e6f0fa 100%);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.11);
    padding: 54px 32px 44px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s, border 0.3s;
    border: 2.5px solid transparent;
    overflow: hidden;
    background-clip: padding-box;
}

.pricing-card:hover, .pricing-card.featured {
    transform: translateY(-16px) scale(1.06) rotate(-1.5deg);
    box-shadow: 0 24px 48px 0 rgba(0, 102, 204, 0.19);
    border-width: 2.5px;
    border-style: solid;
    background: linear-gradient(135deg, rgba(0,102,204,0.92) 0%, rgba(0,204,255,0.85) 100%);
    color: #fff;
}

.pricing-card .pricing-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 18px auto;
    box-shadow: 0 4px 18px rgba(0, 102, 204, 0.15);
    transition: background 0.3s, transform 0.3s;
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
}

.pricing-card:hover .pricing-icon, .pricing-card.featured .pricing-icon {
    background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
    color: var(--primary-color);
    transform: scale(1.13) rotate(-7deg);
    border: 3px solid var(--primary-color);
}

.pricing-ribbon {
    position: absolute;
    top: 24px;
    right: -40px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    font-size: 1.04rem;
    font-weight: 700;
    padding: 7px 38px;
    transform: rotate(38deg);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,102,204,0.13);
    letter-spacing: 1px;
}

.pricing-card .pricing-header h3 {
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.pricing-card .pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -1px;
    transition: color 0.3s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
}

.pricing-card .countup {
    font-variant-numeric: tabular-nums;
    font-size: 2.6rem;
    font-weight: 900;
    color: inherit;
    min-width: 36px;
    display: inline-block;
    transition: color 0.3s;
}

.pricing-card .currency {
    font-size: 1.2rem;
    vertical-align: super;
    font-weight: 600;
}

.pricing-card .period {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-weight: 400;
    margin-left: 2px;
}


.pricing-card:hover, .pricing-card.featured {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 18px 38px rgba(0, 102, 204, 0.15);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

.pricing-card .pricing-header h3 {
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.pricing-card .pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -1px;
    transition: color 0.3s;
}

.pricing-card .currency {
    font-size: 1.2rem;
    vertical-align: super;
    font-weight: 600;
}

.pricing-card .period {
    font-size: 1.1rem;
    color: var(--gray-color);
    font-weight: 400;
    margin-left: 2px;
}

.pricing-features {
    margin-bottom: 24px;
}

.pricing-features li {
    font-size: 1.04rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: color 0.3s;
}

.pricing-features li.text-muted {
    color: #b2bac6;
    font-weight: 400;
}

.pricing-card .btn {
    margin-top: 10px;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 18px rgba(0,102,204,0.08);
    transition: background 0.3s, color 0.3s;
}

.pricing-card .btn-outline-light {
    color: #fff;
    border: 1.5px solid #fff;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff !important;
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 18px rgba(0,102,204,0.13);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s, transform 0.12s;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    justify-content: center;

}

.btn-gradient:hover, .btn-gradient:focus {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff !important;
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,204,255,0.16);
}

.btn-gradient:active {
    transform: scale(0.97);
}

.pricing-card.featured .btn,
.pricing-card:hover .btn {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.pricing-card.featured .pricing-header h3,
.pricing-card.featured .pricing-price,
.pricing-card:hover .pricing-header h3,
.pricing-card:hover .pricing-price {
    color: #fff;
}

@media (max-width: 991px) {
    .pricing-card {
        margin-bottom: 28px;
    }
}

.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f0fa 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-section .section-badge {
    margin-bottom: 18px;
}

.testimonial-card {
    background: #fff;
    border-radius: 18px;
    /* box-shadow: 0 8px 32px rgba(0, 102, 204, 0.08); */
    padding: 38px 28px 32px 28px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 38px rgba(0, 102, 204, 0.13);
}

.testimonial-avatar {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.10);
    border: 3px solid #e6f0fa;
    background: #fff;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--primary-dark);
    font-size: 1.07rem;
    line-height: 1.7;
    margin: 0 0 18px 0;
    position: relative;
}

.testimonial-info strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.08rem;
    font-weight: 600;
}

.testimonial-info span {
    display: block;
    color: var(--gray-color);
    font-size: 0.97rem;
    font-weight: 500;
    margin-top: 2px;
}

@media (max-width: 991px) {
    .testimonial-card {
        margin-bottom: 28px;
    }
}

.howitworks-timeline {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.howitworks-timeline .section-badge,
.howitworks-timeline .section-title,
.howitworks-timeline .section-subtitle {
    color: #fff;
}

.timeline-wrapper {
    position: relative;
    padding: 40px 0 0 0;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    z-index: 0;
    border-radius: 2px;
}

.timeline-steps {
    position: relative;
    z-index: 1;
    width: 100%;
    justify-content: space-between !important;
    gap: 0;
}

.timeline-step {
    flex: 1 1 0;
    min-width: 220px;
    max-width: 320px;
    margin: 0 10px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 10px;
    color: #fff;
    position: relative;
}

.timeline-step h3 {
    color: #fff;
    font-size: 1.22rem;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 20px;
}

.timeline-step p {
    color: #e1e8ed;
    font-size: 1.02rem;
    line-height: 1.7;
}

.timeline-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0 auto;
    box-shadow: 0 8px 28px rgba(0, 102, 204, 0.15);
    border: 5px solid #fff2;
    position: relative;
    z-index: 2;
    transition: transform 0.3s, background 0.3s;
}

.timeline-step:hover .timeline-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.13) rotate(-7deg);
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 72px;
    right: -50%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    z-index: 1;
    border-radius: 2px;
}

@media (max-width: 991px) {
    .timeline-steps {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .timeline-step {
        max-width: 100%;
        min-width: 0;
        margin: 0 0 40px 0;
        padding: 0;
    }
    .timeline-line {
        display: none;
    }
    .timeline-step:not(:last-child)::after {
        top: 76px;
        left: 50%;
        right: auto;
        width: 4px;
        height: 60px;
        background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    }
}

.howitworks-timeline .btn {
    margin-top: 15px;
    background: #fff;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: background 0.3s, color 0.3s;
}

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

.about-section {
    background-color: #fff;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.about-img-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.08);
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.05) 0%, rgba(0, 102, 204, 0.05) 100%);
}

.about-section .section-badge {
    margin-bottom: 18px;
}

.about-section .section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-highlights li {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.about-highlights .about-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-stat {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 22px 10px 14px 10px;
    text-align: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.07);
    transition: background 0.3s, box-shadow 0.3s;
}

.about-stat .counter {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 2px;
}

.about-stat-label {
    font-size: 0.98rem;
    color: var(--gray-color);
    font-weight: 500;
}

.about-stat:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 8px 22px rgba(0, 102, 204, 0.13);
}

.about-stat:hover .counter, .about-stat:hover .about-stat-label {
    color: #fff;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 204, 255, 0.1) 100%);
    z-index: 0;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
    z-index: 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 0.02;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.1) rotate(10deg);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link:hover::after {
    width: 100%;
}

.btn-link:hover i {
    transform: translateX(5px);
}

.btn-link i {
    transition: transform 0.3s ease;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.fadeInRight {
    animation-name: fadeInRight;
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    padding: 90px 0 80px 0;
    overflow: hidden;
    border: none;
}

.clients-section .section-badge {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 3px 12px rgba(0,102,204,0.13);
}

.clients-section .section-title {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.client-intro {
    font-size: 1.15rem;
    color: #e2f1ff;
    margin-bottom: 0;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.clients-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e6f0fa;
}
.clients-carousel::-webkit-scrollbar {
    height: 6px;
}
.clients-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

.client-logo-card {
    background: rgba(255,255,255,0.13);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,102,204,0.12), 0 1.5px 4px rgba(0,204,255,0.09);
    padding: 28px 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 100px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}
.client-logo-card:hover {
    box-shadow: 0 12px 40px 0 rgba(0,204,255,0.23), 0 3px 12px rgba(0,102,204,0.17);
    transform: translateY(-7px) scale(1.06) rotate(-2deg);
    background: linear-gradient(135deg, rgba(0,102,204,0.18) 0%, rgba(0,204,255,0.16) 100%);
}


.client-logo-card:hover .client-logo {
    opacity: 1;
    filter: drop-shadow(0 6px 18px rgba(0,204,255,0.17));
    transform: scale(1.08) rotate(-2deg);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    animation: floatShape 7s ease-in-out infinite alternate;
}
.floating-shape.shape-1 {
    width: 180px;
    height: 180px;
    top: -60px;
    left: -60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    animation-delay: 0s;
}
.floating-shape.shape-2 {
    width: 220px;
    height: 220px;
    bottom: -80px;
    right: -80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    animation-delay: 3s;
}
@keyframes floatShape {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.07); }
}

@media (max-width: 767.98px) {
    .clients-carousel {
        gap: 18px;
    }
    .client-logo-card {
        padding: 18px 10px;
        min-width: 110px;
        min-height: 70px;
    }
    .clients-section .section-title {
        font-size: 1.5rem;
    }
}


.client-logo {
    max-height: 54px;
    filter: drop-shadow(0 2px 8px rgba(0,102,204,0.10));
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}

.client-logo:hover {
    opacity: 1;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background-color: #f8f9fa;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.1) 0%, rgba(0, 102, 204, 0.1) 100%);
    z-index: 0;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 204, 255, 0.05) 100%);
    z-index: 0;
}

.feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.4s ease;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.15);
    transform: rotate(0deg);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: rotate(10deg) scale(1.05);
    border-radius: 50%;
}

.feature-content {
    flex: 1;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 12px;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-light);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary-color);
}

.feature-card:hover h3::after {
    width: 60px;
    background-color: var(--primary-color);
}

.feature-card p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../img/pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f0fa 100%);
    color: #232946;
    position: relative;
    box-shadow: 0 -2px 32px rgba(0,102,204,0.06);
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 50px;
}

.footer .footer-widget {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,102,204,0.07);
    padding: 32px 24px 28px 24px;
    margin-bottom: 32px;
    min-height: 220px;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
}
.footer .footer-widget:hover {
    box-shadow: 0 16px 48px rgba(0,204,255,0.13);
    transform: translateY(-8px) scale(1.03);
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.footer .footer-text {
    color: #575757;
    font-size: 1rem;
    margin-bottom: 18px;
}

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

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

.footer-links a {
    color: #575757;
    font-weight: 500;
    transition: color 0.2s, padding-left 0.2s;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer .social-icons a {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 8px;
    margin-bottom: 2px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 2px 8px rgba(0,102,204,0.09);
}
.footer .social-icons a:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: scale(1.13);
}

.footer .newsletter-form .form-control {
    border-radius: 30px 0 0 30px;
    border: none;
    background: #ffffff;
    color: #232946;
    box-shadow: none;
    font-size: 1rem;
    padding-left: 18px;
}
.footer .newsletter-form .form-control:focus {
    background: #e6f0fa;
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color, #0066cc);
}
.footer .newsletter-form .btn {
    border-radius: 0 30px 30px 0;
    padding: 8px 18px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border: none;
    transition: background 0.3s;
}
.footer .newsletter-form .btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.footer-divider {
    border-top: 1.5px solid #e6f0fa;
    margin: 40px 0 20px 0;
}

.bottom-footer {
    color: #3f3f3f;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding-top: 8px;
}

/* Decorative floating shapes for footer */
.footer-shape-1 {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.10;
    z-index: 0;
    animation: floatShape 8s infinite alternate;
}
.footer-shape-2 {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0.07;
    z-index: 0;
    animation: floatShape 10s infinite alternate-reverse;
}

@media (max-width: 991.98px) {
    .footer .footer-widget {
        min-height: 180px;
        margin-bottom: 22px;
        padding: 22px 10px 18px 10px;
    }
    .footer {
        padding-top: 40px;
        padding-bottom: 30px;
    }
}
@media (max-width: 767.98px) {
    .footer .footer-widget {
        min-height: 120px;
        margin-bottom: 12px;
        padding: 16px 5px 12px 5px;
    }
    .footer {
        padding-top: 20px;
        padding-bottom: 15px;
    }
}


.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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


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

.newsletter-form .form-control::placeholder {
    color: rgba(32, 32, 32, 0.5);
}

.newsletter-form .btn {
    padding: 8px 12px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        text-align: center;
    }
    
    .top-bar .text-start,
    .top-bar .text-end {
        text-align: center !important;
        margin-bottom: 5px;
    }
    
    .hero-section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .service-card,
    .feature-card {
        margin-bottom: 20px;
    }
}

/* ===== BLOG SECTION ===== */
.blog-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f0fa 100%);
    position: relative;
    padding: 100px 0 90px 0;
    overflow: hidden;
    border: none;
}

.blog-section .section-badge {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 3px 12px rgba(0,102,204,0.13);
}

.blog-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-section .section-subtitle {
    font-size: 1.12rem;
    margin-bottom: 2.3rem;
    line-height: 1.7;
}

.blog-splide {
    margin-bottom: 0;
}

.blog-card {
    background: linear-gradient(135deg, #f8fafc 60%, #e6f0fa 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 36px 0 rgba(0, 102, 204, 0.08);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s;
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.04) rotate(-1deg);
    box-shadow: 0 24px 48px 0 rgba(0, 102, 204, 0.21);
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.blog-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,102,204,0.13);
    z-index: 2;
}

.blog-card-body {
    padding: 28px 28px 22px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 1.03rem;
    color: var(--gray-color);
    margin-bottom: 0.8rem;
}

.blog-meta {
    margin-top: auto;
    font-size: 0.97rem;
    color: var(--primary-dark);
}

.blog-author-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.blog-author {
    font-weight: 600;
    color: var(--primary-color);
}

.blog-date {
    color: var(--gray-color);
    font-size: 0.92rem;
}

/* Floating shapes for blog section */
.blog-shape-1 {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.12;
    z-index: 0;
    animation: floatShape 6s infinite alternate;
}

.blog-shape-2 {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0.10;
    z-index: 0;
    animation: floatShape 7s infinite alternate-reverse;
}

@keyframes floatShape {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.07); }
}

/* Splide blog carousel overrides */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 0;
}

.blog-grid .col-lg-4 {
    display: flex;
}

@media (max-width: 991.98px) {
    .blog-grid .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 767.98px) {
    .blog-grid .col-lg-4, .blog-grid .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .blog-grid {
        gap: 1.5rem 0;
    }
}

@media (max-width: 991.98px) {
    .blog-section .section-title {
        font-size: 2rem;
    }
    .blog-card {
        min-height: 390px;
    }
    .blog-img-wrapper, .blog-img-wrapper img {
        height: 160px;
    }
    .blog-card-body {
        padding: 20px 16px 16px 16px;
    }
}

@media (max-width: 767.98px) {
    .blog-section {
        padding: 70px 0 60px 0;
    }
    .blog-card {
        min-height: 340px;
    }
    .blog-img-wrapper, .blog-img-wrapper img {
        height: 120px;
    }

    .client-logo-div {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* ===== BACK TO TOP BUTTON ===== */
#backToTop {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0,102,204,0.18), 0 0 16px 3px var(--primary-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: opacity 0.4s, transform 0.2s, box-shadow 0.3s;
    animation: backToTopGlow 2.5s infinite alternate;
}
#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}
#backToTop:hover {
    transform: scale(1.12) translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,204,255,0.22), 0 0 24px 6px var(--secondary-color);
}
#backToTop i {
    pointer-events: none;
}

#backToTop {
    /* ...existing styles... */
    opacity: 0;
    pointer-events: none;
}
#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}
@keyframes backToTopGlow {
    0% { box-shadow: 0 8px 32px rgba(0,102,204,0.18), 0 0 16px 3px var(--primary-color); }
    100% { box-shadow: 0 12px 36px rgba(0,204,255,0.32), 0 0 32px 8px var(--secondary-color); }
}
@media (max-width: 575.98px) {
    .hero-badge {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}


.splide__slide {
    padding: 40px 0;
    text-align: center;
    font-size: 24px;
    border-radius: 10px;
    margin: 10px;
  }

  .splide__arrow.splide__arrow--next, .splide__arrow.splide__arrow--prev {
    background-color: var(--primary-color);
    color: #fff;
  }

  .splide__pagination__page.is-active{
    background-color: var(--primary-color) !important;
  }

  .splide__arrow svg{
    color: white;
    fill: white !important;
  }


  .blog-hero-detail {
    background: linear-gradient(rgba(0,102,204,0.85), rgba(0,204,255,0.45)), url('img/blogs/b1.jpg') center/cover no-repeat;
    min-height: 360px;
    color: #fff;
    position: relative;
}
.blog-hero-detail .author-info img {
    width: 48px; height: 48px; object-fit: cover;
}
.blog-content img {
    max-width: 100%; border-radius: 1rem; margin: 2rem 0;
}
.blog-content blockquote {
    border-left: 4px solid var(--primary-color); background: #f8f9fa; color: #333; padding: 1.2rem 1.5rem; font-style: italic; border-radius: 0.5rem; margin: 2rem 0;
}
.blog-tags .badge { margin-right: 0.5rem; }
.blog-sidebar {
    background: #fff; border-radius: 1rem; box-shadow: 0 8px 32px rgba(0,204,255,0.08); padding: 2rem 1.5rem;
}
.blog-sidebar .section-title { font-size: 1.3rem; margin-bottom: 1.2rem; }
.blog-sidebar .recent-post img { width: 60px; height: 60px; object-fit: cover; border-radius: 0.5rem; }
.blog-sidebar .recent-post { display: flex; align-items: center; margin-bottom: 1.2rem; }
.blog-sidebar .recent-post:last-child { margin-bottom: 0; }
@media (max-width: 991px) {
    .blog-sidebar { margin-top: 2.5rem; }
}

.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    text-align: center;
}
.error-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}
.error-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.error-message {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
.btn-home {
    background: #fff;
    color: var(--primary-color);
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.btn-home:hover {
    background: var(--primary-color);
    color: #fff;
}