/* Base styles and imports */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Font import */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('https://fonts.gstatic.com/s/plusjakartasans/v8/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_qU7NSg.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('https://fonts.gstatic.com/s/plusjakartasans/v8/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_TknNSg.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-blue: #3366FF;
    --text-dark: #1A1A1A;
    --text-muted: #4A5568;
    --bg-light: #F8FAFC;
    --transition: all 0.3s ease;
}

/* Responsive Typography */
html {
    font-size: 16px;
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* Core layout styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

main {
    flex: 1;
}

/* Section styling */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-primary {
    background-color: var(--brand-blue) !important;
}

/* Statistics Section Styling */
.stats-container {
    margin-top: 2rem;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--brand-blue);
    display: flex;
    flex-direction: column;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Metrics styling */
.metric {
    padding: 1.5rem;
    background: rgba(51, 102, 255, 0.05);
    border-radius: 0.5rem;
    text-align: center;
}

.metric-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Service Cards - Core Styles */
.service-card {
    background-color: #ffffff;
    border-radius: 20px;
    height: 100%;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Card Body Layout - Fixed Heights */
.card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Service Header - Fixed Height and Spacing */
.service-header {
    height: 80px;
    margin-bottom: 1rem;
}

/* Description Section - Font sizes and spacing */
.service-description {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    min-height: 80px;
    height: auto;
    flex-grow: 1;
}

/* Card sections container - Spacing between description and features */
.card-sections-container {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

/* Button positioning */
.service-card .btn-primary {
    margin-top: auto;
    width: 100%;
}

/* Responsive Adjustments with increased spacing */
@media (max-width: 992px) {
    .service-card {
        height: 650px;
        max-width: 450px;
    }
    
    .service-header {
        height: 80px;
        margin-bottom: 0.75rem;
    }
    
    /* Description text size and spacing for medium screens */
    .service-description {
        height: 140px;
        margin-bottom: 0;
        font-size: 0.95rem; /* Reduced font size for medium screens */
    }
    
    /* Spacing adjustments for medium screens */
    .card-sections-container {
        margin-top: -200px;
        height: 320px;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 768px) {
    .service-card {
        height: 680px;
        max-width: 400px;
    }
    
    .service-header {
        margin-bottom: 0.5rem;
    }
    
    /* Description text size and spacing for small screens */
    .service-description {
        height: 200px;
        margin-bottom: 0;
        font-size: 0.9rem; /* Further reduced font size for small screens */
    }
    
    /* Spacing adjustments for small screens */
    .card-sections-container {
        margin-top: -200px;
        height: 300px;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .service-card {
        height: 700px;
        max-width: 320px;
    }
    
    .service-header {
        margin-bottom: 0.35rem;
    }
    
    /* Description text size and spacing for extra small screens */
    .service-description {
        height: 380px;
        margin-bottom: 0;
        font-size: 0.85rem;
    }
    
    /* Spacing adjustments for extra small screens */
    .card-sections-container {
        margin-top: -200px;
        height: 280px;
        margin-bottom: 0.1rem;
    }
}

/* Remove scrollbar styles */
.service-card *::-webkit-scrollbar {
    display: none;
}

.service-card * {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Grid System */
.row-cols-1.row-cols-md-2.row-cols-lg-3 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.row-cols-1.row-cols-md-2.row-cols-lg-3 > .col {
    padding: 0 1.25rem;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex: 1;
}

/* Section Headlines */
.section-headline {
    font-size: 3.2rem;
    font-weight: 800;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    padding: 2rem 0;
    color: #1E293B;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bg-primary .section-headline {
    color: white;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-light {
    background-color: #FF6B2C;
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-light:hover {
    background-color: #ff5a14;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 44, 0.25);
}

/* Responsive Adjustments */

    .section-headline {
        font-size: 2.5rem;
        margin: 2rem 0;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }
    

    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* RTL Support */
[dir="rtl"] .features-list li {
    padding-right: 0;
    padding-left: 1rem;
}

[dir="rtl"] .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

/* Pricing Section Refinements */




.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}



.price {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}


.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--brand-blue);
    font-size: 1rem;
}

.pricing-cta {
    width: 100%;
    padding: 1rem;
    background: var(--brand-blue);
    color: white;
    text-align: center;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
    font-weight: 500;
    margin-top: 0.25rem;
}

.pricing-cta:hover {
    background: #1A4FCF;
    transform: translateY(-2px);
}

/* Price Toggle Styles */
.price-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.price-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.price-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.price-toggle .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--brand-blue);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pricing-card {
        padding: 1rem;
    }

    .price {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    .pricing-features li {
        font-size: 0.9rem;
    }
}

/* Tabs Container */
.tabs-container {
    width: 100%;
    margin: 0;
    padding: 0.75rem;
}

/* Tabs Navigation */
.tabs {
    display: flex;
    background: #E2E8F0;  /* Darker background */
    border-radius: 8px;
    padding: 4px;
    gap: 8px;
    width: fit-content;
}

.tab {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    color: var(--brand-blue);  /* Using brand color for inactive state */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    background: transparent;
}

.tab:hover {
    background: rgba(59, 130, 246, 0.12);  /* Slightly darker hover state */
}

.tab.active {
    background: white;
    color: #1A1A1A;  /* Near black text for active state */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Tab content styling */
.tab-content {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    padding: 0.5rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Feature list in tabs */
.tab-pane .feature-list {
    margin: 0;
    padding: 0;
}

.tab-pane .feature-list li {
    color: #2d3748;
    background: #f8f9fa;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
    margin-left: 0;
    margin-right: 0;
    font-size: 0.85rem;
    line-height: 1.1;
    display: flex;
    align-items: flex-start;
    text-align: left;
    list-style: none !important;
    width: 100%;
}

.tab-pane .feature-list li i {
    margin-top: 0.15rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.tab-pane .feature-list li span {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    text-align: left;
    flex: 1;
}

/* Service Cards - Core Styles */
.service-card {
    background-color: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    width: 100%;
    margin: 0;
    height: auto;
}

/* Card sections container - Further adjusted height and margins */
.card-sections-container {
    margin-top: 110px;
    height: 350px;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Button positioning - Further reduced margins */
.service-card .btn-primary {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Responsive height adjustment */
@media (max-width: 992px) {
    .service-card {
        height: auto;
    }
    
    .card-sections-container {
        height: auto;
    }

    .tab-content,
    .tab-pane {
        height: auto;
    }
}

@media (max-width: 768px) {
    .service-card {
        height: auto;
    }
}

@media (max-width: 576px) {
    .service-card {
        height: auto;
    }
}

/* Adjust container spacing */
.container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Container adjustments */
.services-section .container {
    max-width: 1140px;
    padding: 0 1rem;
}

/* Column spacing */
.row-cols-lg-4 {
    margin: 0 -0.5rem;
}

.row-cols-lg-4 > .col {
    padding: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-card {
        width: 100%;
    }
    
    .services-section .container {
        padding: 0 1rem;
    }
}

/* Brand/Logo Styling */
.brand {
    display: flex;
    align-items: center;
}

.brand-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    font-size: 1.8rem;
    color: #4A90E2;
    background: linear-gradient(45deg, #4A90E2, #357ABD);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2C3E50;
    letter-spacing: 0.5px;
}

.brand-caption {
    font-size: 0.85rem;
    color: #4A5568;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 0.2rem;
    background: linear-gradient(120deg, #2563EB, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
    position: relative;
    padding-left: 0.5rem;
}

.brand-caption::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: linear-gradient(120deg, #2563EB, #3B82F6);
    border-radius: 2px;
}

.brand-link:hover .brand-icon {
    transform: rotate(5deg);
}





/* Service Header - Update height and spacing */


/* Responsive adjustments */
@media (max-width: 992px) {
    .headline-with-icon h3 {
        font-size: 1.35rem;
    }
    
    .service-header {
        height: 50px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .headline-with-icon h3 {
        font-size: 1.25rem;
    }
    
    .service-header {
        height: 45px;
        margin-bottom: 1rem;
    }
}

/* Card sections container - Base styles */
.card-sections-container {
    margin-top: 110px;
    height: 320px;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Button positioning */
.service-card .btn-primary {
    margin-top: auto;
    margin-bottom: 0.5rem;
}

/* Service card responsive adjustments */
@media (max-width: 1200px) {
    .row-cols-lg-4 > * {
        width: 50%; /* 2 cards per row */
    }
    
    .service-card {
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
    }
    
    .card-sections-container {
     /* Fixed height for features section */
        overflow: auto; /* Allow scrolling if content exceeds height */
        margin-bottom: 1rem;
    }

    .service-description {
        height: 350px; /* Fixed height for description */
        overflow: auto;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 568px) {
    .row-cols-lg-4 > * {
        width: 100%; /* 1 card per row */
    }
    
    


    .service-description {
        height: 70px; /* Slightly reduced description height */
    }
}

/* Update row columns for 3 cards */
.row-cols-lg-4 > * {
    width: 33.333%; /* Change to show 3 cards per row by default */
}

/* Update responsive breakpoints */
@media (max-width: 992px) {
    .row-cols-lg-4 > * {
        width: 50%; /* 2 cards per row on medium screens */
    }
    
    .section-headline {
        font-size: 2.5rem;
        margin: 2rem 0;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .row-cols-lg-4 > * {
        width: 100%; /* 1 card per row on mobile */
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
}

/* Update card sections container height */


}

    .service-description {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .card-sections-container {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 568px) {
    .service-card {
        height: 570px;
    }
    
    .card-sections-container {
        margin-top: 00px;
        height: 370px;
        margin-bottom: 0.25rem;
    }
}

/* Services Section Styling */
.services-section {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1a4fcf 100%);
    padding: 6rem 0;
}

/* Container max-width adjustment */
.services-section .container {
    max-width: 1280px;
    padding: 0 2rem;
}

/* Grid System Improvements */
.row-cols-1.row-cols-md-2.row-cols-lg-3 {
    --bs-gutter-x: 2.5rem;
    --bs-gutter-y: 2.5rem;
    margin: 0 -1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.row-cols-1.row-cols-md-2.row-cols-lg-3 > .col {
    padding: 0 1.25rem;
    display: flex;
    justify-content: center;
}

/* Service Card Refinements */
.service-card {
    background-color: #ffffff;
    border-radius: 20px;
    height: 100%;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Card Header Improvements */


.headline-with-icon h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* Tabs Styling Enhancement */
.tabs {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 6px;
    gap: 6px;
    margin-bottom: 1rem;
}

.tab {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Feature List Refinements */
.feature-list {
    padding: 0.5rem;
}

.feature-list li {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-size: 1rem; /* Default font size for large screens */
}

.feature-list li:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.feature-list li i {
    color: var(--brand-blue);
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

/* Button Styling */
.service-card .btn-primary {
    margin-top: auto;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 102, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .services-section .container {
        padding: 0 1.5rem;
    }
    
    .row-cols-1.row-cols-md-2.row-cols-lg-3 {
        --bs-gutter-x: 2rem;
        --bs-gutter-y: 2rem;
    }
    
    .service-card {
        min-height: 580px;
        padding: 1.75rem;
    }
}

@media (max-width: 992px) {
    .services-section {
        padding: 5rem 0;
    }
    
    .row-cols-1.row-cols-md-2.row-cols-lg-3 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }
    
    .service-card {
        min-height: 540px;
        padding: 1.5rem;
    }
    
    .headline-with-icon h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .services-section .container {
        padding: 0 1rem;
    }
    
    .row-cols-1.row-cols-md-2.row-cols-lg-3 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1.5rem;
    }
    
    .service-card {
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .service-card {
        min-height: 480px;
        padding: 1.25rem;
    }
    
    .headline-with-icon h3 {
        font-size: 1.25rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
}

/* Feature List Spacing */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem; /* Reduced from 0.25rem */
}

.feature-list li {
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

/* Card sections container - Base spacing */
.card-sections-container {
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .service-description {
        font-size: 0.925rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 1200px) {
    .service-description {
        font-size: 0.875rem;
        min-height: 120px;
        margin-bottom: 1.5rem;
    }
    
    .card-sections-container {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .service-description {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 768px) {
    .service-description {
        font-size: 0.825rem;
        min-height: 100px;
        margin-bottom: 1rem;
    }
    
    .card-sections-container {
        height: 320px;
    }
}

/* Headline Styles */
.section-headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin: 2rem 0;
    color: #1E293B;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Headline Styles for Pricing Cards */


.pricing-card .section-headline:hover {
    color: #1A1A1A; /* Darker color on hover for interaction feedback */
}

/* Pricing Section Refinements */


/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: 12px; /* Slightly reduced border radius */
    border: 1px solid rgba(51, 102, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem; /* Increased padding for a more spacious feel */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
}

/* Price Container */


/* Price */


/* Pricing Features */
.pricing-features {
    flex-grow: 1;
    margin-bottom: 0.5rem;
}



.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Button */


.pricing-cta:hover {
    background: #1A4FCF; /* Darker shade of brand blue for hover effect */
    transform: translateY(-2px); /* Lift effect on hover */
}

/* Toggle Styles */
.price-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.price-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.price-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.price-toggle .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--brand-blue);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Responsive Adjustments */


/* Headline Styles */
.section-headline {
    font-size: clamp(2rem, 5vw, 3rem); /* Responsive headline size */
    font-weight: 800;
    text-align: center;
    margin: 2rem 0; /* Adjusted margin */
    color: var(--brand-blue); /* Use brand color for headlines */
    text-transform: uppercase; /* Uppercase for emphasis */
    letter-spacing: 1px; /* Slightly reduced letter spacing */
}

/* Card sections container - Updated spacing */
.card-sections-container {
    margin-top: 20px; /* Reduced from 110px */
    height: auto; /* Changed from fixed height */
    max-height: 350px; /* Added max-height instead */
    overflow-y: auto; /* Allow scrolling if needed */
    margin-bottom: 1rem;
}

/* Service card - Updated height handling */
.service-card {
    display: flex;
    flex-direction: column;
    height: auto; /* Changed from fixed height */
    min-height: 550px; /* Added minimum height */
    padding: 2rem;
}

/* Button positioning */
.service-card .btn-primary {
    margin-top: 1rem; /* Consistent margin */
    width: 100%;
}



/* Grid system updates */
.row-cols-1.row-cols-md-2.row-cols-lg-3 {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.row-cols-1.row-cols-md-2.row-cols-lg-3 > .col {
    padding: 1rem;
    display: flex;
    flex: 0 0 33.333333%; /* Ensure equal width */
    max-width: 33.333333%;
}

/* Responsive breakpoints */
@media (max-width: 992px) {
    .row-cols-1.row-cols-md-2.row-cols-lg-3 > .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .row-cols-1.row-cols-md-2.row-cols-lg-3 > .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
/* Tool Stack Section */
.tool-stack-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.flashcards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Flashcard Base */
.flashcard {
    perspective: 1000px;
    min-height: 320px;
    height: 100%;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flashcard-front,
.flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
}

.flashcard-front {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.flashcard-back {
    background: var(--brand-blue);
    color: white;
    transform: rotateY(180deg);
}

/* Content Styling */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.flashcard-front h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-points li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .flashcards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .flashcard {
        min-height: 280px;
    }

    .flashcard-front,
    .flashcard-back {
        padding: 1.5rem;
    }

    .icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* Touch Device Handling */
@media (hover: hover) {
    .flashcard:hover .flashcard-inner {
        transform: rotateY(180deg);
    }
}

.flashcard-inner.is-flipped {
    transform: rotateY(180deg);
}


/* ADD this to your styles.css */
.service-card {
    transition: transform 0.3s ease-in-out;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Icon Container Styles */
.d-flex.align-items-center.mb-4 {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
}

/* Icon Styles */


/* Heading Styles */
.d-flex.align-items-center.mb-4 h2.h3 {
    margin: 0;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.5rem;
    line-height: 1.3;
}

/* Hover Effects */
.card:hover .d-flex.align-items-center.mb-4 i.fas {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(51, 102, 255, 0.25);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-card .card-body {
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .d-flex.align-items-center.mb-4 {
        padding: 0.75rem;
    }
    
    .d-flex.align-items-center.mb-4 i.fas {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .d-flex.align-items-center.mb-4 h2.h3 {
        font-size: 1.25rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

.row-cols-1 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

@media (min-width: 768px) {
    .row-cols-md-3 > * {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}


/* Service Card Icon Styles */




/* Override any other icon styles */


/* Force icons to display */


/* Specific service card icon fixes */



/* Icon circle containers */
.icon-outer-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3366FF 0%, #1a4fcf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-inner-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon styling */


/* Feature list icons */
.feature-list i {
    color: var(--brand-blue);
    width: 24px;
    margin-right: 12px;
}

/* Flashcard icons */
.flashcard .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.flashcard .icon-circle i {
    font-size: 28px;
    color: white;
}

/* UPDATE this section in styles.css */
.headline-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.headline-with-icon h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.icon-outer-circle {
    order: -1; /* Makes icon appear before the text */
    width: 48px;
    height: 48px;
    min-width: 48px; /* Prevents icon from shrinking */
    border-radius: 50%;
    background: linear-gradient(135deg, #3366FF 0%, #1a4fcf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-inner-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-inner-circle i {
    color: white;
    font-size: 18px;
}

/* Update headline-with-icon responsive styles */
@media (max-width: 768px) {
    .headline-with-icon {
        gap: 0.75rem;
    }
    
    .headline-with-icon h3 {
        font-size: 1.25rem;
    }
    
    .icon-outer-circle {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .icon-inner-circle {
        width: 30px;
        height: 30px;
    }
    
    .icon-inner-circle i {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .headline-with-icon h3 {
        font-size: 1.1rem;
    }
}

/* Add styles for section subheadline */
.section-subheadline {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .section-subheadline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Enhanced Pricing Section Styles */
.pricing-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 6rem 0;
}

/* Add more spacing to first row */
.pricing-section .row:first-of-type {
    margin-bottom: 4rem;
    padding-top: 1rem;
}

/* Adjust spacing for other rows */
.pricing-section .row:not(:first-of-type) {
    margin-bottom: 2rem;
}

.pricing-section h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
    position: relative;
}

.pricing-section h1::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--brand-blue);
    border-radius: 2px;
    opacity: 0.3;
}

.pricing-section h2.pricing-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: #4A5568;
    margin: 3rem 0 2rem;
    letter-spacing: -0.01em;
    text-align: center;
}

    .pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Remove the gradient border on hover */
.pricing-card::before {
    display: none;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.12);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

.pricing-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--brand-blue);
    border-radius: 2px;
    opacity: 0.2;
}

.price-container {
    text-align: center;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2C3E50;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-feature-settings: "tnum";
}

/* Adjust the last row card heights */
.row:last-child .pricing-card {
    height: auto;
    min-height: 0;
}

/* Make sure all cards in other rows maintain their height */
.row:not(:last-child) .pricing-card {
    height: 100%;
}

/* Add animation attributes to the last row */
.row:last-child [data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

.row:last-child [data-aos].aos-animate {
    opacity: 1;
}

.row:last-child [data-aos="fade-up"] {
    transform: translateY(20px);
}

.row:last-child [data-aos].aos-animate[data-aos="fade-up"] {
    transform: translateY(0);
}