:root {
    /* Professional Color Palette */
    --primary-color: #1a365d;
    --primary-dark: #0f2942;
    --primary-light: #2c5282;
    --secondary-color: #4a5568;
    --accent-color: #3182ce;
    --success-color: #38a169;
    --light-bg: #f7fafc;
    --dark-bg: #1a202c;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --border-color: #e2e8f0;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(26, 54, 93, 0.05);
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-pattern.svg') no-repeat center right;
    opacity: 0.05;
}

.hero-section h1 {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-section .lead {
    color: var(--text-secondary);
    font-size: 1.25rem;
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Icons */
.feature-icon {
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-icon i {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.feature-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    background-color: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card:hover .feature-icon i,
.card:hover .feature-icon img {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Features Section */
.features-preview {
    background-color: white;
    padding: 6rem 0;
}

.features-preview h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--bs-white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.05;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer h5, .footer h6 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--bs-white) !important;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-contact li {
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-contact i {
    font-size: 1.25rem;
}

.footer-bottom-links a {
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--bs-white) !important;
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 6rem 0 4rem;
    }
    
    .hero-section img {
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        border-radius: 1.25rem;
    }
    
    .feature-icon img {
        width: 55%;
        height: 55%;
    }
    
    .feature-icon-small {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-right: 1rem;
        border-radius: 0.75rem;
    }
    
    .feature-icon-small i {
        font-size: 1.25rem;
    }
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-bg);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 3rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    z-index: 2;
}

.step-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-icon img {
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon img {
    transform: scale(1.1);
}

.process-step h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Add connecting lines between steps */
@media (min-width: 768px) {
    .process-step::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -50%;
        width: 100%;
        height: 2px;
        background: var(--border-color);
        z-index: 1;
    }
    
    .col-md-3:last-child .process-step::after {
        display: none;
    }
}

/* Responsive adjustments for How It Works section */
@media (max-width: 768px) {
    .how-it-works {
        padding: 4rem 0;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    .process-step:last-child {
        margin-bottom: 0;
    }
    
    .step-icon {
        width: 100px;
        height: 100px;
    }
}

/* Features Page Styles */
/* Hero Section */
.features-hero {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    margin-top: 2rem;
}

.features-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features-hero .lead {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--primary-color);
    opacity: 0.9;
}

/* Feature Cards */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: var(--bs-primary);
    font-weight: 600;
}

.card-text {
    color: var(--bs-gray-700);
}

.feature-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-height: 100%;
    width: auto;
}

/* Feature Items */
.feature-item {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-item h3 {
    color: var(--bs-primary);
    font-weight: 600;
}

.feature-item p {
    color: var(--bs-gray-600);
}

.feature-icon-small {
    width: 64px;
    height: 64px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.feature-icon-small i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon-small {
    background-color: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-item:hover .feature-icon-small i {
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-section .lead {
    color: var(--primary-color);
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: rgb(255, 255, 255);
    color: var(--bs-primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    background: var(--bs-primary-dark);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* List Styling */
.card ul li {
    color: var(--bs-gray-700);
}

.card ul li i {
    color: var(--bs-success);
    margin-right: 0.5rem;
}

/* Pattern Overlay */
.features-hero::before,
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg');
    opacity: 0.1;
    z-index: 0;
}

.features-hero .container,
.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--bs-white) 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3rem;
    margin-bottom: 2rem;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.05;
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-hero .lead {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.contact-info:hover .contact-icon {
    background: var(--primary-color);
    color: var(--bs-white) !important;
    transform: scale(1.05);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 0.75rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bs-white);
    transform: translateY(-2px);
}

.contact-form {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.1);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-form .btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.contact-form .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.25rem;
}

.contact-form .form-check-label {
    margin-left: 0.5rem;
}

.map-section iframe {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 2rem 0;
    }
    
    .contact-info, .contact-form {
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-form .btn-primary {
        width: 100%;
    }
} 