/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Colors - Harmonious Pastels */
    --primary-color: #8B7EC8;        /* Soft Purple */
    --secondary-color: #B5A5A5;      /* Warm Gray */
    --accent-color: #E8C5A0;         /* Peach */
    --tertiary-color: #A8D5BA;       /* Sage Green */
    --quaternary-color: #F7D794;     /* Soft Yellow */
    
    /* Light/Dark Shades */
    --primary-light: #B8A9E5;
    --primary-dark: #6B5B9A;
    --secondary-light: #D3C8C8;
    --secondary-dark: #8A7A7A;
    --accent-light: #F2D4B3;
    --accent-dark: #D4A870;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #DEE2E6;
    --dark-gray: #495057;
    --black: #212529;
    
    /* Text Colors */
    --text-primary: #2C3E50;
    --text-secondary: #5D6D7E;
    --text-muted: #95A5A6;
    --text-light: #BDC3C7;
    
    /* Background Colors */
    --bg-primary: var(--white);
    --bg-secondary: var(--light-gray);
    --bg-tertiary: var(--primary-light);
    
    /* Shadow */
    --shadow-light: rgba(139, 126, 200, 0.1);
    --shadow-medium: rgba(139, 126, 200, 0.2);
    --shadow-dark: rgba(139, 126, 200, 0.3);
    
    /* Typography */
    --font-family-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4.5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.lead {
    font-size: 1.125rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: all var(--transition-medium);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-light);
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-medium);
}

.navbar-brand {
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: var(--font-weight-medium);
    margin: 0 var(--spacing-sm);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
    background: var(--bg-secondary);
    padding: var(--spacing-sm) 0;
    margin-top: 70px;
}

.breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--tertiary-color), var(--accent-light));
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: rgba(139, 126, 200, 0.1);
    border-radius: 50% 20% 50% 20%;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: rgba(232, 197, 160, 0.15);
    border-radius: 20% 50% 20% 50%;
    transform: rotate(-30deg);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ===== SECTIONS ===== */
section {
    padding: var(--spacing-xxl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* ===== CARDS ===== */
.card, .service-card, .feature-card, .testimonial-card, .info-card, 
.price-plan-card, .blog-card, .benefit-card, .document-section,
.event-card, .resource-card, .partnership-card, .setup-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 25px var(--shadow-light);
    transition: all var(--transition-medium);
    border: none;
    overflow: hidden;
}

.card:hover, .service-card:hover, .feature-card:hover, .info-card:hover,
.blog-card:hover, .benefit-card:hover, .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-medium);
}

/* ===== SERVICE CARDS ===== */
.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.price-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: auto;
}

/* ===== TEAM SECTION ===== */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary-light);
    transition: all var(--transition-medium);
}

.team-member:hover img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials-swiper {
    padding: var(--spacing-lg) 0 var(--spacing-xl) 0;
}

.testimonial-card {
    height: auto;
    margin: var(--spacing-md);
}

.stars i {
    color: var(--quaternary-color);
    margin: 0 2px;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* ===== PRICE PLANS ===== */
.price-plan-card.popular {
    position: relative;
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.price-display {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin: var(--spacing-md) 0;
}

/* ===== FORMS ===== */
.form-control, .form-select {
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem var(--shadow-light);
    outline: none;
}

.form-label {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== ACCORDION (FAQ) ===== */
.accordion-item {
    border: none;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.accordion-button {
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-md) var(--spacing-lg);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem var(--shadow-light);
    border: none;
}

.accordion-body {
    background: var(--white);
    color: var(--text-secondary);
}

/* ===== GALLERY ===== */
#gallery img {
    transition: all var(--transition-medium);
    border-radius: var(--radius-md);
}

#gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--dark-gray), var(--black)) !important;
    color: var(--white);
}

footer h5 {
    color: var(--white);
    font-weight: var(--font-weight-bold);
}

footer a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--accent-color);
}

footer .list-unstyled li {
    margin-bottom: var(--spacing-xs);
}

/* ===== UTILITY CLASSES ===== */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.bg-accent-gradient {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.rounded-custom {
    border-radius: var(--radius-lg) !important;
}

.shadow-custom {
    box-shadow: 0 10px 40px var(--shadow-medium) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== FOCUS STYLES ===== */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar, .breadcrumb-nav, footer, .hero-shapes {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .card, .service-card, .feature-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
} 