/* Footer Styles - NO FLEXBOX */
.footer {
    background: var(--gray-900);
    padding: 2.5rem 0;
    width: 100%;
    overflow: hidden; /* Clear floats */
}

.footer p {
    color: var(--gray-500);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

/* Footer Left Section */
.footer-left {
    float: left;
    width: auto; /* Not 50% - takes only what it needs */
    position: relative;
}

/* Logo container */
.footer-left .logo {
    display: block;
    text-decoration: none;
    margin-bottom: 0.5rem;
    overflow: hidden; /* Clear float inside */
}

.footer-left .logo img {
    max-width: 72px;
    border-radius: 50%;
    height: auto;
    float: left;
    margin-right: 1rem;
}

.footer-left .logo span {
    font-size: 1.5rem;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--purple-600);
    display: block;
    padding-top: 0.5rem; /* Vertically center with logo */
    float: left;
}

.footer-left .logo span strong {
    font-weight: 700;
}

/* Tagline - positioned below the company name */
.footer-tagline {
    font-size: .9rem;
    line-height: 1.4;
    margin: 0;
    clear: both; /* Start on new line after floated elements */
  /*padding-left: 88px; Aligns with company name (72px + 16px) */
    max-width: 567px; /* Wider to prevent truncation */
    white-space: normal; /* Allow wrapping if needed */
}

/* Footer Right Section */
.footer-right {
    float: right;
    text-align: right;
    padding-top: 2.1rem; /* Aligns vertically with logo/name */
}

.footer-right p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-right a {
    text-decoration: none;
    font-weight: 500;
    color: var(--gray-400);
}

.footer-right a:hover {
    text-decoration: underline;
    color: white;
}

/* Clearfix for container */
.container:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 900px) {
    .footer-tagline {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .footer .container {
        padding: 0 1rem;
        text-align: center;
    }

    .footer-left {
        float: none;
        width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-left .logo {
        display: inline-block;
        margin-bottom: 0.75rem;
    }

    .footer-left .logo img {
        float: none;
        display: block;
        margin: 0 auto 0.5rem;
    }

    .footer-left .logo span {
        float: none;
        display: block;
        padding-top: 0;
        white-space: normal;
    }

    .footer-tagline {
        max-width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .footer-right {
        float: none;
        width: 100%;
        text-align: center;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0;
    }

    .footer-left .logo span {
        font-size: 1.25rem;
    }

    .footer-tagline {
        font-size: 0.95rem;
    }
}