/* =========================
GLOBAL STYLES
========================= */
* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =========================
CIRCLE COMPONENT
========================= */
.circle {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0d6efd, #66d0d0);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
}

/* =========================
CARD ENHANCEMENTS
========================= */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: none;
}

/* =========================
BUTTON STYLES
========================= */
.btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* =========================
FORM STYLES
========================= */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* =========================
UTILITY CLASSES
========================= */
.min-vh-75 {
    min-height: 75vh;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* =========================
RESPONSIVE DESIGN
========================= */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .display-4 {
        font-size: 3.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-4 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .display-4 {
        font-size: 1.75rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .card-body {
        padding: 1rem;
    }

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

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .circle {
        width: 25px;
        height: 25px;
    }

    /* Improve form layout on mobile */
    .row .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* =========================
ACCESSIBILITY
========================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .circle {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }

    .btn {
        border: 2px solid;
    }
}

/* =========================
PRINT STYLES
========================= */
@media print {

    .navbar,
    footer,
    .btn {
        display: none !important;
    }

    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }

    body {
        background: white !important;
    }
}