/* General Styling */
:root {
    --primary-color: #79C2D0; /* Light Blue */
    --secondary-color: #F8B400; /* Amber/Orange */
    --accent-color: #E67A8D; /* Soft Red */
    --text-color: #333;
    --light-bg: #fdfdfd;
    --dark-bg: #f0f0f0;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    flex-grow: 1;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

header .header-icon {
    height: 35px;
    width: auto;
}

header h1 {
    font-family: 'Comfortaa', cursive;
    font-size: 2em;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: white;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.hero-content h2 {
    font-family: 'Comfortaa', cursive;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 2.2em;
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.dog-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.primary-contact .phone-number {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.primary-contact .phone-number a {
    color: var(--primary-color);
    text-decoration: none;
}

.primary-contact .thank-you-message {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* Buttons */
.main-button, .secondary-button {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

.main-button {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 6px 20px rgba(248, 180, 0, 0.4);
}

.main-button:hover {
    background-color: #e5a400; /* Slightly darker secondary */
    transform: translateY(-3px);
}

.secondary-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    font-size: 1em;
    box-shadow: 0 4px 15px rgba(121, 194, 208, 0.3);
}

.secondary-button:hover {
    background-color: #6daac2; /* Slightly darker primary */
    transform: translateY(-2px);
}

/* Verification Section */
.verification-section {
    background: var(--dark-bg);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.verification-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.verification-section h3 {
    font-family: 'Comfortaa', cursive;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.verification-section p {
    margin-bottom: 20px;
}

#contactVerificationForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#lastFourDigits {
    width: 100%;
    max-width: 150px;
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1.2em;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#lastFourDigits:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(248, 180, 0, 0.3);
}

/* Messages & Additional Contacts */
.message {
    margin-top: 20px;
    padding: 10px;
    border-radius: var(--border-radius);
    font-weight: 700;
}

.message.error {
    background-color: #ffe0e6;
    color: #e67a8d;
    border: 1px solid #e67a8d;
}

.message.success {
    background-color: #e0f7fa;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.additional-contacts {
    margin-top: 25px;
    text-align: left;
    background: var(--dark-bg);
    padding: 20px;
    border-radius: var(--border-radius);
}

.additional-contacts h4 {
    font-family: 'Comfortaa', cursive;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-align: center;
}

.additional-contacts ul {
    list-style: none;
    padding: 0;
}

.additional-contacts ul li {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.additional-contacts ul li:last-child {
    border-bottom: none;
}

.additional-contacts ul li span:first-child {
    font-weight: 700;
    color: var(--text-color);
}

.additional-contacts ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.additional-contacts ul li a:hover {
    text-decoration: underline;
}

/* Utility Class */
.hidden {
    display: none !important;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    margin-top: auto; /* Pushes footer to the bottom */
    font-size: 0.9em;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .primary-contact .phone-number {
        font-size: 1.5em;
    }

    .main-button, .secondary-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .dog-image {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    .hero-content h2 {
        font-size: 1.5em;
    }

    .hero-content p {
        font-size: 0.9em;
    }

    .primary-contact .phone-number {
        font-size: 1.3em;
    }

    .main-button, .secondary-button {
        width: 100%;
        max-width: 280px;
        padding: 10px 20px;
        font-size: 0.95em;
    }

    .verification-card {
        padding: 20px;
    }

    #lastFourDigits {
        max-width: 120px;
        font-size: 1.1em;
    }

    .additional-contacts ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}