:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06d6a0;
    --accent-hover: #05c195;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #252222;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-lg: 14px;
    --radius-md: 10px;
    --gap: 1rem;
    --container-max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Header Styles */
.navbar {
    background: white;
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.5s;
}

.navbar:hover::before {
    left: 100%;
}

.navbar.scrolled {
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.98),
            rgba(139, 92, 246, 0.98));
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 800;
    color: white !important;
    text-decoration: none;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.navbar-brand i {
    background: linear-gradient(45deg, #06d6a0, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.navbar-nav .nav-link {
    color: rgb(0 5 75 / 90%) !important;
    font-weight: 600;
    margin: 0 1.5rem;
    padding: 0.75rem 1.25rem !important;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
    display: flex;
    flex-wrap: initial !important;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 5px;
    left: 50%;
    background: linear-gradient(90deg, #06d6a0, #f59e0b);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover {
    color: rgb(4, 0, 72) !important;
    transform: translateY(-2px);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.navbar-nav .nav-link:hover::before {
    transform: scale(1);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.login-btn {
    background: linear-gradient(135deg, #06d6a0, #05c195);
    color: white !important;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
}

.login-btn::before {
    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;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(6, 214, 160, 0.4);
    background: linear-gradient(135deg, #05c195, #04a87a);
}

.login-btn i {
    margin-right: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(-2px);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(322deg, #009bff 0%, #ffdf1a 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: visible !important;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 3rem;
    font-weight: 400;
}

.search-box {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1.25rem 1.75rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 60px;
    outline: none;
    background: white;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--shadow-xl);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-lg);
}


body {
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

.hero-header {
    background: linear-gradient(to right, #6664d8, #4949f1);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.hero-header h2 {
    font-size: 2rem;
    font-weight: bold;
}

.result-card {
    border-radius: 12px;
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compare-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.compare-table th {
    background: #6664d8;
    color: white;
    text-align: center;
}

.compare-table td {
    vertical-align: top;
}

.compare-table i {
    color: #6664d8;
    margin-right: 8px;
}

.compare-actions {
    margin-top: 1rem;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.btn-swap {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: .45rem .8rem;
    border-radius: 8px;
    color: var(--text-medium);
    cursor: pointer;
    transition: all .15s ease;
}

.btn-swap:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-primary-compact {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: .45rem .9rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-primary-compact:active {
    transform: translateY(1px);
}

.other-services {
    margin-top: 1.6rem;
    margin-left: auto;
    margin-right: auto;
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: .8rem;
}

.other-grid .card {
    padding: .85rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: .75rem;
    align-items: start;
}

.other-grid .service-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.other-grid h6 {
    margin: 0;
    font-size: .98rem;
    color: var(--text-dark);
}

.other-grid p {
    margin: .25rem 0 0;
    color: var(--text-light);
    font-size: .88rem;
}

.other-grid .btn-compare {
    margin-top: .6rem;
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: .35rem .6rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.other-grid .btn-compare:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Utilities */
.small-note {
    font-size: .86rem;
    color: var(--text-light);
    margin-top: .4rem;
}

/* Compare-vertical class toggles stacking */
.compare-vertical .compare-wrapper {
    flex-direction: column;
}

.compare-vertical .compare-slot {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .other-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
}

@media (max-width: 640px) {
    .compare-wrapper {
        flex-direction: column;
    }

    .compare-slot {
        width: 100%;
    }

    .other-grid {
        grid-template-columns: 1fr;
    }

    .service-icon {
        width: 48px;
        height: 48px;
    }

    .layout-toggle {
        padding: .35rem .5rem;
        font-size: .92rem;
    }
}

/* Tiny accessibility / focus styling */
.layout-toggle:focus,
.btn-compare:focus,
.btn-primary-compact:focus,
.btn-swap:focus {
    outline: 3px solid rgba(99, 102, 241, 0.16);
    outline-offset: 2px;
    border-radius: 10px;
}

/* Smooth entrance animations (subtle) */
.compare-wrapper,
.other-grid .card {
    will-change: transform, opacity;
    transition: transform .28s cubic-bezier(.2, .9, .3, 1), opacity .28s ease;
}

.other-services {
    margin-top: 40px;
}

.service-mini {
    border-radius: 10px;
    background: #fff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-again {
    margin-top: 30px;
    text-align: center;
}

/* Services Section */
.services-section {
    padding: 2rem 0;
    /* padding: 2.5rem 1rem; */
    background: var(--bg-light);
}

.services-section>.container,
.services-section.container {

    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.services-section .select-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.services-section .section-subtitle {
    margin-top: .25rem;
    margin-bottom: 1rem;
    color: #1e1c1c;
}

.layout-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    border: 1px solid var(--border-light);
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .12s ease;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--text-medium);
}

.layout-toggle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.layout-toggle[aria-pressed="true"] {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.compare-wrapper {
    gap: var(--gap);
    align-items: center;
    margin-top: 1.25rem;

    margin-left: auto;
    margin-right: auto;
}


.compare-icon i {
    transition: transform 0.3s ease-in-out;
}

.compare-vertical .compare-icon i {
    transform: rotate(90deg);
}

.compare-slot {
    flex: 1 1 0;
    min-width: 0;
}



.slot-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    gap: .5rem;
    align-items: center;
}

.slot-sub {
    font-size: .85rem;
    color: var(--text-light);
}

.placeholder {
    border-radius: 10px;
    border: 2px dashed var(--border-light);
    padding: 1.4rem;
    text-align: center;
    color: var(--text-medium);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.6));
}

.service-identity {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.service-info h5 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 700;
}

.service-info p {
    margin: 0.35rem 0 0;
    color: var(--text-light);
    font-size: .925rem;
    line-height: 1.4;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.select-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: #141212;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg,
            var(--text-dark) 0%,
            var(--text-medium) 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);

    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-full strong {
    color: rgb(28, 25, 25);
}

p .service-full {
    color: rgb(28, 25, 25) !important;
}

.form-control {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-icon .fas {
    font-size: 33px;
}

.form-control::placeholder {
    color: rgba(35, 32, 32, 0.7);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.1);
    color: white;
}

.contact-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-section h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-icons a {
    color: white;
    font-size: 1.25rem;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .ms-auto {
        margin-bottom: 10px !important;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    .login-btn {
        margin-top: 1rem;
    }

    .hero-section {
        padding: 6rem 0 4rem;
    }

    .services-section {
        padding: 4rem 0;
    }

    .contact-section {
        padding: 4rem 0;
    }
}

/* Services Slider Styles */
.services-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    height: 380px;
}

.services-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    gap: 1.5rem;
    padding: 1rem;
}

.services-slide {
    min-width: calc(33.333% - 1rem);
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-slide .service-card {
    width: 100%;
    max-width: 350px;
    margin: 0;
    height: 320px;
}

@media (max-width: 992px) {
    .services-slide {
        flex: 0 0 calc(100% / 2);
    }
}

@media (max-width: 576px) {
    .services-slide {
        flex: 0 0 100%;
    }
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--secondary-color));
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slider-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.slider-indicators {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.slider-info {
    color: var(--text-medium);
    font-weight: 500;
    min-width: 120px;
    text-align: center;
}

/* Smooth animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auth Section Styles */
#authSection {
    min-height: calc(100vh - 160px);
    padding: 6rem 0 4rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

#authSection::before,
#authSection::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 0;
}

#authSection::before {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
}

#authSection::after {
    width: 350px;
    height: 350px;
    bottom: -120px;
    right: -120px;
    margin: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}


.auth-form {
    position: relative;
    z-index: 2;
    background: #fff;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1rem;
    /* margin: 1rem; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    max-width: 600px;
    margin: 0 auto;
}

.auth-form .section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

#authSection .form-control {
    background: rgba(246, 248, 252, 0.6);
    /* light gray with slight transparency */
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(56, 51, 51, 0.7);
    cursor: pointer;
}

.password-toggle i {
    font-size: 1rem;
}

.register-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.forgot-link,
.register-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover,
.register-link:hover {
    text-decoration: underline;
}

.register-prompt {
    margin-top: 1rem;
    color: #06d6a0;
}

/* Main content area */
#mainContent {
    transition: opacity 0.3s ease;
}

.hidden {
    display: none !important;
}

.service-logo {
    width: 170px;
    height: 110px;
    border-radius: 10px;
    margin: 10px;
    background: white;
    padding: 14px;
    object-fit: contain;
}

.flag {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 5px;
}

.full-width-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 0;
}

/* Horizontal Cards */
.full-width-layout .compare-card {
    flex: 1 1 350px;
    /* min width */
    max-width: 45%;
    /* two cards side by side in desktop */
}

/* Compare Icon */
.full-width-layout .compare-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: transform 0.3s ease;
}

/* Vertical Layout */
.full-width-layout.vertical {
    flex-direction: column;
    align-items: center;
}

.full-width-layout.vertical .compare-card {
    max-width: 100%;
    /* full width for vertical mode */
    width: 100%;
}

.full-width-layout.vertical .compare-icon {
    margin: 15px 0;
    transform: rotate(90deg);
}

dropdown-menu {
    z-index: 1050;
}

.navbar.fixed-top {
    z-index: 1040;
    /* slightly below dropdown */
}

/* Mobile: always vertical */
@media (max-width: 768px) {
    .full-width-layout {
        flex-direction: column;
        align-items: center;
    }

    .full-width-layout .compare-card {
        max-width: 100%;
        width: 100%;
    }

    .full-width-layout .compare-icon {
        margin: 15px 0;
        transform: rotate(90deg);
    }
}

.btn-rainbow-outline {
    position: relative;
    display: inline-block;
    color: rgb(0 5 75 / 90%) !important;
    /* text color */
    background: transparent;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.btn-rainbow-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    /* border thickness */
    background: linear-gradient(90deg,
            orange,
            green,
            blue,
            indigo,
            violet);
    background-size: 400%;
    animation: rainbow-border 3s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

@keyframes rainbow-border {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.btn-rainbow-outline:hover {
    color: #fff;
    /* keep same */
    background: transparent;
    /* no fill */
    transform: translateY(-2px);
}

.dropdown-toggle::after {
    display: none !important;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}