/* --- VARIABLES --- */
:root {
    --brand-teal: #45d0c0;
    --brand-teal-dark: #3bb3a5;
    --brand-dark: #052d44;
    --text-grey: #555555;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-logo: 'Luckiest Guy', cursive;
}

/* --- GLOBAL RESET FOR FOOTER --- */
.trust-bar, .main-footer {
    box-sizing: border-box;
    font-family: var(--font-main);
}
.trust-bar *, .main-footer * {
    box-sizing: border-box;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- SECTION 1: TRUST BAR --- */
.trust-bar {
    background-color: var(--brand-teal);
    position: relative;
    padding: 60px 0 120px;
    overflow: hidden;
    color: var(--white);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

/* Icon Styling */
.icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.trust-item:hover .icon-box {
    background: var(--white);
    color: var(--brand-teal);
    transform: scale(1.1);
}

.trust-item i {
    font-size: 28px;
    color: inherit;
}

/* Text Styling */
.trust-title {
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    line-height: 1.2;
}

/* Wave Divider */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: #FFFFFF;
}

/* --- SECTION 2: MAIN FOOTER --- */
.main-footer {
    background-color: var(--white);
    padding: 40px 0 20px;
    color: var(--brand-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Brand Column */
.footer-logo {
    color: var(--brand-teal);
    font-size: 42px;
    margin-bottom: 15px;
    font-family: var(--font-logo);
    letter-spacing: 1.5px;
    line-height: 1;
}

.footer-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.mission-text {
    font-size: 14px;
    color: var(--text-grey);
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 300px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    color: var(--brand-dark);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--brand-teal);
    color: var(--white);
    transform: translateY(-3px) rotate(360deg);
}

/* Footer Links */
.footer-col h4 {
    font-size: 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: var(--brand-dark);
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--brand-teal);
    margin-top: 8px;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-grey);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--brand-teal);
    transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #eeeeee;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 12px;
    color: #888;
    margin: 0;
    font-weight: 600;
}

.cert-logos {
    display: flex;
    gap: 25px;
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-dark);
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-item i {
    color: var(--brand-teal);
    font-size: 16px;
}

/* --- RESPONSIVE DESIGN --- */

/* Tablet & Mobile */
@media (max-width: 992px) {
    .trust-grid { gap: 30px; }
    .trust-title { font-size: 15px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .brand-col { grid-column: span 2; text-align: center; }
    .footer-logo { display: flex; justify-content: center; }
    .mission-text { margin: 0 auto 25px; }
    .social-icons { justify-content: center; }
    .footer-col h4::after { margin: 8px auto 0; }
}

/* Mobile Only */
@media (max-width: 600px) {
    .trust-bar { padding: 40px 20px 80px; }
    .trust-grid { 
        flex-direction: column; 
        align-items: flex-start; 
        width: fit-content; margin: 0 auto; 
    }
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 35px; text-align: center; 
    }
    .brand-col { grid-column: span 1; }
    .footer-bottom { 
        flex-direction: column; text-align: center; 
    }
    .cert-logos { flex-direction: column; gap: 10px; }
}