/* Global styles for Institute App */

body {
    font-family: 'Inter', sans-serif;
}

.hero-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), blue center center/cover no-repeat;
}

.cta-button {
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

.navbar-brand img {
    margin-right: 0.75rem;
}

.attribution {
    font-size: 12px;
}

.attribution a {
    color: black !important;
    text-decoration: none !important;
}

.section {
    min-height: 30rem;
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
}

h2 {
    text-align: center;
}

@media (max-width: 359px) {
    h5 {
        font-size: 1.1rem;
    }
}

.strike-through {
    text-decoration: line-through;
    margin-right: 1.5rem;
}

/* Hero section styles */
.hero {
    padding-bottom: 3rem;
}

.two-columns {
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 600px) {
    .hero {
        min-height: 28rem;
    }

    .two-columns {
        display: grid;
        width: 84rem;
        max-width: 100%;
        margin: 0 auto;
        grid-template-columns: 1fr 1fr;
    }
}

.poster-clip {
    clip-path: polygon(50% 5%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    width: 30rem;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    display: inline-flex;
    transform: rotate(-21deg);
}

.poster-clip img {
    max-width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transform: rotate(21deg) translateY(8.1%);
}

.description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.right {
    text-align: center;
    overflow: hidden;
    min-height: calc(100vw * 1.08);
}

@media (min-width: 480px) {
    .left {
        padding: 3rem 0;
    }

    .right {
        min-height: 35rem;
    }

    .column {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .description {
        padding: 0 2rem;
    }
}

.center-title {
    text-align: center;
    color: red;
    letter-spacing: 2px;
    margin-bottom: -1rem;
}

.days-sessions-price {
    color: red;
}

.date-span {
    color: blue;
}

.course-subjects img {
    height: 3rem;
    width: auto;
}

.course-subjects span {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.register-online {
    color: blue;
}

.website {
    color: red;
    letter-spacing: 2px;
    margin: 1rem;
    display: inline-block;
    font-size: 2rem;
}

.underlined {
    margin-bottom: 1rem;
    display: inline-block;
    border-bottom: 2px solid white;
}

.main-title {
    padding: 1rem 1rem 0;
    background-color: #4d4c4c;
    color: white;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.description h2,
.description h3,
.description h4,
.description h5 {
    word-spacing: 0.3rem;
    line-height: 1.6;
}

.benefits {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.25rem;
}

.benefits > div {
    padding: 1rem 1.5rem;
    background-color: lightgreen;
    border-radius: 0.25rem;
}

/* Footer styles */
.footer {
    padding: 2rem;
    color: white;
}

.footer a {
    color: #80d0ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.copyright {
    margin-bottom: 1rem;
}

/* Fee section */
.bg-fee {
    background-color: #f8f9fa;
}

.fee-notes {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.fee-notes h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Date and time cards */
.date-and-time-card {
    min-height: 200px;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar .date {
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ddd;
}

.calendar .date.active {
    background-color: lightgreen;
    font-weight: bold;
}

.calendar .date.exam {
    background-color: lightcoral;
    font-weight: bold;
}

.dates-note {
    font-weight: bold;
    color: maroon;
}
