/* Custom CSS for Business Next Media */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --orange-color: rgb(235, 66, 9);
    --manager-red: rgb(186, 10, 15);
    --white-color: #fff;
    --black-color: #1e1e1e;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

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


/* nav ---------- */
.navbar {
    background-color: #e0441a;
}

.nav-item a {
    color: var(--white-color);
    font-size: 1rem;
    line-height: 1rem;
    letter-spacing: 1px;
}

.nav-item a:hover {
    color: var(--sub2-color);
}

.btn-ticket {
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
    border-radius: 2rem;
    padding: 0.75rem 1rem !important;
}

.btn-ticket:hover,
nav .btn-ticket:focus {
    background-color: var(--main-color);
    color: var(--white-color);
    border: solid 2px var(--main-color);
}

nav .nav-link {
    margin-top: 0;
    margin-bottom: 0;
}

nav .mainlogo {
    display: flex;
    align-items: center;
}

nav .mainlogo img {
    max-width: 160px;
    text-align: left;
    padding-right: 5px;
}

nav .mainlogo img.school {
    max-width: 180px;
}

@media (max-width: 768px) {
    nav .navbar-collapse {
        display: flex;
    }

    nav .navbar-collapse .navbar-nav {
        width: 100%;
    }

    nav .nav-item {
        justify-content: center;
    }

    .nav-item a {
        font-size: 1rem;
        line-height: 1rem;
        padding: 1.25rem 0;
    }

    .nav-item a .sm-txt,
    .nav-item p .sm-txt {
        font-size: 13px;
    }

    .navbar-toggler,
    .navbar-toggler:focus,
    .navbar-toggler:active {
        padding: 2px;
        border: 0px;
    }

    .navbar img {
        width: 130px;
    }

    nav .mainlogo img.school {
        max-width: 130px;
    }

    nav .mainlogo img {
        max-width: 90px;
        height: auto;
    }

}

/* Hero Section */
.hero-content h1 {
    background: linear-gradient(135deg, var(--primary-color), var(--orange-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.hero-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    border-radius: 1rem;
    transition: all 0.3s ease;
}

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

/* Timeline */
.timeline-item {
    position: relative;
}

.timeline-icon {
    font-size: 0.9rem;
}

/* Media Section */
.btn:hover {
    transform: scale(1.05);
}

/* Learning Section */
.learning-card-active {
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.learning-card-active:hover {
    border-color: var(--orange-color);
}

.school-cta {
    background-color: #dbeafe;
    border-radius: 24px;
    padding: 5px 12px;
    color: #0d6efd;
}

#learning a {
    text-decoration: none;
}

/* Utility Classes */
.text-orange {
    color: var(--orange-color) !important;
}

.bg-orange {
    background-color: var(--orange-color) !important;
}

.text-manager-red {
    color: var(--manager-red) !important;
}

.bg-manager-red {
    background-color: var(--manager-red) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 10px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .timeline-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 0.8rem;
    }

    .navbar-toggler-icon {
        height: 3px !important;
    }
}

@media (max-width: 576px) {
    .hero-section .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    .card-body.p-4 {
        padding: 1.5rem !important;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Contact Section */
.contact-icon {
    width: 50px;
    height: 50px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color), #343a40);
}

/* Custom Button Styles */
.btn-orange {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    color: white;
}

.btn-orange:hover {
    background-color: #d63384;
    border-color: #d63384;
    color: white;
}

.btn-manager-red {
    background-color: var(--manager-red);
    border-color: var(--manager-red);
    color: white;
}

.btn-manager-red:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

#contact .icon {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* footer ---------- */

footer {
    background-color: #1C2533;
    border-top: 4px solid #4338CA;
    color: var(--white-color);
}

footer .font-light {
    padding: 0.25rem 0;
    font-size: 14px;
    color: rgb(100 116 139);
    border-bottom: 1px solid rgb(100 116 139);
}

footer a {
    color: var(--white-color);
    text-decoration: unset;
}

footer .txt-info {
    list-style: none;
    font-size: 12px;
    font-weight: 100;
    line-height: 1.25rem;
}

footer .txt-sm {
    font-size: 14px;
    font-weight: 300;
}

footer .txt-sm:hover {
    color: rgb(136, 142, 151);
}

footer .phone-info {
    border-top: 1px solid rgb(100 116 139);
}

#copyright {
    font-size: 12px;
    font-weight: 100;
    color: #F5F5F5;
    background-color: #64748B;
}

#copyright>div {
    font-family: 'Roboto Flex', sans-serif;
}