@media (orientation: portrait) {
    .baby{
        width: 100%;
        max-width: 80vw;
        aspect-ratio: 1;
        border-radius: 5vw;
        background: #DDE6ED;
        object-fit: cover;
        box-shadow: 0 1vh 5vw rgba(108, 77, 56, 0.15);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }
    .imgCont{
        display: flex;
        justify-content: center;
        height: 100vw;
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .firstPage{
        font-family: 'Georgia', 'Times New Roman', serif;
        color: #402D21;
        background-color: #ffffff;
        min-height: 100vh;
        border-radius: 20px;
    }

    .container {
        margin: 0 auto;
        background-color: #faf7f3;
        min-height: 100vh;
        position: relative;
        overflow-x: hidden;
    }

    /* Header */
    .header {
        background: linear-gradient(135deg, #c9a87c 0%, #b8956a 100%);
        padding: 2.5vh 4vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-title {
        color: #fff;
        font-size: clamp(1.8rem, 5.5vw, 2.5rem);
        font-weight: bold;
        letter-spacing: 0.2vh;
    }

    .hamburger {
        width: 6vw;
        height: 6vw;
        max-width: 32px;
        max-height: 32px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.5vh;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        border-radius: 1px;
    }

    /* Start Date Section */
    .start-date-section {
        text-align: center;
        padding: 4vh 4vw;
        background-color: #faf7f3;
    }

    .start-date-label {
        font-size: clamp(1.3rem, 5vw, 1.7rem);
        color: #7a6b5d;
        margin-bottom: 1vh;
    }

    .start-date-value {
        font-size: 8vw;
        color: #8b3a3a;
        font-weight: bold;
    }

    /* Divider */
    .divider {
        height: 1px;
        background-color: #e8ddd3;
        margin: 0 4vw;
    }

    /* Course Badge */
    .course-badge {
        text-align: center;
        padding: 3vh 4vw 1vh;
    }

    .badge {
        display: inline-block;
        width: 70%;
        background-color: #f0ebe4;
        color: #6b5b4d;
        font-size: clamp(1.3rem, 4vw, 2rem);
        padding: 1vh 3vw;
        border-radius: 30px;
        border: 1px solid #e0d5ca;
    }

    /* Hero Title */
    .hero-title {
        text-align: center;
        padding: 2vh 4vw 1vh;
        line-height: 1.4;
    }

    .hero-title h1 {
        font-size: clamp(2.4rem, 7.5vw, 3.5rem);
        color: #3a2e28;
        font-weight: normal;
    }

    .hero-title em {
        font-style: italic;
        color: #a08060;
    }

    /* Decorative Line */
    .deco-line {
        width: 8vw;
        max-width: 50px;
        height: 3px;
        background-color: #c9a87c;
        margin: 2vh auto;
        border-radius: 2px;
    }

    /* Author Description */
    .author-desc {
        text-align: center;
        padding: 2vh 5vw;
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        line-height: 1.6;
        color: #5a4a3c;
    }

    .author-name {
        font-weight: bold;
        color: #3a2e28;
    }

    /* Features Cards Row */
    .features-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2vw;
        padding: 3vh 4vw;
    }

    .feature-card {
        background-color: #FDF9F6;
        border-radius: 12px;
        padding: 3vh 2vw;
        text-align: center;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        border: 1px solid #f0ebe4;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .feature-cardP {
        width: 25vw;
        font-size: 1.7vh;
        font-family: inherit;
    }

    .feature-icon {
        width: clamp(36px, 10vw, 48px);
        height: clamp(36px, 10vw, 48px);
        margin: 0 auto 1.5vh;
        color: #c9a87c;
    }

    .feature-icon svg {
        width: 100%;
        height: 100%;
    }

    .feature-card p {
        font-size: clamp(1.15rem, 3.5vw, 1.4rem);
        color: #5a4a3c;
        line-height: 1.3;
        width: 10%;
    }

    .feature-card strong {
        font-size: clamp(1.7rem, 5.5vw, 2.2rem);
        color: #3a2e28;
        display: block;
        margin-bottom: 0.3vh;
    }


    .section-title {
        text-align: center;
        padding: 3vh 4vw 2vh;
        font-size: clamp(1.3rem, 4vw, 2.5rem);
        color: #8a7a6c;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-weight: normal;
    }

    .learn-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2vw;
        padding: 0 4vw 2vh;
    }

    .learn-card {
        background-color: #FDF9F6;
        border-radius: 14px;
        padding: 3vh 3vw;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        border: 1px solid #f0ebe4;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .learn-card.full-width {
        grid-column: 1 / -1;
    }

    .learn-icon {
        width: clamp(36px, 9vw, 46px);
        height: clamp(36px, 9vw, 46px);
        margin-bottom: 1.5vh;
        color: #c9a87c;
    }

    .learn-icon svg {
        width: 100%;
        height: 100%;
    }

    .learn-card p {
        font-size: clamp(1.25rem, 3.8vw, 1.90rem);
        color: #3a2e28;
        line-height: 1.4;
    }

    /* Scroll Arrow */
    .scroll-arrow {
        text-align: center;
        padding: 2vh 0;
    }

    .scroll-arrow a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: clamp(52px, 14vw, 64px);
        height: clamp(52px, 14vw, 64px);
        border-radius: 50%;
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        color: #3a2e28;
        text-decoration: none;
        transition: transform 0.2s ease;
    }

    .scroll-arrow a:hover {
        transform: translateY(2px);
    }

    .scroll-arrow svg {
        width: clamp(24px, 7vw, 30px);
        height: clamp(24px, 7vw, 30px);
    }

    /* CTA Buttons - закруглённые с отступами */
    .cta-section {
        padding: 2vh 20px 4vh;
        text-align: center;
    }

    .btn-primary {
        display: block;
        width: 100%;
        padding: 3.5vh 4vw;
        background-color: #b8d8e8;
        color: #2a5a6a;
        font-size: clamp(1.4rem, 4.5vw, 1.8rem);
        font-family: 'Georgia', 'Times New Roman', serif;
        border: none;
        border-radius: 40px;
        cursor: pointer;
        text-decoration: none;
        transition: background-color 0.2s ease;
        margin-bottom: 2vh;
    }

    .btn-primary:hover {
        background-color: #a8ccd8;
    }

    .or-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3vw;
        margin-bottom: 2vh;
    }

    .or-divider::before,
    .or-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: #ddd5cc;
    }

    .or-divider span {
        font-size: clamp(1.2rem, 3.5vw, 1.4rem);
        color: #a09080;
        white-space: nowrap;
    }

    .btn-secondary {
        display: block;
        width: 100%;
        padding: 3.5vh 4vw;
        background-color: transparent;
        color: #6b5b4d;
        font-size: clamp(1.4rem, 4.5vw, 1.8rem);
        font-family: 'Georgia', 'Times New Roman', serif;
        border: 1.5px solid #d4c8bc;
        border-radius: 40px;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .btn-secondary:hover {
        background-color: #f5f0eb;
        border-color: #b8a898;
    }



}
@media (orientation: landscape) {
    .firstPage {
        font-family: 'Georgia', 'Times New Roman', serif;
        color: #402D21;
        background-color: #ffffff;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 60px 60px;
        box-sizing: border-box;
        position: relative;
        border-radius: 30px;
        display: flex;
        flex-direction: column;
    }

    .firstPage *,
    .firstPage *::before,
    .firstPage *::after {
        box-sizing: border-box;
    }

    /* ---------- Start Date Section ---------- */
    .firstPage .start-date-section {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-bottom: 16px;
    }

    .firstPage .start-date-label {
        font-size: 14px;
        color: #8a8a8a;
        margin: 0;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .start-date-value {
        font-size: 14px;
        font-weight: 700;
        color: #8b5e5e;
        margin: 0;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .divider {
        height: 1px;
        background-color: #e0d8d0;
        margin: 16px 0 32px;
    }

    .firstPage .course-badge {
        margin-bottom: 24px;
    }

    .firstPage .badge {
        display: inline-block;
        padding: 6px 16px;
        border: 1px solid #d4ccc4;
        border-radius: 20px;
        font-size: 13px;
        color: #6b6b6b;
        background: #fff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .hero-title h1 {
        font-size: 42px;
        line-height: 1.2;
        font-weight: 700;
        color: #2c2c2c;
        margin: 0 0 8px;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .hero-title h1 em {
        font-style: italic;
        font-weight: 400;
        color: #8b6f5e;
    }

    .firstPage .deco-line {
        width: 40px;
        height: 2px;
        background-color: #c4a882;
        margin: 16px 0 24px;
    }

    .firstPage .author-desc {
        font-size: 16px;
        line-height: 1.6;
        color: #5a5a5a;
        margin: 0 0 32px;
        max-width: 560px;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .author-name {
        font-weight: 700;
        color: #2c2c2c;
    }

    .firstPage .features-row {
        display: flex;
        gap: 16px;
        margin-bottom: 48px;
        flex-wrap: wrap;
    }

    .firstPage .feature-card {
        flex: 1;
        width: 160px;
        background: #f0ebe5;
        border: 1px solid #e0d8d0;
        border-radius: 12px;
        padding: 20px 16px;
        text-align: center;
    }

    .firstPage .feature-icon {
        width: 32px;
        height: 32px;
        margin: 0 auto 10px;
        color: #8b7355;
    }

    .firstPage .feature-icon svg {
        width: 100%;
        height: 100%;
    }

    .firstPage .feature-card p {
        font-size: 13px;
        line-height: 1.4;
        color: #5a5a5a;
        margin: 0;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .feature-card p strong {
        font-size: 18px;
        font-weight: 700;
        color: #2c2c2c;
    }

    /* ---------- Section Title ---------- */
    .firstPage .section-title {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #8a8a8a;
        margin: 0 0 20px;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    /* ---------- Learn Grid ---------- */
    .firstPage .learn-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: 1vw;
    }

    .firstPage .learn-card {
        display: flex;
        align-items: center;
        gap: 14px;
        background: #fff;
        border: 1px solid #e8e2dc;
        border-radius: 10px;
        padding: 10px 12px;
        transition: box-shadow 0.2s ease;
        width: 100%;
    }

    .firstPage .learn-card:hover {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .firstPage .learn-card.full-width {
        grid-column: 1 / -1;
    }

    .firstPage .learn-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        color: #b0a090;
    }

    .firstPage .learn-icon svg {
        width: 100%;
        height: 100%;
    }

    .firstPage .learn-card p {
        font-size: 14px;
        line-height: 1.4;
        color: #4a4a4a;
        margin: 0;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .photo-placeholder-card {
        background: #f0ebe5;
        border: 1.5px dashed #d4ccc4;
        border-radius: 12px;
        padding: 32px 24px;
        text-align: center;
        margin-bottom: 40px;
        grid-column: 1 / -1;
    }

    .firstPage .photo-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 14px;
        color: #c4b8a8;
    }

    .firstPage .photo-icon svg {
        width: 100%;
        height: 100%;
    }

    .firstPage .photo-caption {
        font-size: 13px;
        line-height: 1.6;
        color: #9a9a9a;
        margin: 0;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .photo-caption em {
        font-style: italic;
        color: #b0a898;
    }

    .firstPage .scroll-arrow {
        text-align: center;
        margin: 24px 0 32px;
    }

    .firstPage .scroll-arrow a {
        display: inline-block;
        color: #b0a090;
        transition: color 0.2s ease;
    }

    .firstPage .scroll-arrow a:hover {
        color: #8b7355;
    }

    .firstPage .scroll-arrow svg {
        width: 28px;
        height: 28px;
    }

    /* ---------- CTA Section ---------- */
    .firstPage .cta-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 40px;
    }

    .firstPage .btn-primary {
        display: inline-block;
        padding: 16px 40px;
        background: #c8dce8;
        color: #3a5a6a;
        text-decoration: none;
        border-radius: 30px;
        font-size: 15px;
        font-family: 'Georgia', 'Times New Roman', serif;
        font-weight: 400;
        transition: background 0.2s ease, transform 0.15s ease;
        border: none;
        cursor: pointer;
        min-width: 320px;
        text-align: center;
    }

    .firstPage .btn-primary:hover {
        background: #b8d0e0;
        transform: translateY(-1px);
    }

    .firstPage .or-divider {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 320px;
    }

    .firstPage .or-divider::before,
    .firstPage .or-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e0d8d0;
    }

    .firstPage .or-divider span {
        font-size: 13px;
        color: #b0a898;
        font-family: 'Georgia', 'Times New Roman', serif;
    }

    .firstPage .btn-secondary {
        display: inline-block;
        padding: 16px 40px;
        background: #fff;
        color: #5a4a3a;
        text-decoration: none;
        border-radius: 30px;
        font-size: 15px;
        font-family: 'Georgia', 'Times New Roman', serif;
        font-weight: 400;
        border: 1.5px solid #c4b8a8;
        transition: background 0.2s ease, transform 0.15s ease;
        cursor: pointer;
        min-width: 320px;
        text-align: center;
    }

    .firstPage .btn-secondary:hover {
        background: #faf7f4;
        transform: translateY(-1px);
    }

    @media (max-width: 768px) {
        .firstPage {
            padding: 24px 20px 40px;
        }

        .firstPage .hero-title h1 {
            font-size: 28px;
        }

        .firstPage .features-row {
            flex-direction: column;
        }

        .firstPage .feature-card {
            max-width: 100%;
        }

        .firstPage .learn-grid {
            grid-template-columns: 1fr;
        }

        .firstPage .btn-primary,
        .firstPage .btn-secondary {
            min-width: 100%;
        }
    }
    .vob{
        display: flex;
        flex-direction: row;
    }
    .leftF .rightF{
        display: flex;
        flex-direction: column;
    }
    .rightF{
        margin-left: 4vw;
        width: 30vw;

    }
    .imgCont{
        display: flex;
        margin-top: 2vw;
        height: 45vh;
        justify-content: center;

    }
    .baby{
        width: 85%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 20px;

    }
}