/* RouteFlow SMS Custom Styles - Extends Bootstrap 5 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');

/* Bootstrap Theme Customization */
:root {
    --primary-color: #494cdd;
    --primary-dark: #3639d8;
    --primary-light: #686bff;
    --accent-color: #009b9b;
    --text-color: #333;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Noto Sans', 'Segoe UI Light', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
}

/* Override Bootstrap primary color */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Navbar Customization */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.navbar-nav .nav-link:hover {
    opacity: 0.8;
}

.navbar-nav .nav-auth-link {
    background-color: #ff9f1a;
    color: white !important;
    border-radius: 20px;
    padding: 8px 20px !important;
    margin-left: 10px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-auth-link:hover {
    background-color: #ff8c00;
    opacity: 1;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent-color) 100%);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image {
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--primary-color);
}

.cta-button-alt {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(73, 76, 221, 0.3);
}

.cta-button-alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(73, 76, 221, 0.4);
    background-color: var(--primary-light);
    color: white;
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    padding-top: 6rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(73, 76, 221, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Scale up small SVGs to match other icons */
.feature-icon img[src*="agents.svg"],
.feature-icon img[src*="api.svg"] {
    width: 64px;
    height: 64px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0 40px;
    color: white;
    text-align: center;
    border-bottom: 7px solid var(--accent-color);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Content Section */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 2rem;
}

.content-section h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.content-section h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.address-block {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

/* Highlight/Badge */
.highlight {
    background-color: var(--primary-color);
    border-radius: 7px;
    padding: 4px 8px;
    color: white;
    font-weight: 600;
}

/* Footer */
footer {
    background: url('/img/footer.svg');
    background-size: cover;
    background-position: top;
    padding: 60px 0 30px;
    color: white;
    position: relative;
    margin-top: 4rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0.95;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.9);
}

footer a {
    color: white !important;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    color: white !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Loading Indicators */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content h2 {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}


