* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: calc(1.375rem + 1.5vw); }
h2 { font-size: calc(1.325rem + .9vw); }
h3 { font-size: calc(1.3rem + .6vw); }
h4 { font-size: calc(1.275rem + .3vw); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-top: 0; margin-bottom: 1rem; }

a {
    text-decoration: none;
    display: inline-block;
    transition: all .3s ease-in-out;
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

.display-3 {
    font-size: calc(1.575rem + 3.9vw);
    font-weight: 800;
    line-height: 1.1;
}

.display-4 {
    font-size: calc(1.475rem + 2.7vw);
    font-weight: 700;
    line-height: 1.1;
}

.container {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }

.form-label {
    margin-bottom: .5rem;
    display: inline-block;
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: .875rem 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #2c3e50;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    border-radius: .75rem;
    transition: all .3s ease-in-out;
}

.mx-auto{
    margin: 0 auto;
}

.form-control:focus {
    outline: 0;
    border-color: #6366f1;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.15);
    background-color: #ffffff;
}

.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    border-radius: .75rem;
    transition: all .3s ease-in-out;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: .875rem;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: .75rem 1.25rem;
    font-weight: 500;
    transition: all .3s ease-in-out;
    border-radius: .5rem;
}

.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .5rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.collapse:not(.show) { display: none; }

.d-flex { display: flex !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.min-vh-100 { min-height: 100vh !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }
.text-center { text-align: center !important; }
.text-decoration-none { text-decoration: none !important; }
.fw-bold { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.opacity-90 { opacity: 0.9 !important; }
.opacity-75 { opacity: 0.75 !important; }
.overflow-hidden { overflow: hidden !important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important; }
.shadow-xl { box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .2) !important; }
.rounded-4 { border-radius: 1rem !important; }
.rounded-5 { border-radius: 1.25rem !important; }
.rounded-pill { border-radius: 50rem !important; }

.mt-4 { margin-top: 1.5rem !important; }
.mt-6 { margin-top: 2rem !important; }
.mt-8 { margin-top: 2.5rem !important; }
.mt-12 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-15 { margin-bottom: 4rem !important; }
.ms-auto { margin-left: auto !important; }
.me-4 { margin-right: 1rem !important; }
.my-8 { margin-top: 2rem !important; margin-bottom: 2rem !important; }

.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.p-10 { padding: 2.5rem !important; }
.p-12 { padding: 3rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-15 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-25 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-12 { padding-left: 3rem !important; padding-right: 3rem !important; }
.ps-lg-8 { padding-left: 2rem !important; }

.fs-1 { font-size: 1.5rem !important; }
.fs-2 { font-size: 1.375rem !important; }
.fs-3 { font-size: 1.25rem !important; }
.fs-4 { font-size: 1.125rem !important; }
.lh-lg { line-height: 1.8 !important; }

.border-top { border-top: 1px solid !important; }
.border-5 { border-width: 5px !important; }

.gap-4 { gap: 1rem !important; }
.g-4 > * { padding: 0.5rem; }
.g-6 > * { padding: 0.75rem; }
.g-8 > * { padding: 1rem; }

:root {
    --primary-custom: #6366f1;
    --primary-dark: #4338ca;
    --secondary-custom: #8b5cf6;
    --accent: #f59e0b;
    --success: #10b981;
    --info: #06b6d4;
    --light: #f8fafc;
    --dark: #1e293b;
    --muted: #64748b;
}

.text-primary-custom { color: var(--primary-custom) !important; }
.text-primary-dark { color: var(--primary-dark) !important; }
.text-accent { color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--muted) !important; }
.text-brand { color: #ffffff !important; }
.text-white { color: #ffffff !important; }
.text-light { color: #f1f5f9 !important; }

.bg-white { background-color: #ffffff !important; }
.bg-light { background-color: var(--light) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-accent-light { background-color: rgba(245, 158, 11, 0.1) !important; }
.bg-success-light { background-color: rgba(16, 185, 129, 0.1) !important; }
.bg-info-light { background-color: rgba(6, 182, 212, 0.1) !important; }

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

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--primary-dark);
}

.btn-light {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--primary-dark);
}

.btn-light:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

.bg-custom-nav {
    background: linear-gradient(135deg, var(--primary-custom) 0%, var(--primary-dark) 100%);
    backdrop-filter: blur(20px);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-custom) 0%, var(--secondary-custom) 50%, var(--primary-dark) 100%);
    min-height: 100vh;
    padding-top: 80px;
}

.hero-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(245, 158, 11, 0.2) 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-content h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, var(--accent), var(--success));
    border-radius: 1rem;
    z-index: -1;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-custom) 0%, var(--primary-dark) 100%);
}

.bg-secondary-gradient {
    background: linear-gradient(135deg, var(--secondary-custom) 0%, var(--primary-custom) 100%);
}

.bg-accent-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
}

.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.feature-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2rem 4rem rgba(99, 102, 241, 0.15) !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-custom), var(--secondary-custom));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.number-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-custom), var(--secondary-custom));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-custom), var(--secondary-custom));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

@media (min-width: 576px) {
    .container { max-width: 540px; }
}

@media (min-width: 768px) {
    .container { max-width: 720px; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
    .flex-md-row { flex-direction: row !important; }
    .text-md-start { text-align: left !important; }
    .mb-md-0 { margin-bottom: 0 !important; }
}

@media (min-width: 992px) {
    .container { max-width: 960px; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
    .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }

    .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
    .navbar-expand-lg .navbar-nav { flex-direction: row; }
    .navbar-expand-lg .navbar-nav .nav-link { padding-right: .75rem; padding-left: .75rem; }
    .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
    .navbar-expand-lg .navbar-toggler { display: none; }

    .order-lg-1 { order: 1 !important; }
    .order-lg-2 { order: 2 !important; }
    .mb-lg-0 { margin-bottom: 0 !important; }
    .text-lg-end { text-align: right !important; }
    .py-lg-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
    .py-lg-25 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
    .col-xl-6 { flex: 0 0 auto; width: 50%; }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    .display-3 { font-size: 4.5rem; }
    .display-4 { font-size: 3.5rem; }
}

@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

@media (max-width: 767px) {
    .hero-section { padding-top: 100px; }
    .py-15 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .py-25 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .display-3 { font-size: 2.5rem !important; }
    .display-4 { font-size: 2rem !important; }
    .fs-1 { font-size: 1.25rem !important; }
    .fs-2 { font-size: 1.125rem !important; }
}