:root {
    --color-primary: #7E6352;
    --color-primary-hover: #5D4335;
    --color-text: #141414;
    --color-bg: #FAF4F4;
    --color-bg-alt: #F2F2F2;
    --color-border: #E0E0E0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

div.layout {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background-color: var(--color-bg);
}

.text {
    padding: 10px 40px;
}

.promo {
    border: none;
    max-width: 150px;
    padding: 15px 25px;
    border-radius: 10px;
    background-color: var(--color-primary);
    color: #fff;
    line-height: 1.4;
    float: right;
    margin: 15px;
    font-size: 0.9em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.homepage-languages {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.homepage-languages>img {
    max-height: 20px;
    opacity: 0.8;
    transition: opacity 0.2s;
    border-radius: 2px;
}

.homepage-languages>img:hover {
    opacity: 1;
}

.homepage-languages>img:after {
    content: "▼";
    display: inline-block;
    width: 12px;
    height: 12px;
    font-size: 10px;
    margin-left: 5px;
    color: var(--color-text);
}

.homepage-languages .languages {
    display: none;
    background-color: #fff;
    border: 1px solid var(--color-border);
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.homepage-languages .languages a {
    padding: 8px 20px;
    display: block;
    text-wrap: nowrap;
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
}

.homepage-languages .languages a:hover {
    background-color: var(--color-bg-alt);
}

.homepage-languages .languages a img {
    max-height: 12px;
    padding: 0 10px 0 0;
}

.column-left {
    color: var(--color-text);
    min-width: 250px;
    padding: 20px;
    background-color: #fff;
    background-image: none;
    border-right: 1px solid var(--color-border);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.column-left a {
    color: var(--color-text);
    transition: color 0.2s;
}

.column-left a:hover {
    color: var(--color-primary);
}

.column-left h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-primary);
}

.column-left .languages {
    display: none;
}

.column-left .logo {
    background-image: url("../images/logo-74a0c948f7d1d00d20622d0f1880640b.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    min-width: 200px;
    min-height: 200px;
    max-width: 200px;
    margin-top: 30px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.column-left .bio {
    max-width: 350px;
    margin: 40px auto 10px auto;
    text-align: center;
}

.column-left .bio img {
    max-height: 12px;
    vertical-align: middle;
}

.column-left .bio h1 {
    line-height: 1.4;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.column-left .bio h1 span {
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 5px;
}

.column-left .bio small {
    display: block;
    text-wrap: nowrap;
    font-size: 12px;
    color: #666;
    font-family: var(--font-body);
    margin-top: 5px;
}

.column-left .bio ul {
    padding: 0;
    text-align: left;
    display: inline-block;
}

.column-left .bio ul li {
    list-style-type: none;
    margin-bottom: 8px;
}

.column-left .bio ul li:before {
    content: "— ";
    color: var(--color-primary);
    margin-right: 5px;
}

.column-left .locations {
    max-width: 350px;
    margin: 20px auto;
}

.column-left .locations .title {
    margin: 45px 0 0 0;
}

.column-left .locations ul {
    list-style-type: none;
    padding: 0;
}

.column-left .locations ul li {
    background-image: url("../images/location-54ee3f8340a0ed443113a1d1ad8b682c.png");
    background-repeat: no-repeat;
    background-size: 14px 20px;
    background-position: left center;
    padding: 5px 0 5px 25px;
    color: #555;
}

.column-left .contacts {
    max-width: 350px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-left .contacts .instagram,
.column-left .contacts .whatsapp {
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left center;
    padding: 5px 0 5px 30px;
    text-decoration: none;
}

.column-left .contacts .instagram {
    background-image: url("../images/instagram_icon-06758134c5f7bbbd3a4da03d16525d37.png");
}

.column-left .contacts .whatsapp {
    background-image: url("../images/whatsapp_icon-7a2bf1f3f35a1b9ba6d40d1baa7ee184.png");
}

.column-right {
    padding: 0;
    width: 100%;
    background-color: var(--color-bg);
}

.column-right h1 {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.column-right .topbar {
    background-color: var(--color-primary-hover);
    display: flex;
    justify-content: center;
}

.column-right .topbar .menu {
    text-align: center;
    margin: 10px 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.column-right .topbar .menu a {
    text-decoration: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    line-height: normal;
    white-space: nowrap;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.column-right .topbar .menu .languages a {
    color: var(--color-primary);
}

.column-right .topbar .menu a.active {
    background-color: var(--color-primary-hover);
    color: #fff;
    border: none;
}

.column-right .topbar .menu a:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.column-right .aboutme {
    display: flex;
    margin-bottom: 30px;
    min-width: 100vw;
    margin-left: auto;
    margin-right: auto;
}

.column-right .aboutme .text {
    z-index: 3;
    flex: 1;
    color: var(--color-text);
    text-align: left;
    display: flex;
    max-width: 570px;
    min-width: 470px;
    margin: 30px;
    padding: 40px;
    background-color: #fff;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.column-right .aboutme-text {
    display: flex;
    color: var(--color-text);
    text-align: left;
    display: flex;
    min-width: calc(100vw - 40px);
    margin: 50px auto 0 auto;
    padding: 20px 20px 0 20px;
    height: auto !important;
}

.column-right .aboutme-text .logo {
    flex-grow: 2;
    aspect-ratio: 1 / 1;
    background-image: url("../images/logo_blured-18dfb06c11313b8eb258e876c6b6eb16.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: none;
    display: inline-block;
    vertical-align: text-top;
    border: none;
    min-height: 400px;
    max-height: 400px;
    min-width: 400px;
    max-width: 400px;
    border-radius: 200px;
    position: relative;
    margin: -25px 0px 0px auto;
    margin-left: calc(100vw / 2 - 500px);
}

.column-right .aboutme-text .bio {
    flex-grow: 2;
    margin: 0 0 10px 72px;
}

.column-right .aboutme-text .bio img {
    max-height: 10px;
    vertical-align: middle;
}

.column-right .aboutme-text .bio h1 {
    margin: 0 0 40px 28px;
    line-height: 1.4;
    font-weight: 100;
    text-align: left;
    font-family: var(--font-heading);
}

.column-right .aboutme-text .bio h1 span {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    zoom: 1.2;
}

.column-right .aboutme-text .bio small {
    display: block;
    text-wrap: nowrap;
    font-size: 12px;
}

.column-right .aboutme-text .bio ul {
    padding: 0 0 0 30px;
}

.column-right .aboutme-text .bio ul li {
    list-style-type: none;
}

.column-right .aboutme-text .bio ul li:before {
    content: "—  ";
}

.column-right .aboutme .text .logo {
    aspect-ratio: 1 / 1;
    background-image: url("../images/logo_blured-18dfb06c11313b8eb258e876c6b6eb16.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 150px;
    min-height: 150px;
    border-radius: 50%;
    box-shadow: none;
    display: inline-block;
    vertical-align: text-top;
    float: left;
    margin: 0 30px 20px 0;
    border: 3px solid var(--color-bg-alt);
}

.column-right .aboutme .text .bio {
    margin: 0;
}

.column-right .aboutme .text .bio img {
    max-height: 12px;
    vertical-align: middle;
}

.column-right .aboutme .text .bio h1 {
    margin: 0 0 20px 0;
    line-height: 1.3;
    font-weight: 400;
    text-align: left;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.column-right .aboutme .text .bio h1 span {
    border-bottom: none;
    zoom: 1;
}

.column-right .aboutme .text .bio h1 small {
    font-size: 0.6em;
    color: #777;
    margin-top: 5px;
    display: block;
}

.column-right .aboutme .text .bio ul {
    padding: 0;
}

.column-right .aboutme .text .bio ul li {
    list-style-type: none;
    margin-bottom: 5px;
}

.column-right .aboutme .text .bio ul li:before {
    content: "— ";
    color: var(--color-primary);
}

.column-right .aboutme .locations {
    margin: 20px 0;
}

.column-right .aboutme .locations ul {
    list-style-type: none;
    padding: 0;
}

.column-right .aboutme .locations ul li {
    background-image: url("../images/location-54ee3f8340a0ed443113a1d1ad8b682c.png");
    background-repeat: no-repeat;
    background-size: 14px 20px;
    padding: 0px 10px 2px 20px;
}

.column-right hr {
    background-image: url("../images/divider-1dad3cb62b50e82a26a001764f78bead.png");
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 0;
    opacity: 0.5;
    margin: 40px 0;
}

.column-right .footer {
    background-color: var(--color-primary-hover);
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin: 0;
}

.column-right .footer .contacts {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.column-right .footer .contacts .instagram,
.column-right .footer .contacts .whatsapp {
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left center;
    padding: 5px 0 5px 30px;
}

.column-right .footer .contacts .instagram {
    background-image: url("../images/instagram_icon-06758134c5f7bbbd3a4da03d16525d37.png");
}

.column-right .footer .contacts .whatsapp {
    background-image: url("../images/whatsapp_icon-7a2bf1f3f35a1b9ba6d40d1baa7ee184.png");
}

.column-right .footer .contacts a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
}

.column-right .footer .contacts a:hover {
    color: var(--color-bg-alt);
}

.column-right .contacts {
    text-align: center;
    margin: 60px 0 100px 0;
}

.column-right .contacts a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 500;
}

.column-right .contacts a:hover {
    color: var(--color-text);
}

.column-right .products {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.column-right .products .item {
    min-width: 300px;
    min-height: 300px;
    max-width: 300px;
    max-height: 300px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    z-index: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.column-right .products .item:hover {
    z-index: 1;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.column-right .products .item img {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    image-rendering: auto;
}

.column-right .products .item a {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: none;
    border-radius: 20px;
    text-align: center;
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 80%;
    margin: 0;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 16px;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.column-right .products .item:hover a {
    display: block;
}

/* Order Form Styles */
.form {
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.98);
    top: 0;
    display: none;
    left: 100vw;
    width: 100vw;
    height: 100vh;
    position: fixed;
    overflow: scroll;
}

.form .buttons {
    margin: 50px auto;
    display: block;
    text-align: center;
}

.form .buttons .small {
    zoom: 0.6;
    filter: grayscale(1);
    display: none;
}

.form .buttons .button-19 {
    max-width: 200px;
    display: inline-block;
    background-color: var(--color-primary);
    border: none;
    border-radius: 30px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .8px;
    outline: none;
    padding: 12px 30px;
    text-align: center;
    text-transform: uppercase;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    transition: transform 0.2s, background-color 0.2s;
    font-family: var(--font-body);
}

.form .buttons .button-19:hover:not(:disabled) {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
}

.form .buttons .button-19.whatsapp {
    background-color: #25D366;
    color: #fff;
}

.form .buttons .button-19.whatsapp:after {
    background-color: transparent;
    background-image: url("../images/whatsapp_icon-7a2bf1f3f35a1b9ba6d40d1baa7ee184.png");
    background-repeat: no-repeat;
    background-position: 6px 0;
}

.form .close {
    position: absolute;
    right: 20px;
    top: 20px;
    border: none;
    padding: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.form .close:hover {
    opacity: 1;
}

.form .close>img {
    max-width: 24px;
}

.form .step-items {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.form .step-items li {
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    list-style: none;
    display: inline-block;
    color: #999;
    font-family: var(--font-body);
    border: none;
}

.form .step-items li.active {
    font-size: 16px;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    border-radius: 0;
    font-weight: 600;
}

.form .steps .columns {
    display: flex;
    flex-wrap: wrap;
}

.form .steps .columns .first-column {
    margin-left: 30px;
    width: 300px;
}

.form .steps .columns .first-column img {
    display: none;
    max-width: 300px;
    min-width: 300px;
    vertical-align: top;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form .steps .columns .second-column {
    flex: 2;
    min-width: 300px;
    padding: 0 20px;
}

.form .steps .columns .second-column .step2 {
    height: calc(100vh - 245px);
    text-align: center;
    overflow-y: scroll;
}

.form .steps .columns .second-column .step2 .color {
    min-width: 30px;
    min-height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%;
    vertical-align: middle;
    display: inline-block;
    margin-right: 10px;
}

.form .steps .columns .second-column .step2 li {
    width: 200px;
    display: inline-flex;
    align-items: center;
    margin: 5px;
    text-align: left;
}

.form .steps .columns .second-column .step3,
.form .steps .columns .second-column .step5 {
    height: calc(100vh - 245px);
    overflow-y: scroll;
}

.form .steps .columns .second-column .price {
    background-color: #999;
    border-radius: 4px;
    padding: 2px 6px;
    color: #fff;
    font-size: 0.8em;
    margin-left: 5px;
}

.form .steps .columns .second-column .price.green {
    background-color: #2da129;
}

.form .steps .columns .second-column .step6 {
    text-align: center;
}

.form .steps .columns .second-column .step6 label {
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--color-primary);
}

.form .steps .columns .second-column .step6 textarea {
    margin: 10px;
    width: 80%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form .steps .columns .second-column>div>ul {
    padding: 0;
}

.form .steps .columns .second-column>div>ul>li {
    list-style: none;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.form .steps .columns .second-column>div>ul>li:hover {
    background-color: #f9f9f9;
}

.form .steps .columns .second-column>div>ul>li ul {
    display: block;
    padding-left: 20px;
    color: #666;
}

.form .steps .columns .second-column>div>ul>li ul li {
    list-style: none;
    display: block;
    border: none;
    padding: 2px 0;
}

.form .steps .columns .second-column>div>ul>li ul li:before {
    content: "— ";
}

@media only screen and (max-width: 990px) {
    .form .steps .columns .third-column {
        position: relative !important;
        float: none !important;
        margin: 20px auto !important;
    }
}

.form .steps .columns .third-column {
    margin: 32px;
}

.form .steps .columns .third-column h2 {
    text-align: center;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.form .steps .columns .third-column .receipt {
    background-color: #fff;
    width: 100%;
    position: relative;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 270px;
    border-top: 5px solid var(--color-primary);
}

.form .steps .columns .third-column .receipt small {
    margin: 20px 0;
    display: block;
    font-size: 11px;
    color: #888;
    text-align: center;
}

.form .steps .columns .third-column .receipt::after {
    background-image: linear-gradient(135deg, #fff 0.5rem, transparent 0),
        linear-gradient(-135deg, #fff 0.5rem, transparent 0);
    background-position: left bottom;
    background-repeat: repeat-x;
    background-size: 1rem;
    content: '';
    display: block;
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1rem;
}

.form .steps .columns .third-column .calculations {
    font-family: 'Courier New', monospace;
    margin: 10px auto;
    width: 100%;
    padding: 0;
    line-height: 1.4;
}

.form .steps .columns .third-column .calculations h3 {
    border-bottom: 2px dashed #000;
    line-height: 30px;
    margin-bottom: 10px;
}

.form .steps .columns .third-column .calculations .right {
    float: right;
    font-weight: bold;
}

/* Datepicker */
.datepicker-days {
    text-align: center;
    margin-top: 20px;
}

.datepicker-days .table-condensed {
    justify-self: center;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.datepicker-days .table-condensed th,
.datepicker-days .table-condensed td.day {
    padding: 8px 12px;
}

.datepicker-days .table-condensed th:hover,
.datepicker-days .table-condensed td.day:hover,
.datepicker-days .table-condensed td.day.active {
    background-color: var(--color-primary);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
}

.fillings-block>ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}

.fillings-block>ul>li {
    width: 320px;
    display: inline-flex;
    padding: 30px 10px;
}

.fillings-block>ul>li img {
    border-radius: 10px;
    object-fit: cover;
    width: 300px;
    height: 300px;
    image-rendering: pixelated;
    display: block;
    margin-bottom: 15px;
}

/* School Page Styles */
.school-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
    min-height: calc(100vh - 200px);
    /* Ensure it takes enough height */
}

/* Redesigned School Hero */
.school-hero.redesigned {
    background-color: #fff;
    padding: 0 0 60px 0;
    margin-bottom: 60px;
}

.hero-content-centered {
    max-width: 800px;
    margin: 0 auto;
}

.school-hero.redesigned h1 {
    font-family: var(--font-heading);
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 400;
}

.separator-line {
    width: 60px;
    height: 3px;
    background-color: #C9A96E;
    margin: 0 auto 30px auto;
}

.school-hero.redesigned .intro {
    font-size: 1.2em;
    font-weight: 300;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
    /* Align left for bio text */
}

.bio-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.bio-image {
    flex: 0 0 300px;
    position: relative;
    border-radius: 4px;
    border: 10px solid #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.bio-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.text-container {
    flex: 1;
}

.school-hero.redesigned .bio-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .bio-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .school-hero.redesigned .intro,
    .school-hero.redesigned .bio-text,
    .bio-wrapper {
        text-align: center;
    }

    .bio-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto 30px auto;
        transform: none;
    }
}

.school-hero.redesigned .highlight {
    font-weight: 500;
    color: var(--color-primary);
    font-size: 1.1em;
}

/* Formats Section */
.formats-section {
    margin: 60px 0;
}

.formats-section h3,
.why-choose-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: #333;
    margin-bottom: 40px;
}

.formats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.format-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

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

.format-card .icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.format-card h4 {
    color: var(--color-primary);
    font-size: 1.2em;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.format-card.highlight {
    background: #fff8f0;
    border-color: #ffe0b2;
}

/* Why Choose Section */
.why-choose-section {
    margin-top: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2em;
    margin-right: 20px;
    min-width: 50px;
    text-align: center;
}

.feature-text strong {
    display: block;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.feature-text p {
    margin: 0;
    font-size: 0.9em;
    color: #777;
}

.school-courses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.school-courses h2 {
    grid-column: 1 / -1;
    font-family: var(--font-heading);
    font-size: 2.2em;
    color: var(--color-primary);
    margin: 40px 0;
    font-weight: 400;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.school-courses h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    opacity: 0.6;
}

.course-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #40331a;
}

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

.course-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #C9A96E;
    color: #fff;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.course-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 30px 25px;
}

.course-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    color: #333;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.course-instructor {
    font-size: 0.85em;
    color: #888;
    margin: 0 0 15px 0;
    font-style: italic;
}

.course-instructor-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.course-instructor-icons .icon-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8em;
    color: var(--color-primary);
    background: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    font-weight: 500;
    transition: all 0.2s ease;
}

.course-instructor-icons .icon-item:hover {
    background: var(--color-bg-alt);
    transform: translateY(-1px);
}

.course-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.course-description ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.course-description ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

.course-description ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.btn-more-info {
    background-color: #8B4049;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-more-info:hover {
    background-color: #6D2F35;
}

.course-price {
    font-size: 0.95em;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

.level-items {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.level-items li {
    font-size: 0.9em;
    color: #666;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.level-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.course-goal {
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    font-size: 0.95em;
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

.curriculum-list {
    list-style: none;
    padding: 0;
}

.curriculum-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    padding-left: 30px;
}

.curriculum-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.course-meta-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.course-meta-icons .meta-item {
    font-size: 0.9em;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-meta-icons .meta-item i {
    font-style: normal;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .school-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .school-courses {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .school-hero.redesigned h1 {
        font-size: 2em;
    }

    .formats-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .school-courses {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Homepage School Preview */
.homepage-school-preview {
    background-color: #fff;
    padding: 20px 20px 60px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 40px;
}

.preview-content {
    max-width: 800px;
    margin: 0 auto;
}

.preview-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2em;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 400;
}

.preview-content p {
    color: #666;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}