.package-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 30px 0;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

.package-header {
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    border-right: 1px solid #d0d0d0;
}

.package-header:last-child,
.package-footer:last-child {
    border-right: none;
}

.package-box {
    padding: 30px 20px;
    border-right: 1px solid #d0d0d0;
    border-top: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    text-align: left;
}

.package-box h4 {
    font-size: 1em;
    margin-bottom: 15px;
    color: #222;
    text-align: left;
}

.package-detail {
    margin-bottom: 15px;
    text-align: left;
}

.package-detail h5 {
    font-size: 0.95em;
    margin-bottom: 5px;
    color: #111;
    font-weight: 600;
}

.package-list {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}

.package-list li {
    padding: 4px 0;
    font-size: 0.95em;
    color: #111;
    position: static;
}

.package-list li::before {
    content: none;
}

.package-footer {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: white;
    border-right: 1px solid #d0d0d0;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.package-footer:link,
.package-footer:visited {
    color: white;
}

.package-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.25s ease;
    z-index: 0;
}

.package-footer::after {
    content: '→';
    font-size: 1.1em;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1;
}

.package-footer:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    color: #ffffff;
}

.package-footer:hover::before {
    background: rgba(255,255,255,0.18);
}

.package-footer:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.package-header.day-group,
.package-box.day-group,
.package-footer.day-group {
    background: #f9fbfc;
}

.package-header.day-group h3 {
    color: #333333;
}

.package-header.evening-group,
.package-box.evening-group,
.package-footer.evening-group {
    background: #f3f4f6;
}

.package-header.workshop-program,
.package-box.workshop-program,
.package-footer.workshop-program {
    background: #f9f9f9;
}

.package-header.business-english,
.package-box.business-english,
.package-footer.business-english {
    background: #f6f8f9;
}

.package-header.private-coaching,
.package-box.private-coaching,
.package-footer.private-coaching {
    background: #f9fbfc;
}

.package-footer.day-group,
.package-footer.workshop-program,
.package-footer.private-coaching {
    background: #7fb3c5;
}

.package-footer.evening-group,
.package-footer.business-english {
    background: #a8b9c0;
}

@media (max-width: 992px) {
    .package-grid {
        grid-template-columns: 1fr;
    }

    .package-header,
    .package-box,
    .package-footer {
        border-right: none;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}
.footer {
    background: #f8f9fa;
    padding: 30px 20px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 60px;
}

.footer-text {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
    max-width: 480px;
}
.header {
    background: #f5f5f5;
    padding: 60px 0px;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
    z-index: 0;
}

.header.with-image {
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotate(-15deg);
}

.header h1 {
    color: white;
    font-size: 4em;
    font-weight: bold;
    position: relative;
    z-index: 1;
    width: 100%;

    background-color: #e63946;
    display: block;
    padding: 0px 60px 0px 80px;
}

.flag {
    position: absolute;
    top: 0;
    right: 0;
    width: 300%;
    height: 300px;
    background-image: url('images/aussieflag.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    z-index: 2;
}

.breadcrumb {
    background: #f5f5f5;
    padding: 12px 20px;
    font-size: 0.9em;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #e63946;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.container.with-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.apply-btn {
    background: #e63946;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.apply-btn:hover {
    background: #d62828;
}

.enquire-btn {
    background: #5dade2;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.enquire-btn:hover {
    background: #3498db;
}

.course-summary {
    background: #f8f9fa;
    padding: 20px;
}

.course-summary h3 {
    background: white;
    padding: 15px;
    margin: -20px -20px 15px -20px;
    border-bottom: 3px solid #e63946;
    font-size: 1.1em;
}

.summary-section {
    margin-bottom: 20px;
}

.summary-section h4 {
    font-size: 0.95em;
    margin-bottom: 8px;
    color: #555;
}

.summary-section ul {
    list-style: none;
    padding-left: 0;
}

.summary-section li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9em;
}

.summary-section li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: #e63946;
}

.summary-section li[style*="padding-left: 35px"] {
    padding-left: 45px !important;
}

.summary-section li[style*="padding-left: 35px"]::before {
    left: 30px;
}

.contact-details {
    background: #f8f9fa;
    padding: 20px;
}

.contact-details h3 {
    font-size: 1.1em;
    margin-bottom: 15px;

    color: #333;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9em;
}

.contact-icon {
    color: #e63946;
    margin-right: 10px;
    font-size: 1.2em;
}

.contact-item a {
    color: #e63946;
    text-decoration: none;
}

.main-content {
    background: white;
}

.main-content h1 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #222;
}

.page-intro h1 {
    margin-bottom: 10px;
}

.main-content h2 {
    font-size: 1.4em;
    margin: 30px 0 15px 0;
    color: #222;
}

.main-content h3 {
    font-size: 1.1em;
    margin: 25px 0 10px 0;
    color: #333;
}

.badge {
    display: inline-block;
    background: #d4d4d4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    font-weight: bold;
    margin-right: 15px;
    vertical-align: middle;
}

.overview-content ul {
    list-style: none;
    padding: 0;
}

.overview-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.overview-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.main-content ul {
    list-style: none;
    padding: 0;
}

.main-content li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.main-content li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: #e63946;
    font-weight: bold;
}

.sub-list {
    padding-left: 30px;
}

.sub-list li {
    padding-left: 25px;
    margin-bottom:-10px
}

.sub-list li::before {
    content: '◦';
    left: 0;
    color: #666;
}

/* Override for lists with inline styles that should not have bullets */
ul[style*="list-style: disc"] {
    list-style: disc !important;
}

ul[style*="list-style: disc"] li::before {
    content: none !important;
}

ul[style*="list-style: disc"] li {
    padding-left: 0 !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
}

th, td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
}

th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.packages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.package-box {
    border: 1px solid #ddd;
    padding: 30px 20px;
    text-align: center;
    background: white;
    min-height: 150px;
}

.package-box h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.package-box p {
    color: #666;
    font-style: italic;
}

.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 60px auto;
}

.intro-section h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #222;
}

.intro-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0 0;
}

.cta-grid button {
    width: 100%;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.card {
    background: #f8f9fa;
    padding: 80px 40px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    border-radius: 16px
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.40;
    z-index: 0;
    
}

.card.courses-card::before {
    background-image: url('images/shutterstock_2477767335.jpg');
}

.card.contact-card::before {
    background-image: url('images/shutterstock_2618933019.jpg');
}

.card h2 {
    font-size: 2em;
    color: #222;
    position: relative;
    z-index: 1;
    
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 80px 0;
}

.content-section.reverse {
    direction: rtl;
}

.content-section.reverse > * {
    direction: ltr;
}

.content-section.story-section {
    grid-template-columns: 320px 1fr;
    gap: 80px;
}

.image-stack {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    min-height: 260px;
}

.stack-image {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stack-image-top {
    transform: translateY(-20px);
}

.stack-image-bottom {
    transform: translateY(30px);
}

.story-list {
    list-style: none;
    padding-left: 0;
    margin-top: 25px;
}

.story-list li {
    margin-bottom: 12px;
    font-weight: 500;
    color: #222;
}

.content-text h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 25px;
    color: #222;
    
}

.content-subheading {
    font-size: 1.2em;
    text-align: center;
    margin: -25px 0 25px;
    font-weight: 600;
}

.content-text p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.content-image {
    width: 100%;
    height: 350px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2em;
    background-size: cover;
    background-position: center;
}

@media (max-width: 968px) {
    .container.with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .content-section.story-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .image-stack {
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }

    .stack-image {
        width: 220px;
        height: 220px;
    }

    .stack-image-top,
    .stack-image-bottom {
        transform: translateY(0);
    }

    .content-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .packages-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
        padding: 6px 20px;
    }

    .intro-section h1 {
        font-size: 1.8em;
    }

    .content-text h2 {
        font-size: 1.5em;
    }
}