
:root {
    --primary-color: #0d47a1;
    --secondary-color: #fdfaf6;
    --accent-color: #e67e22;
    --text-color: #343a40;
    --heading-font: 'Lora', serif;
    --body-font: 'Poppins', sans-serif;
    --white: #ffffff;
    --light-shadow: 0 5px 15px rgba(0,0,0,0.07);
    --strong-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background-color: var(--secondary-color);
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.hero-section {
    background: linear-gradient(rgba(13, 71, 161, 0.7), rgba(13, 71, 161, 0.7)), url('https://i2-prod.lincolnshirelive.co.uk/incoming/article9899164.ece/ALTERNATES/s1200c/0_NCG-Colleges-Group-Doncaster-College-and-North-Lindsey-College-Scunthorpe-Town-Deal-2.jpg') no-repeat center center; /* this shit is painfull :( */
    background-size: cover;
    padding: 140px 0;
    color: var(--white);
}

.hero-section h1 {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 3.8rem;
}

.navbar {
    background-color: var(--white) !important;
}

.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand .fa-graduation-cap {
    color: var(--accent-color);
    margin-right: 10px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    margin: 0 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}


section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-family: var(--heading-font);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--light-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--strong-shadow);
}

.card-body {
    padding: 30px;
}

.card-title {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 600;
}

.icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}


.course-list-item {
    background: var(--white);
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: var(--light-shadow);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--strong-shadow);
}

.course-list-item .icon {
    margin-right: 20px;
    margin-bottom: 0;
}


.testimonial-card {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 20px;
    text-align: center;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
}

.testimonial-card cite {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}


.cta-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    border-bottom: none;
}

.cta-section h2 {
    font-family: var(--heading-font);
    font-weight: 700;
}

.cta-section .btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.cta-section .btn:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-3px);
}

footer {
    background-color: #2c3e50;
    padding: 40px 0;
}

.footer-socials a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--accent-color);
}
