/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Base Styles */
body {
    margin: 0; 
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif; 
    background: #f8fafc; 
    color: #334155; 
    line-height: 1.7;
    overflow-x: hidden;
}

header, section, footer {
    max-width: 1200px; 
    margin: auto; 
    padding: 40px 24px;
}

/* Animations */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero Section */
.hero {
    padding: 80px 24px 20px;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent), 
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.08), transparent);
}

h1, h2, h3, h4 {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.lead {
    color: #475569;
    font-size: clamp(16px, 2vw, 20px);
    margin-top: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Badges & Tags */
.badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
    color: #4338ca;
    border: 1px solid rgba(67, 56, 202, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    justify-content: center;
}

.tag {
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 6px;
    color: #64748b;
    transition: all 0.2s;
}

.tag:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

/* Grids & Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02), 0 2px 4px -1px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
    border-color: #cbd5e1;
}

.card h3 {
    margin-top: 16px;
    margin-bottom: 16px;
    color: #1e293b;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card h3 i {
    color: #3b82f6;
    font-size: 1.6rem;
}

.card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Service Lists */
ul.service-list { 
    padding-left: 0; 
    color: #475569; 
    list-style-type: none;
}

ul.service-list li { 
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

ul.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #10b981;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
}

/* Buttons */
.cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn.primary {
    background: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn.primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn.ghost {
    background: #ffffff;
    color: #334155;
    border: 2px solid #cbd5e1;
}

.btn.ghost:hover {
    border-color: #94a3b8;
    color: #0f172a;
    background: #f8fafc;
}

/* Statistics Box */
.stat-box {
    text-align: center;
    padding: 24px;
    border-right: 1px solid #e2e8f0;
}

.stat-box:last-child {
    border-right: none;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Layout Overrides */
.custom-navbar {
    background-color: #0f172a !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section {
    background: #ffffff; 
    border-top: 1px solid #e2e8f0; 
    padding-top: 60px;
}

/* Responsive Rules */
@media (max-width: 991px) { 
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) { 
    .grid-2, .grid-3 { grid-template-columns: 1fr; } 
    .stat-box { border-right: none; border-bottom: 1px solid #e2e8f0; }
    .stat-box:last-child { border-bottom: none; }
}