﻿:root {
    --primary: #0033A0;
    --primary-light: #8FCAE7;
    --primary-dark: #001133;
    --secondary: #495057;
    --light: #f8f9fa;
    --dark: #1E1E1E;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0033A0 0%, #001133 50%, #001122 100%);
    --gradient-accent: linear-gradient(135deg, #0033A0 0%, #001133 100%);
    --shadow-sm: 0 2px 8px rgba(0, 51, 160, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 51, 160, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 51, 160, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer styles moved to /css/footer.css */

/* Remove aggressive universal reset that breaks Bootstrap */
*:not([class*="bs-"], [class*="navbar"], [class*="nav-"], [class*="dropdown"]) {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar - Clean & Minimal */
.navbar-custom,
.navbar-premium {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-custom::after,
.navbar-premium::after {
    display: none;
}

.navbar-custom .container,
.navbar-premium .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
}

.navbar-custom .navbar-brand,
.navbar-premium .navbar-brand {
    margin-right: 1rem;
    padding: 0;
}

.navbar-custom .navbar-nav,
.navbar-premium .navbar-nav {
    margin: 0;
}

.navbar-custom .nav-item,
.navbar-premium .nav-item {
    margin-right: 0.5rem;
    position: relative;
}

.navbar-premium .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.25rem 0;
}

.navbar-premium .navbar-brand img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.navbar-premium .navbar-brand:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.navbar-premium .navbar-brand span {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.navbar-premium .nav-link {
    color: #666 !important;
    padding: 0.5rem 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.navbar-premium .nav-link i {
    font-size: 1rem;
}

.navbar-premium .nav-link span {
    font-size: 0.95rem;
    font-weight: 500;
}

.navbar-premium .nav-link:hover {
    background: linear-gradient(135deg, #0092CF 0%, #003359 100%);
    color: white !important;
    transform: translateY(-0.5px);
    box-shadow: 0 3px 10px rgba(0, 146, 207, 0.15);
    border-radius: 4px;
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.25rem 0;
}

.navbar-custom .navbar-brand img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.navbar-custom .navbar-brand:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.navbar-custom .nav-link {
    color: #666 !important;
    padding: 0.5rem 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 1;
}

.navbar-custom .nav-link i {
    font-size: 1rem;
}

.navbar-custom .nav-link span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Authenticated user styling in navbar */
.navbar-custom .navbar-text,
.navbar-premium .navbar-text {
    color: #666 !important;
    font-size: 0.875rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.75rem !important;
    line-height: 1.5;
}

/* Sign Out button styling */
.navbar-custom .nav-link.btn-link,
.navbar-premium .nav-link.btn-link {
    text-decoration: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0.5rem 1rem !important;
    color: #666 !important;
}

.navbar-custom .nav-link.btn-link:hover,
.navbar-premium .nav-link.btn-link:hover {
    background: linear-gradient(135deg, #0092CF 0%, #003359 50%, #001122 100%) !important;
    color: white !important;
    transform: translateY(-0.5px);
    box-shadow: 0 3px 10px rgba(0, 146, 207, 0.15);
    border-radius: 4px;
}

.navbar-custom .nav-link.btn-link:active,
.navbar-custom .nav-link.btn-link:focus,
.navbar-premium .nav-link.btn-link:active,
.navbar-premium .nav-link.btn-link:focus {
    background: linear-gradient(135deg, #0092CF 0%, #003359 50%, #001122 100%) !important;
    color: white !important;
    box-shadow: 0 3px 10px rgba(0, 146, 207, 0.15) !important;
    border-radius: 4px !important;
    outline: none !important;
}

.navbar-custom form.d-inline,
.navbar-premium form.d-inline {
    display: inline-flex !important;
    align-items: center;
    margin: 0;
}

/* Updated to match hero background gradient */
.navbar-custom .nav-link:hover {
    background: linear-gradient(135deg, #0092CF 0%, #003359 50%, #001122 100%);
    color: white !important;
    transform: translateY(-0.5px);
    box-shadow: 0 3px 10px rgba(0, 146, 207, 0.15);
    border-radius: 4px;
}

/* Navbar toggler */
.navbar-toggler {
    border: 1px solid #dee2e6;
    padding: 0.25rem 0.5rem;
    margin: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Dropdown Menu Styling */
.navbar-premium .dropdown-menu,
.navbar-custom .dropdown-menu {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 51, 160, 0.15);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    min-width: 220px;
}

.navbar-premium .dropdown-menu .dropdown-item,
.navbar-custom .dropdown-menu .dropdown-item {
    color: #666;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.navbar-premium .dropdown-menu .dropdown-item i,
.navbar-custom .dropdown-menu .dropdown-item i {
    font-size: 1rem;
    width: 20px;
}

.navbar-premium .dropdown-menu .dropdown-item:hover,
.navbar-custom .dropdown-menu .dropdown-item:hover,
.navbar-premium .dropdown-menu .dropdown-item:focus,
.navbar-custom .dropdown-menu .dropdown-item:focus {
    background: linear-gradient(135deg, #0092CF 0%, #003359 50%, #001122 100%);
    color: white;
    transform: translateX(5px);
    border-radius: 4px;
}

.navbar-premium .dropdown-menu .dropdown-item-text,
.navbar-custom .dropdown-menu .dropdown-item-text {
    color: #333;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.navbar-premium .dropdown-menu .dropdown-item-text strong,
.navbar-custom .dropdown-menu .dropdown-item-text strong {
    font-weight: 600;
    color: #0033A0;
}

.navbar-premium .dropdown-menu .dropdown-divider,
.navbar-custom .dropdown-menu .dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-premium .dropdown-menu form,
.navbar-custom .dropdown-menu form {
    margin: 0;
    padding: 0;
}

.navbar-premium .dropdown-menu form button,
.navbar-custom .dropdown-menu form button {
    border: none;
    background: transparent;
    text-decoration: none;
}

/* Dropdown Toggle Arrow */
.navbar-premium .dropdown-toggle::after,
.navbar-custom .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.navbar-premium .dropdown-toggle[aria-expanded="true"]::after,
.navbar-custom .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

    .navbar-collapse {
        margin-top: 0;
        border-top: none;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
    margin-top: 0.5rem;
        padding-top: 0;
        border-top: none;
        background: transparent;
    }

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 100%;
}

.hero-section h1 {
    color: white !important;
    font-weight: 700;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-section .lead {
    color: rgba(255,255,255,0.95) !important;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-section .btn-primary {
    background: white;
    color: #0033A0;
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.hero-section .btn-primary:hover {
    background: rgba(255,255,255,0.95);
    color: #001133;
    box-shadow: 0 6px 20px rgba(0,51,160,0.3);
}

/* Shared hero for non-landing pages */
.page-hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 3rem 0;
    min-height: 35vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.page-hero .hero-content {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    color: #fff;
}

.page-hero .hero-title {
    font-size: 2.2rem;
    font-weight: 750;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    color: #fff;
}

.page-hero .hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    margin: 0 auto 0.85rem;
    max-width: 640px;
}

/* =========================================================
   Consistent hero height across internal pages
   Apply class `dp-page-hero` on the hero <section>.
   ========================================================= */
.dp-page-hero {
    /* Prefer min-height over fixed height so content never gets clipped */
    min-height: 250px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

/* Match typography with Landing page hero */
.dp-page-hero {
    --dp-hero-title-size: 2.6rem;
    --dp-hero-desc-size: 1.05rem;
    --dp-hero-badge-size: 0.85rem;
}

.dp-page-hero .hero-badge {
    font-size: var(--dp-hero-badge-size);
}

.dp-page-hero .hero-title,
.dp-page-hero .api-hero-title {
    font-size: var(--dp-hero-title-size);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.dp-page-hero .hero-description,
.dp-page-hero .hero-subtitle,
.dp-page-hero .api-hero-desc {
    font-size: var(--dp-hero-desc-size);
    line-height: 1.5;
    margin-bottom: 0.9rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .dp-page-hero {
        min-height: 180px;
        /* Ensure hero content isn't hidden behind the sticky navbar */
        padding-top: 1rem;
        padding-bottom: 1rem;
        --dp-hero-title-size: 2rem;
        --dp-hero-desc-size: 0.98rem;
        --dp-hero-badge-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .dp-page-hero {
        --dp-hero-title-size: 2.3rem;
        --dp-hero-desc-size: 1rem;
        --dp-hero-badge-size: 0.85rem;
    }
}

/* Internal page hero: add a little breathing room on mobile so it doesn't appear cropped */
@media (max-width: 767px) {
    .page-hero {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
        min-height: 0;
    }
}

/* Global hero badge: consistent, smaller, cleaner look across all hero sections */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.96);
    font-weight: 650;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.10);
    margin-bottom: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
}

.hero-badge i {
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.85;
}

/* Steps Section */
.steps-section {
    padding: 5rem 0;
    background: #f8f9fa;
    overflow-x: hidden;
    margin: 0;
    width: 100%;
}

.steps-section .container {
    max-width: 100%;
    width: 100%;
}

.step-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 2rem;
    height: 100%;
    text-align: center;
    display: block;
    color: inherit;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.step-card:hover {
    color: inherit;
    text-decoration: none;
}


.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 51, 160, 0.3);
}

.step-number {
    background: var(--gradient-hero);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(0, 51, 160, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.step-card:hover .step-number::before {
    left: 100%;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 51, 160, 0.4);
}


.step-card .step-icon {
    font-size: 3rem;
    color: #0033A0;
    transition: var(--transition);
    display: block;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 51, 160, 0.2));
}

.step-card:hover .step-icon {
    color: #001133;
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 51, 160, 0.3));
}

.step-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.step-card p {
    color: #666;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.step-card a {
    color: inherit;
    text-decoration: none;
}

.step-card a:hover {
    color: inherit;
}

.step-card a:hover h3 {
    color: var(--primary);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 0;
    margin: 0;
    width: 100%;
}

main > .container,
main > .container-fluid,
main section .container,
main section .container-fluid {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (max-width: 767px) {
    main > .container,
    main > .container-fluid,
    main section .container,
    main section .container-fluid {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 575px) {
    main > .container,
    main > .container-fluid,
    main section .container,
    main section .container-fluid {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Footer - Professional Redesign */
.footer-custom {
    background: #1a1a1a;
    color: #ffffff;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #0092CF;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    width: 100%;
    clear: both;
}

.footer-custom .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-main {
    margin-bottom: 2rem;
}

.footer-main .row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.footer-main .row > [class*="col-"] {
    padding: 0.75rem 1rem;
}

@media (max-width: 991px) {
    .footer-main .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .footer-main .row > [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0, 51, 160, 0.3));
}

.footer-brand-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.footer-section-title {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    /* reduce space below titles so lists sit closer */
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
    display: block !important;
    z-index: 2;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #0092CF;
    z-index: 1;
    pointer-events: none;
}

.footer-links-list {
    list-style: none;
    /* add a small amount of horizontal padding so items don't sit flush to column edges */
    padding: 0.5rem 0.75rem;
    margin: 0;
}

.footer-links-list li {
    /* reduce vertical spacing between items to make list tighter */
    margin-bottom: 0.45rem;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
    letter-spacing: 0.01em;
}

.footer-links-list a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #0092CF;
}

.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 20px;
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(0, 51, 160, 0.5);
}

.footer-links-list a:hover::before {
    opacity: 1;
    left: 0;
}

/* Social Media Icons */
.social-media-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.social-link i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Facebook */
.social-link.facebook {
    background: #1877F2;
    color: #ffffff;
    border: 2px solid #1877F2;
}

.social-link.facebook:hover {
    background: #166FE5;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    transform: translateY(-4px) scale(1.1) rotate(5deg);
}

.social-link.facebook:hover i {
    transform: scale(1.2) rotate(-5deg);
}

/* YouTube */
.social-link.youtube {
    background: #FF0000;
    color: #ffffff;
    border: 2px solid #FF0000;
}

.social-link.youtube:hover {
    background: #E60000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    transform: translateY(-4px) scale(1.1) rotate(-5deg);
}

.social-link.youtube:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Instagram */
.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.social-link.instagram:hover {
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
    transform: translateY(-4px) scale(1.1) rotate(3deg);
}

.social-link.instagram:hover i {
    transform: scale(1.2) rotate(-3deg);
}

/* LinkedIn */
.social-link.linkedin {
    background: #0077B5;
    color: #ffffff;
    border: 2px solid #0077B5;
}

.social-link.linkedin:hover {
    background: #006399;
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
    transform: translateY(-4px) scale(1.1) rotate(-3deg);
}

.social-link.linkedin:hover i {
    transform: scale(1.2) rotate(3deg);
}


.footer-contact-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0;
}

.footer-contact-info i {
    color: #0092CF;
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.footer-contact-info > div {
    flex: 1;
}

.footer-contact-info strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-contact-info span {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    line-height: 1.5;
}

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
    .footer-bottom {
        padding-top: 1rem;
        margin-top: 1rem;
    }
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0 0 1.5rem;
}

@media (max-width: 767px) {
    .footer-divider {
        margin: 0 0 1rem;
    }
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0,51,160,0.3);
    transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,51,160,0.3);
}

/* Application Cards & API Catalog Cards */
.app-card,
.api-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.app-card:hover,
.api-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(0, 51, 160, 0.2);
}

.app-card .btn-link,
.api-card .btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.app-card .btn-link:hover,
.api-card .btn-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.app-card .btn-link::after,
.api-card .btn-link::after {
    content: '→';
    transition: var(--transition);
}

/* Card Styles for Application/API Lists */
.card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(0, 51, 160, 0.2);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.card-title {
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 600;
}

.card-text {
    color: #666;
    line-height: 1.6;
}



/* Responsive */
@media (max-width: 991px) {
.navbar-custom,
.navbar-premium {
    padding: 0.875rem 0;
}
    
.navbar-custom .navbar-brand img,
.navbar-premium .navbar-brand img {
    height: 36px;
}
    
.navbar-custom .nav-link,
.navbar-premium .nav-link {
    padding: 0.75rem 1rem !important;
}

    .navbar-collapse {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid #e9ecef;
    }

/* Dropdown in mobile - make it look like regular menu items */
.navbar-premium .dropdown-menu,
.navbar-custom .dropdown-menu {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
    position: static !important;
    transform: none !important;
}

.navbar-premium .dropdown-menu .dropdown-item,
.navbar-custom .dropdown-menu .dropdown-item {
    padding: 0.75rem 1rem 0.75rem 2rem;
}

.navbar-premium .dropdown-menu .dropdown-item-text,
.navbar-custom .dropdown-menu .dropdown-item-text {
    padding-left: 2rem;
}

.navbar-premium .dropdown-menu .dropdown-divider,
.navbar-custom .dropdown-menu .dropdown-divider {
    margin: 0.25rem 1rem;
}

.navbar-premium .dropdown-toggle::after,
.navbar-custom .dropdown-toggle::after {
    margin-left: auto;
}
    
    .hero-section {
        padding: 4rem 1rem;
        min-height: 50vh;
    }
    
    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .steps-section {
        padding: 3rem 1rem;
    }
    
    .steps-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .step-card {
        margin-bottom: 1.5rem;
    }
    
    .step-card .step-icon {
        font-size: 2.75rem;
    }
    
    .step-card h3 {
        font-size: 1.35rem;
    }
    
    .step-card p {
        font-size: 0.95rem;
    }
    
    .footer-custom {
        padding: 2.5rem 0 1.5rem;
        margin-top: 2rem;
    }
    
    .footer-custom .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-main {
        margin-bottom: 1.5rem;
    }
    
    .footer-main .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .footer-main .row > [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-brand-title {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-social {
        margin: 1.5rem 0;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .social-media-links {
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-section-title {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-contact-info {
        gap: 0.65rem;
        font-size: 0.85rem;
    }
    
    .footer-contact-info i {
        font-size: 1rem;
        margin-top: 0.1rem;
    }
    
    .footer-links-list {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-text,
    .footer-copyright {
        text-align: center;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .navbar-custom {
        padding: 0.75rem 0;
    }
    
    .navbar-custom .navbar-brand img {
        height: 34px;
    }
    
    .navbar-custom .nav-link i {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 3rem 1rem;
        min-height: 40vh;
    }
    
    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        word-wrap: break-word;
        padding: 0 0.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-section .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: auto;
        max-width: 100%;
    }
    
    .steps-section {
        padding: 3rem 1rem;
    }
    
    .steps-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .step-card .step-icon {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }
    
    .step-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .step-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-custom {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-custom .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .footer-main {
        margin-bottom: 1.5rem;
    }
    
    .footer-main .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .footer-main .row > [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-brand-title {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer-links-list a {
        font-size: 0.9rem;
    }
    
    .footer-social {
        margin: 1.5rem 0;
    }
    
    .footer-social .footer-section-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .social-media-links {
        gap: 0.75rem;
    }
    
    .footer-address-section {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }
    
    .footer-contact-info {
        font-size: 0.85rem;
    }
    
    .footer-contact-info i {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-text,
    .footer-copyright {
        text-align: center;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
    .hero-section {
        padding: 2.5rem 0.75rem;
        min-height: 35vh;
    }
    
    .hero-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        padding: 0;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .hero-section .btn-primary {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: block;
    }
    
    .steps-section {
        padding: 2.5rem 0.75rem;
    }
    
    .steps-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .steps-section .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .steps-section .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
    
    .step-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }
    
    .step-card .step-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .step-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }
    
    .step-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

/* ============================================
   PREMIUM HOME PAGE STYLES
   ============================================ */

/* Premium Hero Section */
.hero-section-premium {
    background: linear-gradient(135deg, #0092CF 0%, #003359 50%, #001122 100%);
    color: white;
    padding: 3rem 0 2.5rem;
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'SF Pro Display', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.hero-section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section-premium .container {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-header {
    margin-bottom: 1.5rem;
}

.hero-badge {
    margin-bottom: 1rem;
}


.badge-text {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-rendering: optimizeLegibility;
}
.badge-text:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    backdrop-filter: blur(10px);
}

.hero-process-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 400px;
    position: relative;
}

.hero-process-badges::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    right: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-50%);
    z-index: 1;
}


.process-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.24rem 0.6rem;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(7px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 650;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 6px rgba(0,0,0,0.09);
    text-rendering: optimizeLegibility;
}
.process-badge:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.22);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 3px 12px rgba(0,0,0,0.13);
    color: #fff;
    backdrop-filter: blur(8px);
}

.hero-content {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0;
    color: #ffffff;
    text-shadow:
        0 2px 8px rgba(0,0,0,0.4),
        0 4px 16px rgba(0,0,0,0.3),
        0 8px 32px rgba(0,0,0,0.2);
    letter-spacing: -0.025em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
    margin: 1.75rem auto 0;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #8FCAE7 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.98);
    max-width: 900px;
    margin: 0 auto 2rem;
    text-shadow:
        0 1px 4px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,0,0,0.2);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Clean Simple Hero Buttons */
.btn.btn-hero-primary {
    background: white !important;
    color: #003359 !important;
    border: 2px solid transparent !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 0.875rem 2.5rem !important;
    transition: all 0.3s ease !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
}

.btn.btn-hero-primary:hover {
    background: #f8f9fa !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    color: #003359 !important;
}

.btn.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    padding: 0.875rem 2.5rem !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
}

.btn.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15) !important;
    color: white !important;
}



/* Simple focus states */
.btn-hero-primary:focus,
.btn-hero-secondary:focus {
    outline: 2px solid #0092CF;
    outline-offset: 2px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .btn.btn-hero-primary,
    .btn.btn-hero-secondary {
        font-size: 1rem !important;
        padding: 0.75rem 2rem !important;
        width: 100% !important;
        max-width: 300px !important;
    }
}



/* Stats Section */
.stats-section {
    background: white;
    padding: 5rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 3;
}

.stat-card {
    padding: 2rem 1rem;
    transition: var(--transition);
}


.stat-icon {
    font-size: 3rem;
    color: #0092CF;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Stat Cards */
.stat-card-modern {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 146, 207, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(0, 146, 207, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0092CF 0%, #003359 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-modern:hover::before {
    transform: scaleX(1);
}

.stat-card-modern:hover {
    box-shadow: 0 12px 35px rgba(0, 146, 207, 0.15);
    border-color: rgba(0, 146, 207, 0.3);
    transform: translateY(-4px);
}

.stat-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0.1;
    transition: var(--transition);
}

.stat-icon-bg-1 {
    background: linear-gradient(135deg, #0092CF 0%, #007bb5 100%);
}

.stat-icon-bg-2 {
    background: linear-gradient(135deg, #00C9A7 0%, #0092CF 100%);
}

.stat-icon-bg-3 {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.stat-icon-bg-4 {
    background: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
}

.stat-card-modern:hover .stat-icon-bg {
    opacity: 0.15;
}

.stat-icon-enhanced {
    font-size: 3rem;
    color: #0092CF;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 146, 207, 0.2));
}

.stat-card-modern:hover .stat-icon-enhanced {
    color: #003359;
    filter: drop-shadow(0 6px 12px rgba(0, 146, 207, 0.3));
}

.stat-number-modern {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #0092CF 0%, #003359 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}


.stat-label-modern {
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.stat-card-modern:hover .stat-label-modern {
    color: #0092CF;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 6rem 0;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 51, 160, 0.2);
    transform: translateY(-4px);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0092CF 0%, #003359 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}


.feature-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

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

.feature-description {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Modern Feature Cards */
.feature-card-modern {
    height: 100%;
    perspective: 1000px;
}

.feature-card-inner {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 146, 207, 0.1);
    box-shadow: 0 4px 20px rgba(0, 146, 207, 0.08);
    display: flex;
    flex-direction: column;
}

.feature-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0092CF 0%, #003359 50%, #0092CF 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.feature-card-modern:hover .feature-card-inner::before {
    transform: scaleX(1);
}

.feature-card-modern:hover .feature-card-inner {
    box-shadow: 0 20px 40px rgba(0, 146, 207, 0.15);
    border-color: rgba(0, 146, 207, 0.3);
    transform: translateY(-6px) scale(1.01);
}

.feature-icon-modern {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0.1;
    transition: var(--transition);
    transform: scale(1);
}

.icon-bg-1 {
    background: linear-gradient(135deg, #0092CF 0%, #007bb5 100%);
}

.icon-bg-2 {
    background: linear-gradient(135deg, #00C9A7 0%, #0092CF 100%);
}

.icon-bg-3 {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
}

.icon-bg-4 {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.icon-bg-5 {
    background: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
}

.icon-bg-6 {
    background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
}

.feature-card-modern:hover .icon-bg {
    opacity: 0.15;
}

.icon-primary {
    font-size: 2.5rem;
    color: #0092CF;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 146, 207, 0.2));
}

.feature-card-modern:hover .icon-primary {
    color: #003359;
    filter: drop-shadow(0 6px 12px rgba(0, 146, 207, 0.3));
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: var(--transition);
}

.feature-card-modern:hover .feature-title-modern {
    color: #0092CF;
}

.feature-description-modern {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 0.95rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0092CF;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
    opacity: 0;
    transform: translateX(-10px);
}

.feature-card-modern:hover .feature-link {
    opacity: 1;
    transform: translateX(0);
}

.feature-link i {
    transition: var(--transition);
    font-size: 0.875rem;
}


.feature-link:hover {
    color: #003359;
    gap: 0.75rem;
}


/* AOS Animation Support */
[data-aos] {
    opacity: 1;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Premium Steps Section */
.steps-section-premium {
    background: white;
    padding: 6rem 0;
}

.step-card-premium {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.step-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0092CF 0%, #003359 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.step-card-premium:hover::before {
    transform: scaleX(1);
}

.step-card-premium:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 146, 207, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.step-number-premium {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0092CF 0%, #003359 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 146, 207, 0.3);
    transition: var(--transition);
}


.step-icon-premium {
    font-size: 3.5rem;
    color: #0092CF;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 146, 207, 0.2));
}

.step-card-premium:hover .step-icon-premium {
    color: #003359;
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 146, 207, 0.3));
}

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

.step-description-premium {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-link-premium {
    color: #0092CF;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.step-link-premium:hover {
    color: #003359;
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0092CF 0%, #003359 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card-premium {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.btn-cta-premium {
    background: white;
    color: #0092CF;
    border: none;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 146, 207, 0.2);
    font-size: 1.1rem;
}

.btn-cta-premium:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 35px rgba(0, 146, 207, 0.3);
    color: #003359;
    transform: translateY(-3px) scale(1.02);
}

/* Responsive Premium Styles */
@media (max-width: 991px) {
    .hero-section-premium {
        padding: 3rem 0 2rem;
        min-height: 50vh;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .stats-section {
        margin-top: -2rem;
        padding: 4rem 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features-section,
    .steps-section-premium {
        padding: 4rem 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section-premium {
        padding: 2.5rem 0 2rem;
        min-height: 45vh;
    }

    .hero-badge {
        margin-bottom: 0.75rem;
    }

    .badge-text {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.75rem;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
        line-height: 1.5;
    }




    .hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .shape {
        opacity: 0.05;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-number-modern {
        font-size: 2.5rem;
    }
    
    .stat-icon-enhanced {
        font-size: 2.5rem;
    }
    
    .stat-icon-wrapper {
        width: 75px;
        height: 75px;
    }
    
    .feature-card,
    .feature-card-modern .feature-card-inner,
    .step-card-premium {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon-modern {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .icon-primary {
        font-size: 2rem;
    }
    
    .feature-title-modern {
        font-size: 1.25rem;
    }
    
    .cta-card-premium {
        padding: 2.5rem 2rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .btn-cta-premium {
        width: 100%;
        padding: 0.875rem 2rem;
    }
}

/* ============================================
   HOME PAGE STYLES - Clean & Minimal Design
   ============================================ */

main {
    background-color: #ffffff;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    margin: 0;
}

@media (max-width: 767px) {
    main {
        padding: 1.5rem 0;
    }
}

@media (max-width: 575px) {
    main {
        padding: 1rem 0;
    }
}

.home-page-wrapper {
    width: 100%;
    background-color: #f8f9fa;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

.home-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


.home-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.home-content .subtitle {
    font-size: 1rem;
    color: var(--primary-light);
    margin: 0 0 60px 0;
    font-weight: 400;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step-item {
    flex: 0 1 300px;
    text-align: center;
    max-width: 300px;
}

.step-icon {
    font-size: 16px;
    color: #666;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.step-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.step-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .home-page-wrapper {
        padding: 50px 20px;
    }
    
    .steps-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .home-page-wrapper {
        padding: 40px 15px;
    }
    
    .home-content h1 {
        font-size: 2rem;
    }
    
    .home-content .subtitle {
        margin-bottom: 50px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .step-item {
        flex: 1 1 auto;
        max-width: 100%;
    }
    
    .step-item h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS
   ============================================= */
 
/* Base responsive utilities */
.container,
.container-fluid {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 575px) {
    .container,
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive tables - convert to cards on mobile */
@media (max-width: 767px) {
    .table-responsive {
        border: none;
        overflow-x: visible;
    }
    
    .table-responsive table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }
    
    .table-responsive thead {
        display: none;
    }
    
    .table-responsive tbody tr {
        display: block;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 0.75rem;
        background: white;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .table-responsive tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        border: none;
        border-bottom: 1px solid #e9ecef;
        padding: 0.75rem 0.5rem !important;
        text-align: left;
    }
    
    .table-responsive tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #495057;
        margin-right: 1rem;
        flex-shrink: 0;
        min-width: 100px;
    }
    
    .table-responsive tbody td:last-child {
        border-bottom: none;
    }
    
    /* Fallback for tables without data-label */
    .table-responsive tbody td:not([data-label]):before {
        content: attr(data-label);
    }
}

/* Responsive forms */
@media (max-width: 767px) {
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        width: 100%;
    }
    
    .form-label {
        font-weight: 500;
        margin-bottom: 0.5rem;
    }
    
    .btn {
        min-height: 44px; /* Touch-friendly button size */
        padding: 0.5rem 1rem;
    }
    
    .d-flex.gap-2,
    .d-flex.flex-column.flex-sm-row.gap-2 {
        flex-direction: column;
    }
    
    .d-flex.gap-2 .btn,
    .d-flex.flex-column.flex-sm-row.gap-2 .btn {
        width: 100%;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
}

/* Responsive cards */
@media (max-width: 767px) {
    .app-card {
        margin-left: 0;
        margin-right: 0;
        border-radius: 12px;
    }
    
    .app-card.p-4 {
        padding: 1.25rem !important;
    }
    
    .app-card.p-3 {
        padding: 1rem !important;
    }
}

/* Responsive navigation */
@media (max-width: 991px) {
    .navbar-custom,
    .navbar-premium {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .navbar-nav {
        padding-top: 0.5rem;
        margin-top: 0;
        border-top: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 1.25rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin: 0;
        font-size: 1rem;
        justify-content: flex-start;
        gap: 1rem;
        min-height: 56px;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link span {
        margin-left: 0.5rem;
        font-size: 1rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar-premium .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .navbar-premium .navbar-nav .nav-link i {
        font-size: 1.1rem;
        margin-right: 0;
        flex-shrink: 0;
    }
    .navbar-custom .navbar-nav .nav-link i {
        font-size: 1.25rem;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }
    .navbar-custom .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        border-radius: 0;
        background: none;
        box-shadow: none;
        text-align: left;
        padding: 1rem 1.25rem !important;
    }
    .navbar-custom .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-custom .navbar-nav {
        width: 100%;
    }
    .navbar-toggler {
        border-radius: 8px;
        padding: 0.4rem 0.8rem;
        font-size: 1.3rem;
        margin-right: 0.5rem;
    }
    .navbar-collapse {
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0.5rem 0 0.5rem 0;
        max-height: 500px;
        overflow-y: auto;
    }
    .navbar-custom .navbar-brand img {
        height: 32px;
    }

    /* Subtle color change for tablet hover/touch feedback */
    .navbar-custom .nav-link:hover,
    .navbar-premium .nav-link:hover {
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        color: var(--primary-dark) !important;
        transition: color 0.2s ease;
    }

    .navbar-custom .nav-link:active,
    .navbar-premium .nav-link:active {
        color: var(--primary) !important;
        background: rgba(0, 146, 207, 0.05) !important;
    }
}

@media (max-width: 767px) {
    .navbar-custom,
    .navbar-premium {
        padding: 0.625rem 0;
    }

    .navbar-custom .navbar-brand img,
    .navbar-premium .navbar-brand img {
        height: 36px;
    }

    .navbar-nav .nav-link {
        padding: 0.9rem 1rem !important;
        min-height: 52px;
        font-size: 0.95rem;
    }

    .navbar-nav .nav-link i {
        font-size: 1.15rem;
    }

    .navbar-nav .nav-link span {
        font-size: 0.95rem;
    }

    .navbar-collapse {
        margin-top: 0.25rem;
        padding: 0;
        border-radius: 8px;
    }

    /* Subtle color change for mobile hover/touch feedback */
    .navbar-custom .nav-link:hover,
    .navbar-premium .nav-link:hover {
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        color: var(--primary-dark) !important;
        transition: color 0.2s ease;
    }

    .navbar-custom .nav-link:active,
    .navbar-premium .nav-link:active {
        color: var(--primary) !important;
        background: rgba(0, 146, 207, 0.05) !important;
    }
}

/* Responsive header sections */
@media (max-width: 767px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between .btn {
        width: 100%;
    }
    
    .d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .d-flex.align-items-start.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
}

/* Responsive description lists */
@media (max-width: 575px) {
    dl.row dt {
        margin-bottom: 0.25rem;
    }
    
    dl.row dd {
        margin-bottom: 1rem;
    }
}

/* Responsive grid adjustments */
@media (max-width: 575px) {
    .row.g-3 {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row.g-3 > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    .row.g-4 {
        margin-left: 0;
        margin-right: 0;
    }
    
    .row.g-4 > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

/* Responsive text */
@media (max-width: 767px) {
    h1, .h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    h4, .h4 {
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Responsive badges */
@media (max-width: 575px) {
    .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }
}

/* Responsive alerts */
@media (max-width: 767px) {
    .alert {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* Responsive dropdowns */
@media (max-width: 767px) {
    .dropdown-menu {
        width: 100%;
        max-width: 100%;
    }
}


/* Responsive footer enhancements - improved for mobile */
@media (max-width: 575px) {
    .footer-custom {
        padding: 1.5rem 0.75rem 1rem;
        margin-top: 1rem;
        overflow: visible;
    }
    
    .footer-custom .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        overflow: visible;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-main {
        margin-bottom: 1rem;
        width: 100%;
        overflow: visible;
    }
    
    .footer-main .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .footer-main .row > [class*="col-"] {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        text-align: center !important;
        flex: 0 0 100% !important;
        display: block !important;
        overflow: visible !important;
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .footer-main .row > [class*="col-"]:first-child {
        order: 0 !important;
    }
    
    
    .footer-section-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.4rem !important;
        padding-bottom: 0.4rem !important;
        letter-spacing: 0.7px !important;
        text-align: center !important;
        display: block !important;
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
        line-height: 1.2 !important;
        z-index: 10 !important;
        position: relative !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .footer-section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 35px !important;
        z-index: 5 !important;
    }
    
    .footer-links-list {
        list-style: none;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center;
        display: block !important;
        overflow: visible !important;
        width: 100% !important;
    }
    
    .footer-links-list li {
        margin-bottom: 0.2rem !important;
        display: block !important;
        visibility: visible !important;
        overflow: visible !important;
        width: 100% !important;
    }
    
    .footer-links-list a {
        display: inline-block !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.9rem;
        padding: 0.25rem 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .social-media-links {
        justify-content: center !important;
        margin-bottom: 0.7rem !important;
        gap: 0.75rem !important;
        flex-wrap: wrap !important;
        display: flex !important;
        width: 100% !important;
    }
    
    .social-link {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
        flex-shrink: 0 !important;
    }
    
    .footer-contact-info {
        margin-top: 0.4rem;
        font-size: 0.85rem;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem;
    }
    
    .footer-contact-info i {
        font-size: 1.1rem;
    }
    
    .footer-contact-info strong {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
        display: block;
    }
    
    .footer-contact-info span {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-bottom {
        padding-top: 0.6rem;
        margin-top: 0.6rem;
    }
    
    .footer-bottom .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .footer-bottom .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        margin: 0 !important;
    }
    
    .footer-text,
    .footer-copyright {
        font-size: 0.8rem;
        text-align: center !important;
        line-height: 1.4;
        margin-bottom: 0.3rem;
    }
    
    .footer-divider {
        margin-bottom: 0.6rem;
    }
}

/* Extra small devices - additional optimizations */
@media (max-width: 374px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .app-card {
        border-radius: 10px;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.875rem;
    }

    h1, .h1 {
        font-size: 1.5rem;
    }

    h2, .h2 {
        font-size: 1.25rem;
    }

    h3, .h3 {
        font-size: 1.125rem;
    }

    h4, .h4 {
        font-size: 1rem;
    }

    .hero-section-premium {
        padding: 2rem 0 1.5rem;
        min-height: 40vh;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }

    .shape {
        display: none; /* Hide floating shapes on very small screens */
    }
}

/* Large desktop optimizations */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section,
    .hero-section-premium {
        padding: 8rem 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer-custom,
    .btn,
    .navbar-toggler {
        display: none !important;
    }
    
    .app-card {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}

/* Accessibility - ensure touch targets are large enough */
@media (max-width: 767px) {
    a,
    button,
    .btn,
    .nav-link,
    .dropdown-item {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link {
        min-height: 48px;
        display: flex;
    }
    
    .navbar-nav .nav-link {
        min-height: 52px;
        padding: 1rem 1.25rem !important;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
    margin: 0;
    padding: 0;
}

footer.footer-custom {
    margin-top: auto;
    flex-shrink: 0;
}

section {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Ensure proper word wrapping */
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsive utility classes */
@media (max-width: 767px) {
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-stack {
        flex-direction: column !important;
    }
    
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-hide {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .desktop-hide {
        display: none !important;
    }
}
