:root {
    --primary-color: #4f46e5; /* Indigo 600 */
    --primary-hover: #4338ca; /* Indigo 700 */
    --secondary-color: #10b981; /* Emerald 500 */
    --secondary-hover: #059669; /* Emerald 600 */
    --dark-color: #1e293b; /* Slate 800 */
    --light-color: #f8fafc; /* Slate 50 */
    --text-muted: #64748b; /* Slate 500 */
    --border-color: #e2e8f0; /* Slate 200 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-family-sans);
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

/* Navbar Customization */
.gradient-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    box-shadow: var(--shadow-md);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff;
}

/* Hero Carousel */
.carousel-hero {
    /* overflow: hidden; */
    margin-top: -1.5em;
    margin-bottom: 3rem;
    position: relative;
}

.carousel-hero .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-hero h2, 
.carousel-hero p {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.carousel-hero .carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    padding: 2rem;
    bottom: 20%;
    text-align: left;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

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

.btn-success:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

/* Feature Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fff;
    overflow: hidden;
}

.card-shadow-soft {
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.card-shadow-soft:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-muted);
}

/* Hero Section Text */
.hero-section {
    padding: 4rem 0;
}

.display-5 {
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lead {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 400;
}

/* Icon Styling */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: transform 0.3s;
}

.card:hover .icon-box {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: #fff;
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--dark-color);
    background-color: #fff;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.05);
}

/* Footer */
footer {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 5rem;
}

/* Animations */
.js-scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility */
.text-primary-custom {
    color: var(--primary-color);
}

@media print {
    .no-print {
        display: none !important;
    }
}