/* ===== MODERN FOOTER STYLES ===== */

.footer1 {
    background: var(--color-gainsboro-200);
    padding: 40px 20px 20px;
    position: relative;
    overflow: hidden;
}

/* Add subtle background pattern */
.footer1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 177, 153, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.rectangle-parent5 {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #f3f5f9 0%, #e8ecf3 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow:
        0 18px 50px rgba(53, 76, 107, 0.10),
        0 6px 20px rgba(53, 76, 107, 0.05);
    border: 1px solid rgba(53, 76, 107, 0.08);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rectangle-parent5:hover {
    transform: translateY(-5px);
    box-shadow:
        0 26px 70px rgba(53, 76, 107, 0.14),
        0 10px 30px rgba(53, 76, 107, 0.07);
}

/* Remove unused element */
.frame-child5 {
    display: none;
}

/* Profile Image Container */
.frame-wrapper1 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.group-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 12px 30px rgba(53, 76, 107, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.group-icon:hover {
    transform: scale(1.05);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.15),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* Content Container */
.titles-parent {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* Title Section */
.titles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title19 {
    font-size: 36px;
    font-weight: 700;
    color: #354c6b;
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-comfortaa);
    background: linear-gradient(135deg, #354c6b 0%, #5a7090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title20 {
    font-size: 16px;
    color: #6b7d96;
    font-weight: 500;
    font-family: var(--font-nunito);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Contact Section */
.phone-parent {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Phone Section */
.phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(53, 76, 107, 0.08);
    position: relative;
}

.phone:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(53, 76, 107, 0.10);
}

.phone-call-1-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.phone:hover .phone-call-1-icon {
    opacity: 1;
    transform: scale(1.1);
}

.title21 {
    font-size: 18px;
    color: #3d5170;
    font-weight: 600;
    font-family: var(--font-roboto);
    margin: 0;
    text-decoration: none;
}

/* The whole contact row is the tap target, not just its text */
.title21::after,
.title22::after,
.title23::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Links Section */
.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-icons,
.link-icons1 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(53, 76, 107, 0.08);
    position: relative;
    overflow: hidden;
}

.link-icons::before,
.link-icons1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.link-icons:hover::before,
.link-icons1:hover::before {
    left: 100%;
}

.link-icons:hover,
.link-icons1:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(53, 76, 107, 0.10);
}

.bienvelope-fill-icon1,
.bilinkedin-icon1 {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.link-icons:hover .bienvelope-fill-icon1,
.link-icons1:hover .bilinkedin-icon1 {
    opacity: 1;
    transform: scale(1.1);
}

.link-titles {
    flex: 1;
    min-width: 0;
}

.title22,
.title23 {
    font-size: 16px;
    color: #4a5f7d;
    font-weight: 500;
    font-family: var(--font-roboto);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow-wrap: anywhere;
    display: block;
}

.title22:hover,
.title23:hover {
    color: #354c6b;
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */

@media screen and (max-width: 1200px) {
    .rectangle-parent5 {
        padding: 50px 30px;
        gap: 40px;
    }

    .title19 {
        font-size: 42px;
    }
}

@media screen and (max-width: 900px) {
    .rectangle-parent5 {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px 30px;
    }

    .group-icon {
        width: 160px;
        height: 160px;
    }

    .title19 {
        font-size: 36px;
    }

    .title20 {
        font-size: 18px;
    }

    .phone-parent {
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    .footer1 {
        padding: 60px 15px 30px;
    }

    .rectangle-parent5 {
        padding: 30px 20px;
        gap: 30px;
        border-radius: 20px;
    }

    .group-icon {
        width: 140px;
        height: 140px;
    }

    .title19 {
        font-size: 28px;
    }

    .title20 {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .phone,
    .link-icons,
    .link-icons1 {
        padding: 12px;
        border-radius: 12px;
    }

    .title21,
    .title22,
    .title23 {
        font-size: 14px;
    }

    .phone-call-1-icon,
    .bienvelope-fill-icon1,
    .bilinkedin-icon1 {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    .rectangle-parent5 {
        margin: 0 10px;
        padding: 25px 15px;
    }

    .title19 {
        font-size: 24px;
    }

    .title20 {
        font-size: 14px;
    }

    .titles-parent {
        gap: 25px;
    }

    .phone-parent {
        gap: 16px;
    }

    .links {
        gap: 16px;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

@media (prefers-reduced-motion: reduce) {
    .rectangle-parent5,
    .group-icon,
    .phone,
    .link-icons,
    .link-icons1,
    .phone-call-1-icon,
    .bienvelope-fill-icon1,
    .bilinkedin-icon1 {
        transition: none;
    }

    .rectangle-parent5:hover {
        transform: none;
    }

    .group-icon:hover {
        transform: none;
    }

    .phone:hover,
    .link-icons:hover,
    .link-icons1:hover {
        transform: none;
    }
}

/* Focus states for accessibility */
.title22:focus,
.title23:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .footer1 {
        background: white;
        padding: 20px;
    }

    .rectangle-parent5 {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .group-icon {
        box-shadow: none;
    }
}