﻿/* Base Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #ffffff;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Image Section */
.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .image-section img {
        width: 100%;
        height: auto;
        max-width: 500px;
    }

/* Text Section */
.text-section {
    flex: 1;
    padding: 20px;
    text-align: left;
}

h1 {
    font-size: 4rem;
    color: #303AA6;
    margin: 0;
}

p {
    font-size: 1.2rem;
    color: #555;
    margin: 10px 0;
}

.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: #303AA6;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

    .back-button:hover {
        background-color: #3d3d80;
    }

/* Desktop and Laptop Styles */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
        gap: 30px;
    }

    h1 {
        font-size: 5rem;
    }

    p {
        font-size: 1.3rem;
    }
}

/* Tablets (768px to 1024px) */
@media (max-width: 1024px) {
    .container {
        flex-direction: row;
        gap: 20px;
        max-width: 95%;
    }

    .text-section {
        padding: 10px;
    }

    h1 {
        font-size: 3.5rem;
    }

    p {
        font-size: 1.1rem;
    }

    .back-button {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

/* Mobile Phones (Up to 767px) */
@media (max-width: 767px) {
    .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        max-width: 90%;
    }

    .text-section {
        padding: 0;
        text-align: center;
    }

    h1 {
        font-size: 3rem;
    }

    p {
        font-size: 1rem;
    }

    .back-button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .image-section img {
        max-width: 90%;
    }
}

/* Small Phones (Up to 480px) */
@media (max-width: 480px) {
    .container {
        gap: 10px;
    }

    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    .back-button {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .image-section img {
        max-width: 80%;
    }
}