/* ===================================
   ECKHO - Corporate Secretarial Solutions
   Consolidated CSS Stylesheet
   =================================== */

/* ===================================
   RESET AND BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #1A202C;
    background-color: #FFFFFF;
    min-height: 100vh;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #1F4E79;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nav-logo-img,
.logo img {
    height: 52px;
    width: auto;
    transition: height 0.2s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.nav-link:hover {
    color: #1F4E79;
    background-color: rgba(31, 78, 121, 0.05);
}

.nav-link.active {
    color: #1F4E79;
    font-weight: 600;
}

.nav-whatsapp-link {
    color: #16a34a !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-whatsapp-link i {
    color: #25D366;
    font-size: 1.15rem;
}

.nav-whatsapp-link:hover {
    color: #15803d !important;
    background-color: rgba(22, 163, 74, 0.08) !important;
}

.nav-link-btn {
    background: linear-gradient(135deg, #0F4C75 0%, #1A365D 100%) !important;
    color: #FFFFFF !important;
    padding: 0.5rem 1.15rem !important;
    border-radius: 6px;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(15, 76, 117, 0.25);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.nav-link-btn i {
    color: #48CAE4;
}

.nav-link-btn:hover {
    background: linear-gradient(135deg, #1A365D 0%, #0F4C75 100%) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 76, 117, 0.35);
}

.search-icon {
    color: #94A3B8;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-icon:hover {
    color: #475569;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #1F4E79;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, #1F4E79 0%, #0A2540 100%);
    color: #FFFFFF;
    padding: 5rem 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 78, 121, 0.3);
    z-index: 1;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.75rem;
    align-items: center;
}

.hero-text {
    padding-bottom: 0;
    padding-top: 0;
}

.hero-text h5 {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.hero-text h1 {
    font-size: 3.15rem;
    font-weight: 700;
    line-height: 1.16;
    margin-bottom: 1.25rem;
}

.hero-text p {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    opacity: 0.9;
}

.hero-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    margin-bottom: 0;
    line-height: 0;
}

.hero-image img {
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 0;
    display: block;
    margin-bottom: 0;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #4A90E2;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #357ABD;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-secondary:hover {
    background: #4A90E2;
    color: #FFFFFF;
}

.btn-link {
  font-weight: 400;
  padding: 0.25rem;
  color: #4A90E2;
  /* text-decoration: underline; */
}
.btn-link:hover {
  color: #357ABD;
}
.btn-link:disabled, .btn-link.disabled {
  color: #6c757d;
}

.btn-outline-light {
    background: transparent;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
    background: #FFFFFF;
    color: #0F4C75 !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF !important;
    border: 2px solid #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: #1EBE5D;
    border-color: #1EBE5D;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-outline-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #FFFFFF !important;
    border: 2px solid #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn-outline-whatsapp:hover {
    background: #25D366;
    color: #FFFFFF !important;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-success {
    background: #25D366;
    color: #FFFFFF !important;
    border: 2px solid #25D366;
}

.btn-success:hover {
    background: #1EBE5D;
    border-color: #1EBE5D;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-outline-primary {
    background: transparent;
    color: #0F4C75 !important;
    border: 2px solid #0F4C75;
}

.btn-outline-primary:hover {
    background: #0F4C75;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.btn-outline-success {
    background: transparent;
    color: #16A34A !important;
    border: 2px solid #16A34A;
}

.btn-outline-success:hover {
    background: #16A34A;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: #1A202C;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: #475569;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   CARDS
   =================================== */
.card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin: 1rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-image {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 15px;
}

.card-title {
    color: #1A202C;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.card-description {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-link {
    color: #4A90E2;
    font-weight: 500;
    text-decoration: none;
}

.card-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* ===================================
   GRID LAYOUTS
   =================================== */
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ===================================
   ICONS
   =================================== */
.icon {
    color: #4A90E2;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ===================================
   SERVICES
   =================================== */
.services {
    background-color: #F8FAFC;
}

.service-item {
    text-align: center;
    padding: 2rem;
}

.service-item i {
    color: #4A90E2;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: #1A202C;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    background: #FFFFFF;
}

.form-control:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-control::placeholder {
    color: #94A3B8;
}

/* ===================================
   LOGIN SPECIFIC STYLES
   =================================== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1F4E79 0%, #0A2540 100%);
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 78, 121, 0.3);
    z-index: 1;
}

.login-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Left Panel - Brand Section */
.brand-panel {
    background: linear-gradient(135deg, #1F4E79 0%, #0A2540 100%);
    color: #FFFFFF;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.brand-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 2;
}

.brand-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.brand-description {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.back-btn {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: #FFFFFF;
    color: #1F4E79;
    transform: translateY(-1px);
}

/* Right Panel - Login Form */
.login-panel {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 170px;
    height: auto;
    margin-bottom: 1.25rem;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #475569;
    font-size: 0.875rem;
}

/* Checkbox */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    accent-color: #4A90E2;
}

.form-check-label {
    color: #475569;
    font-size: 0.875rem;
    cursor: pointer;
}

/* Links */
.forgot-link {
    color: #4A90E2;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #223046; /* deep blue, not black */
    color: #FFFFFF;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid #2D3748;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.footer-description {
    color: #A0AEC0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-section h5 {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a,
.footer-section ul li span {
    color: #A0AEC0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: #4A90E2;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.footer-bottom {
    background: #223046;
    color: #718096;
    font-size: 0.75rem;
    padding: 1rem 2rem;
    text-align: center;
    border-top: 1px solid #2D3748;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1366px) and (min-width: 1025px) {
    .nav-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .nav-logo-img,
    .logo img {
        height: 44px;
    }

    .nav-menu {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.35rem 0.45rem;
        font-size: 0.8125rem;
    }

    .nav-whatsapp-link {
        font-size: 0.8125rem !important;
        gap: 3px !important;
    }

    .nav-whatsapp-link i {
        font-size: 1rem !important;
    }

    .nav-link-btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8125rem !important;
        gap: 4px !important;
    }

    .hero-text h1 {
        font-size: 2.85rem;
    }

    .hero-text p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid #E2E8F0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        padding-bottom: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2rem 1rem;
    }

    .login-card {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .brand-panel {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .login-panel {
        padding: 2rem 1.5rem;
    }

    .brand-logo {
        width: 150px;
    }

    .login-logo {
        width: 100px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-logo,
    .footer-section {
        align-items: flex-start;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* ===================================
   LOADING STATES
   =================================== */
.fakeLoader {
    display: none;
}

/* ===================================
   FORM VALIDATION
   =================================== */
.form-control.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-control.error:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.error-message {
    color: #E53E3E;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Laravel @error validation styles */
.text-danger:not(i):not([class*="fa-"]) {
    color: #DC2626 !important;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: block;
    line-height: 1.4;
    position: relative;
    padding-left: 1.25rem;
}

.text-danger:not(i):not([class*="fa-"])::before {
    content: '\f06a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.125rem;
    font-size: 0.75rem;
    color: #EF4444;
}

i.text-danger, [class*="fa-"].text-danger {
    color: #DC2626 !important;
    display: inline-block;
    padding-left: 0;
    margin-top: 0;
    position: static;
}

/* Form group with error state */
.form-group.has-error .form-control {
    border-color: #EF4444;
    background-color: #FEF2F2;
}

.form-group.has-error .form-control:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    background-color: #FFFFFF;
}

.form-group.has-error .form-label {
    color: #DC2626;
}

/* Error state animation */
.form-control.error {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Success state for form validation */
.form-control.success {
    border-color: #22C55E;
    background-color: #F0FDF4;
}

.form-control.success:focus {
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.text-success:not(i):not([class*="fa-"]) {
    color: #166534 !important;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: block;
    line-height: 1.4;
    position: relative;
    padding-left: 1.25rem;
}

.text-success:not(i):not([class*="fa-"])::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.125rem;
    font-size: 0.75rem;
    color: #22C55E;
}

i.text-success, [class*="fa-"].text-success {
    color: #16A34A !important;
    display: inline-block;
    padding-left: 0;
    margin-top: 0;
    position: static;
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   MESSAGE STATUS STYLES
   =================================== */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideInDown 0.3s ease-out;
}

.alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 6px 0 0 6px;
}

.alert-success {
    background-color: #F0FDF4;
    border-color: #BBF7D0;
    color: #166534;
}

.alert-success::before {
    background-color: #22C55E;
}

.alert-success .alert-icon {
    color: #22C55E;
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.alert-danger {
    background-color: #FEF2F2;
    border-color: #FECACA;
    color: #DC2626;
}

.alert-danger::before {
    background-color: #EF4444;
}

.alert-danger .alert-icon {
    color: #EF4444;
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.alert-warning {
    background-color: #FFFBEB;
    border-color: #FED7AA;
    color: #D97706;
}

.alert-warning::before {
    background-color: #F59E0B;
}

.alert-warning .alert-icon {
    color: #F59E0B;
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.alert-info {
    background-color: #EFF6FF;
    border-color: #BFDBFE;
    color: #2563EB;
}

.alert-info::before {
    background-color: #3B82F6;
}

.alert-info .alert-icon {
    color: #3B82F6;
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
    word-wrap: break-word;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.alert-close:hover {
    opacity: 1;
}

.alert-close:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Alert with close button */
.alert-dismissible {
    padding-right: 3rem;
}

.alert-dismissible .alert-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    margin-left: 0;
}

/* Alert animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.alert.fade-out {
    animation: slideOutUp 0.3s ease-in forwards;
}

/* Alert positioning */
.alert-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    max-width: 400px;
    width: 100%;
}

.alert-container .alert {
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Alert in forms */
.form-alerts {
    margin-bottom: 1.5rem;
}

.form-alerts .alert {
    margin-bottom: 1rem;
}

.form-alerts .alert:last-child {
    margin-bottom: 0;
}

/* Alert in login forms */
.login-panel .alert {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

/* Alert icons (using Font Awesome classes) */
.alert .fa-check-circle::before {
    content: '\f058';
}

.alert .fa-exclamation-circle::before {
    content: '\f06a';
}

.alert .fa-exclamation-triangle::before {
    content: '\f071';
}

.alert .fa-info-circle::before {
    content: '\f05a';
}

.alert .fa-times::before {
    content: '\f00d';
}

/* Responsive alerts */
@media (max-width: 768px) {
    .alert-container {
        top: 0.5rem;
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
    }
    
    .alert {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
    }
    
    .alert-close {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .alert {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .alert-icon {
        font-size: 1rem !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .alert-success {
        background-color: #064E3B;
        border-color: #065F46;
        color: #6EE7B7;
    }
    
    .alert-danger {
        background-color: #7F1D1D;
        border-color: #991B1B;
        color: #FCA5A5;
    }
    
    .alert-warning {
        background-color: #78350F;
        border-color: #92400E;
        color: #FCD34D;
    }
    
    .alert-info {
        background-color: #1E3A8A;
        border-color: #1E40AF;
        color: #93C5FD;
    }
}

/* ===================================
   MODERNIZED LANDING COMPONENTS
   =================================== */

/* Hero Action CTAs & Badges */
.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-actions .btn {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #1B6CA8 0%, #0F4C75 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(15, 76, 117, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #2288D4 0%, #165B8C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 117, 0.5);
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #E2E8F0;
}

.hero-badge-item i {
    color: #48CAE4;
}

/* Trust Bar */
.trust-bar {
    background: #F8FAFC;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 2rem 1rem;
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #EBF8FF;
    color: #1F4E79;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.2rem;
}

.trust-text p {
    font-size: 0.8rem;
    color: #64748B;
    margin: 0;
}

/* Workflow Steps ("How It Works") */
.workflow-section {
    background: #FFFFFF;
    padding: 5rem 2rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.workflow-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 2.25rem 1.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.workflow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #48CAE4;
}

.workflow-step-badge {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F4E79 0%, #48CAE4 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(31, 78, 121, 0.3);
}

.workflow-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F4E79;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.workflow-card p {
    font-size: 0.925rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* 6 Core Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.pillar-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    border-color: #48CAE4;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1F4E79, #48CAE4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pillar-icon-blue { background: #E0F2FE; color: #0284C7; }
.pillar-icon-purple { background: #F3E8FF; color: #9333EA; }
.pillar-icon-emerald { background: #D1FAE5; color: #059669; }
.pillar-icon-rose { background: #FFE4E6; color: #E11D48; }
.pillar-icon-amber { background: #FEF3C7; color: #D97706; }
.pillar-icon-cyan { background: #CFFAFE; color: #0891B2; }

.pillar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.3;
}

.pillar-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    margin-top: 0.35rem;
}

.badge-soft-blue { background: #E0F2FE; color: #0369A1; }
.badge-soft-purple { background: #F3E8FF; color: #7E22CE; }
.badge-soft-emerald { background: #D1FAE5; color: #047857; }
.badge-soft-rose { background: #FFE4E6; color: #BE123C; }
.badge-soft-amber { background: #FEF3C7; color: #B45309; }
.badge-soft-cyan { background: #CFFAFE; color: #0E7490; }

.pillar-desc {
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.pillar-points {
    list-style: none;
    border-top: 1px solid #F1F5F9;
    padding-top: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pillar-points li {
    font-size: 0.85rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.pillar-points li i {
    color: #10B981;
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-section {
    background: #FFFFFF;
    padding: 5.5rem 2rem;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq-item.active {
    border-color: #0F4C75;
    border-left: 4px solid #0F4C75;
    box-shadow: 0 6px 18px rgba(15, 76, 117, 0.08);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1E293B;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-item.active .faq-question {
    color: #0F4C75;
    padding-bottom: 0.75rem;
}

.faq-question i {
    font-size: 1.15rem;
    color: #64748B;
    transition: transform 0.25s ease, color 0.25s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: #0F4C75;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.5rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.35rem 1.5rem;
    max-height: 600px;
}

/* Contact Info Highlight Box */
.contact-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-info-panel {
    background: linear-gradient(135deg, #0F4C75 0%, #1F4E79 100%);
    color: #FFFFFF;
    border-radius: 12px;
    padding: 2.5rem 2rem;
}

.contact-info-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.contact-info-panel p {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.25rem;
    color: #48CAE4;
    margin-top: 4px;
}

.contact-info-item h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.contact-info-item a, .contact-info-item span {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .contact-highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero {
        background: white !important;
        color: black !important;
    }
    
    .alert {
        border: 1px solid #000 !important;
        background: white !important;
        color: black !important;
    }
}
