* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
    clip-path: inset(50%) !important;
}

/* Hamburger Menu Button */
.hamburger-menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hamburger-menu:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger menu transformation to X */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.97);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav-menu li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-overlay.active .nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay.active .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-menu li:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay.active .nav-menu li:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay.active .nav-menu li:nth-child(4) { transition-delay: 0.4s; }
.nav-overlay.active .nav-menu li:nth-child(5) { transition-delay: 0.5s; }

.nav-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #7fc448 0%, #d1e8be 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #7fc448;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Container */
.container-wide {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Asymmetric Header */
.header-asymmetric {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
}

.header-background {
    position: relative;
    width: 100%;
}

.header-background img {
    display: block;
    width: 50%;
    height: auto;
}

.header-title {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 80%;
    text-align: center;
}

.header-title img {
    display: block;
    width: 60%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
}

.header-title .cta-button {
    margin-top: 2.5rem;
    margin-left: 170px;
}

.header-divider {
    height: 10px;
    width: 100%;
    background: linear-gradient(135deg, #7fc448 0%, #d1e8be 100%);
}

/* Clickable Info Elements */
.clickable-info {
    cursor: pointer;
}

/* Benefits Section */
.benefits-section {
    padding: 8rem 0;
    background-color: #fafafa;
}

.section-heading {
    font-size: 2.8rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 5rem;
    color: #2c3e50;
}

/* Card Layout from Design 2 - Adapted for Design 3 Typography */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Icon Styling for SVG icons */
.card-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7fc448 0%, #d1e8be 100%);
    padding: 2rem;
}

.card-icon img {
    width: 210px;
    height: 210px;
    object-fit: contain;
}

.card-content {
    padding: 2.5rem;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.card-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.card-more {
    margin-top: 1rem;
    font-weight: 500;
    color: #7fc448 !important;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-more:hover {
    color: #6da63a !important;
    font-weight: bold;
}

.card[data-topic] {
    cursor: pointer;
}

/* Call-to-Action Buttons */
.section-cta {
    text-align: center;
    margin-top: 4rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #7fc448 0%, #6da63a 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(127, 196, 72, 0.3);
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 196, 72, 0.4);
    background: linear-gradient(135deg, #6da63a 0%, #5c8f31 100%);
}

.cta-button:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 20px 0 0 20px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    color: #2c3e50;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
    background-color: #f8f9fa;
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.modal-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #7fc448;
    margin-bottom: 3.5rem;
    padding-right: 3rem;
}

.modal-section {
    margin-bottom: 2.5rem;
}

.modal-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.modal-section p {
    font-family: 'Lato', sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    text-align: justify;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #7fc448;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #6da63a;
}


/* Offset Section */
.offset-section {
    padding: 8rem 0;
    overflow: hidden;
}

.offset-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
}

.offset-image-wrapper {
    position: relative;
    padding-right: 3rem;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.offset-content {
    display: flex;
    align-items: center;
}

.content-box {
    background: #f5f5f5;
    padding: 4rem 3rem 4rem 4rem;
    border-radius: 20px;
    margin-left: -3rem;
}

.content-box .cta-button {
    margin-top: 2rem;
}

.content-box h2 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.content-box p {
    font-size: 1.05rem;
    line-height: 2;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Split Section */
.split-section {
    background: linear-gradient(135deg, #E8EAF6 0%, #F3E5F5 100%);
    padding: 8rem 0;
}

.split-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #2c3e50;
}

.split-text p {
    font-size: 1.05rem;
    line-height: 2;
    color: #444;
    margin-bottom: 1.8rem;
}

.split-text .cta-button {
    margin-top: 2rem;
}

.split-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Course Section */
.course-section {
    padding: 8rem 0;
}

.floating-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.floating-card-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
}

@media (min-width: 1000px) {
    .header-title {
        left: 40%;
    }
}

@media (min-width: 1100px) {
    .header-title {
        max-width: 100%;
    }
    
    .header-title img {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .floating-card-grid {
        grid-template-columns: 700px 1fr;
    }
}

.floating-image {
    height: 100%;
    background: linear-gradient(135deg, #7fc448 0%, #d1e8be 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.floating-content {
    padding: 4rem 4rem 4rem 3rem;
}

.floating-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 2.5rem;
}

.features-list {
    margin: 2.5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-check {
    color: #66BB6A;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-item span:last-child {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.contact-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: #7E57C2;
    margin-top: 2.5rem;
}

/* Course CTA Section */
.course-cta-section {
    background: linear-gradient(135deg, #d1e8be 0%, #7fc448 100%);
    padding: 3rem;
    text-align: center;
    margin-top: 0;
}

.course-cta-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: black;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button-inverse {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: white;
    color: #5a9c2e;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button-inverse:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    font-weight: bold;
}

.course-cta-disclaimer {
    font-size: 0.85rem;
    color: #2c3e50;
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* About Artistic */
.about-artistic {
    padding: 8rem 0;
    background-color: #fafafa;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
}

.about-accent {
    position: absolute;
    width: 350px;
    height: 400px;
    background: linear-gradient(135deg, #e5e5e5 0%, #ffffff 100%);
    border-radius: 20px;
    top: -20px;
    left: -20px;
    z-index: 0;
}

.about-portrait {
    position: relative;
    z-index: 1;
}

.about-portrait img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-story h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #2c3e50;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 1.8rem;
}

/* Footer */
.minimal-footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.footer-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hamburger-menu {
        top: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .nav-close {
        top: 1.5rem;
        right: 1.5rem;
    }

    .nav-menu a {
        font-size: 2rem;
    }

    .modal-content {
        padding: 2.5rem 2rem;
        max-height: 90vh;
    }

    .modal-body h2 {
        font-size: 2rem;
        padding-right: 2.5rem;
        margin-bottom: 3rem;
    }

    .modal-section h3 {
        font-size: 1.4rem;
    }

    .modal-section p {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }

    .header-title .cta-button {
        margin-top: 2rem;
    }

    .header-background img {
        width: 60%;
    }
    
    .header-title {
        left: 35%;
        max-width: 85%;
    }
    
    .header-title img {
        width: 70%;
    }
    
    .cards-container,
    .offset-container,
    .split-content,
    .floating-card-grid,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .offset-image-wrapper {
        padding-right: 0;
    }
    
    .content-box {
        margin-left: 0;
        padding: 3rem 2rem;
    }
    
    .floating-content {
        padding: 3rem 2rem;
    }
    
    .course-cta-section {
        padding: 2.5rem 2rem;
    }
    
    .course-cta-text {
        font-size: 1.1rem;
    }
    
    .course-cta-disclaimer {
        font-size: 0.8rem;
    }
    
    .cta-button-inverse {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .about-accent {
        display: none;
    }
    
    .container-wide {
        padding: 0 2rem;
    }
}

@media (max-width: 560px) {
    .header-title .cta-button {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hamburger-menu {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        gap: 5px;
    }

    .hamburger-line {
        width: 24px;
        height: 2.5px;
    }

    .nav-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .modal {
        padding: 1rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }

    .modal-body h2 {
        font-size: 1.8rem;
        padding-right: 2rem;
        margin-bottom: 2.5rem;
    }

    .modal-section {
        margin-bottom: 2rem;
    }

    .modal-section h3 {
        font-size: 1.2rem;
    }

    .modal-section p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .cta-button {
        font-size: 0.95rem;
        padding: 0.8rem 1.8rem;
    }

    .header-title .cta-button {
        margin-top: 1.5rem;
    }

    .header-background img {
        width: 100%;
    }
    
    .header-title {
        left: 20%;
        max-width: 90%;
    }
    
    .header-title img {
        width: 90%;
    }
    }
}
