/* Header styles */
header {
    height: 180px;
    width: 100%;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Body and layout */
body {
    font-family: Arial, sans-serif;
    background-color: #0056a4;
    color: white;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header content */
.header-content {
    display: flex;
    align-items: center;
    position: absolute;
    top: 30px;
    left: 30px;
}

/* Logo styling */
.logo {
    width: 110px;
    height: 110px;
    margin-right: 15px;
    border: 2px solid black;
    transition: 0.3s ease;
}

.logo:hover {
    content: url('../img/usertea-cup-s.png');
}

/* Header text */
.header-text h1 {
    font-family: "Times New Roman", Times, serif;
    font-size: 2.8em;
    margin: 0;
}

.header-text p {
    font-size: 1em;
    font-weight: normal;
    margin: 5px;
    max-width: 290px;
    text-align: justify;
    text-justify: inter-word;
}

/* Main content */
.content-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc((180px + 20px)/2); /* Adds header height plus some spacing */
}

.main-text {
    font-size: 6em;
    margin: 0;
    max-width: 700px;
    animation: breathe 3s ease-in-out infinite;
}

.highlight {
    color: #8ac8ff; /* Light blue highlight */
}

/* Breathe animation */
@keyframes breathe {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Button styling */
.consultation-button {
    padding: 10px 20px;
    color: white;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 5px;
    margin: 30px 0 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.consultation-button:hover {
    background-color: white;
    color: #0056a4;
}

/* Footer styling */
.footer {
    background-color: #0056a4;
    color: #FFFFFF;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    header {
        height: 120px;
    }

    .content-container {
        font-size: 1em;
        padding: 10px;
        padding-top: calc((120px + 20px)/2); /* Adjusts based on mobile header height */
    }

    .header-content {
        top: 15px;
        left: 15px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .header-text h1 {
        font-size: 1.4em;
    }

    .header-text p {
        font-size: 0.8em;
        margin: 5px 0;
        max-width: 250px;
    }

    .main-text {
        font-size: 3.8em;
    }
}
