/* ============================================
   MODERN PROFESSIONAL STYLESHEET
   Ordinacija "Dr. Bašić" - Enhanced Version
   ============================================ */

/* =========================
   GLOBAL STYLES & RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
    padding-top: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth fade-in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* =========================
   NAVBAR - MODERN ENHANCED
========================= */
.custom-navbar {
    background: linear-gradient(135deg, #8B0000 0%, #a00000 50%, #8B0000 100%);
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.25), 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-navbar.scrolled {
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 15px rgba(139, 0, 0, 0.2);
}

.custom-navbar .navbar-brand {
    color: #ffffff !important;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: normal;
    line-height: 1.3;
    margin-right: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.custom-navbar .navbar-brand:hover {
    color: #ffcccc !important;
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(255, 204, 204, 0.3);
}

.custom-navbar .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.6rem 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.custom-navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.custom-navbar .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.custom-navbar .nav-link:hover::before {
    width: 80%;
}

.custom-navbar .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transform: translateX(-50%);
    border-radius: 2px;
}

.custom-navbar .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.custom-navbar .navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Navbar */
@media (max-width: 991.98px) {
    .custom-navbar {
        padding: 0.75rem 1rem;
    }

    .custom-navbar .navbar-brand {
        font-size: 1.2rem;
        text-align: center;
        margin: 0 auto 0.75rem auto;
        display: block;
        width: 100%;
    }

    .custom-navbar .navbar-collapse {
        text-align: center;
        margin-top: 1rem;
    }

    .custom-navbar .navbar-nav {
        text-align: center;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(139, 0, 0, 0.3));
        border-radius: 12px;
        padding: 1rem;
        margin: 0.5rem 0;
        backdrop-filter: blur(10px);
    }

    .custom-navbar .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1rem !important;
        display: block;
        width: 100%;
        white-space: normal;
        line-height: 1.5;
        margin: 0.25rem 0;
    }
}

/* =========================
   HERO SECTION - ENHANCED
========================= */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding-top: 120px;
    padding-bottom: 4rem;
    min-height: 85vh;
    overflow-x: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.03), transparent);
    pointer-events: none;
}

.hero-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(139, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.hero-img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2), 0 15px 30px rgba(139, 0, 0, 0.15);
}

.hero-section h1 {
    color: #8B0000;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: justify;
    color: #4a5568;
    font-weight: 400;
}

.hero-section .fs-4 {
    font-size: 1.5rem !important;
    color: #8B0000;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-button {
    padding: 1rem 3rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #8B0000 0%, #a00000 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.hero-button::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;
}

.hero-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #a00000 0%, #8B0000 100%);
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button:active {
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 2rem;
    }

    .hero-img {
        max-height: none;
        border-radius: 16px;
    }

    .hero-section h1 {
        font-size: 2rem !important;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-section .fs-4 {
        font-size: 1.2rem !important;
    }

    .hero-button {
        padding: 0.85rem 2.5rem;
        font-size: 1.1rem;
        width: 90%;
        max-width: 320px;
    }
}

/* =========================
   VIDEO ICONS - MODERN
========================= */
.video-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.video-icon-wrapper {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.video-icon-wrapper:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 10px 25px rgba(139, 0, 0, 0.15);
    border-color: rgba(139, 0, 0, 0.3);
}

.video-icon {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    transition: transform 0.4s ease;
}

.video-icon-wrapper:hover .video-icon {
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .video-section .row {
        flex-wrap: nowrap !important;
        overflow-x: hidden !important;
        justify-content: center !important;
        gap: 1rem;
        padding: 0 1rem;
    }

    .video-icon-wrapper {
        max-width: 120px !important;
        min-width: 110px;
        margin: 0;
        border-radius: 16px;
    }

    .col-8,
    .col-sm-6,
    .col-md-4,
    .col-lg-4 {
        flex: 0 0 auto;
        width: auto;
        padding: 0 0.3rem;
    }
}

@media (max-width: 480px) {
    .video-icon-wrapper {
        max-width: 110px !important;
        border-radius: 12px;
    }
}

/* =========================
   GALLERY - ENHANCED
========================= */
.gallery-section {
    padding: 4rem 0;
    position: relative;
}

.gallery-section.bg-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.gallery-section h2 {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gallery-img-wrapper {
    max-width: 380px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.gallery-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0) 0%, rgba(139, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-img-wrapper:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 10px 25px rgba(139, 0, 0, 0.15);
    border-color: rgba(139, 0, 0, 0.2);
}

.gallery-img-wrapper:hover::after {
    opacity: 1;
}

.gallery-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    transition: transform 0.5s ease;
}

.gallery-img-wrapper:hover .gallery-img {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .gallery-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center;
        gap: 1.2rem;
        overflow-x: hidden;
        padding: 0.5rem 0;
    }

    .gallery-img-wrapper {
        max-width: 140px !important;
        min-width: 130px !important;
        flex-shrink: 0;
        margin: 0 !important;
        border-radius: 16px;
    }

    .gallery-img {
        height: 200px;
        border-radius: 16px;
    }

    .gallery-section [class*="col-"] {
        flex: 0 0 auto !important;
        width: auto !important;
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .gallery-img-wrapper {
        max-width: 125px !important;
        border-radius: 12px;
    }

    .gallery-img {
        height: 180px;
        border-radius: 12px;
    }

    .gallery-row {
        gap: 1rem;
    }
}

/* =========================
   FOOTER - MODERN ENHANCED
========================= */
footer {
    background: linear-gradient(135deg, #8B0000 0%, #6B0000 50%, #8B0000 100%);
    color: #ffffff !important;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

footer h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

footer p,
footer strong {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

footer strong {
    font-weight: 600;
    color: #ffffff;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
    opacity: 0.5;
}

footer .text-center p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

footer iframe {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer iframe:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
    footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }

    footer h4 {
        font-size: 1.3rem;
    }
}

/* =========================
   ABOUT SECTION - ENHANCED
========================= */
.about-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding-top: 120px;
    padding-bottom: 4rem;
    min-height: 80vh;
    position: relative;
}

.about-section h1 {
    font-size: 3rem;
    color: #8B0000;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-bottom: 1.5rem;
}

.about-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #8B0000, transparent);
    border-radius: 2px;
}

.about-section h2 {
    font-size: 2rem;
    color: #8B0000;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.about-section p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #4a5568;
    text-align: justify;
}

.about-section ul {
    padding-left: 0;
    list-style: none;
}

.about-section ul li {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
}

.about-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B0000;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.about-section ul li strong {
    color: #8B0000;
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.about-section .fst-italic {
    font-size: 1.4rem;
    color: #8B0000;
    font-weight: 500;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(139, 0, 0, 0.02));
    border-radius: 16px;
    border-left: 4px solid #8B0000;
}

@media (max-width: 767px) {
    .about-section {
        padding-top: 110px;
        padding-bottom: 2rem;
    }

    .about-section h1 {
        font-size: 2.2rem !important;
        margin-top: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
    }

    .about-section h2 {
        font-size: 1.6rem !important;
    }

    .about-section p,
    .about-section ul li {
        font-size: 1.05rem !important;
    }

    .about-section .fst-italic {
        font-size: 1.2rem !important;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-section h1 {
        font-size: 1.9rem !important;
    }

    .about-section p,
    .about-section ul li {
        font-size: 1rem !important;
    }
}

/* =========================
   PROCESS SECTION - ENHANCED
========================= */
.process-section {
    padding-top: 120px;
    padding-bottom: 4rem;
    min-height: 80vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.process-section h1 {
    font-size: 3rem;
    color: #8B0000;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.process-section h2 {
    font-size: 2rem;
    color: #8B0000;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
}

.process-section .lead {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4a5568;
    text-align: justify;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border-left: 4px solid #8B0000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.title-window {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.95) 0%, rgba(139, 0, 0, 0.9) 100%);
    color: #ffffff !important;
    padding: 2.5rem 3rem;
    border-radius: 24px;
    margin: 5rem auto 3rem auto;
    max-width: 90%;
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.title-window:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.4), 0 10px 25px rgba(0, 0, 0, 0.25);
}

.title-window h2 {
    color: #ffffff !important;
    font-size: 2.4rem;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.video-gallery-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .process-section {
        padding-top: 110px;
        padding-bottom: 2rem;
    }

    .process-section h1 {
        font-size: 2.2rem !important;
    }

    .process-section h2 {
        font-size: 1.8rem !important;
    }

    .process-section .lead {
        font-size: 1.05rem !important;
        padding: 1.25rem;
    }

    .title-window {
        margin: 4rem auto 2.5rem auto;
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .title-window h2 {
        font-size: 1.8rem !important;
    }

    .video-gallery-row {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .gallery-img-wrapper {
        max-width: 110px !important;
        min-width: 100px !important;
    }

    .gallery-img {
        height: 190px;
    }

    .col-4 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 0 0.3rem;
    }
}

@media (max-width: 480px) {
    .title-window h2 {
        font-size: 1.6rem !important;
    }

    .gallery-img-wrapper {
        max-width: 100px !important;
    }

    .gallery-img {
        height: 170px;
    }
}

/* =========================
   BIOGRAPHY SECTION - ENHANCED
========================= */
.biography-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding-top: 120px;
    padding-bottom: 4rem;
    min-height: 80vh;
}

.biography-section h1 {
    font-size: 3rem;
    color: #8B0000;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.biography-img-wrapper {
    max-width: 450px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(139, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.biography-img-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), 0 15px 35px rgba(139, 0, 0, 0.15);
}

.biography-img {
    width: 100%;
    border-radius: 24px;
    display: block;
    transition: transform 0.5s ease;
}

.biography-img-wrapper:hover .biography-img {
    transform: scale(1.05);
}

.biography-section p {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.biography-section .text-end {
    font-size: 1.3rem;
    color: #8B0000;
    font-weight: 600;
    font-style: italic;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(139, 0, 0, 0.02));
    border-radius: 12px;
    border-right: 4px solid #8B0000;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .biography-section {
        padding-top: 110px;
        padding-bottom: 2rem;
    }

    .biography-section h1 {
        font-size: 2rem;
    }

    .biography-img-wrapper {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .biography-section p {
        font-size: 1rem;
    }

    .biography-section .text-end {
        font-size: 1.15rem;
        text-align: center !important;
        border-right: none;
        border-top: 4px solid #8B0000;
    }
}

@media (min-width: 992px) {
    .biography-img-wrapper {
        max-width: 500px;
    }
}

/* =========================
   PRICING SECTION - ENHANCED
========================= */
section.py-5.mt-5 {
    padding-top: 120px !important;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 80vh;
}

section.py-5.mt-5 h1 {
    font-size: 3rem;
    color: #8B0000;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(139, 0, 0, 0.05);
    border-left: 4px solid #8B0000;
    margin-bottom: 1.25rem;
}

.card:hover {
    transform: translateY(-6px) translateX(4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 6px 15px rgba(139, 0, 0, 0.1);
    border-left-width: 6px;
}

.card-body {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: #4a5568;
}

.card-body span {
    font-weight: 500;
    color: #2c3e50;
    flex: 1;
}

.card-body strong {
    font-size: 1.4rem;
    color: #8B0000;
    font-weight: 700;
    margin-left: 1rem;
    white-space: nowrap;
}

@media (max-width: 767px) {
    section.py-5.mt-5 {
        padding-top: 110px !important;
        padding-bottom: 2rem;
    }

    section.py-5.mt-5 h1 {
        font-size: 2.2rem !important;
    }

    .card-body {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .card-body span {
        font-size: 1rem;
    }

    .card-body strong {
        font-size: 1.3rem;
        margin-left: 0;
        align-self: flex-end;
    }
}

/* =========================
   UTILITY CLASSES
========================= */
.text-danger {
    color: #8B0000 !important;
}

.shadow-lg {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.shadow-sm {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Smooth scroll offset */
html {
    scroll-padding-top: 120px;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.hero-button,
.btn {
    position: relative;
    overflow: hidden;
}

/* Additional smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selection color */
::selection {
    background-color: rgba(139, 0, 0, 0.2);
    color: #8B0000;
}

::-moz-selection {
    background-color: rgba(139, 0, 0, 0.2);
    color: #8B0000;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid rgba(139, 0, 0, 0.5);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .custom-navbar,
    footer,
    .hero-button {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
}

