/**
 * Footer Styles
 * Full-screen footer with backend control
 * 
 * @package rprocess-child
 */

/* ============================================
   FOOTER BASE STYLES
   ============================================ */

.rprocess-footer {
    background: #0A1D41 !important;
    /* Dark blue background - exact color from design */
    color: #e0e0e0;
    /* Light gray text */
    padding: 0;
    margin-top: 0px;
    position: relative;
    width: 100%;
    font-family: 'Quicksand', sans-serif;
}

/* ============================================
   FOOTER TOP SECTION
   ============================================ */

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(224, 224, 224, 0.15);
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 30px;
    }
}

.footer-column {
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .footer-column {
        margin-bottom: 30px;
    }
}

/* ============================================
   FOOTER LOGO
   ============================================ */

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 8px;
    color: #e0e0e0;
    /* Light gray color */
    font-family: 'Work Sans', sans-serif;
}

.footer-logo a::after {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0px;
    background: rgba(224, 224, 224, 0.3);
    /* Subtle underline */
}

.footer-logo .logo-r {
    color: #e0e0e0;
    /* Light gray - lowercase */
    text-transform: lowercase;
    font-weight: 400;
}

.footer-logo .logo-process {
    color: #e0e0e0;
    /* Light gray - capitalized */
    text-transform: capitalize;
    font-weight: 600;
}

/* ============================================
   FOOTER DESCRIPTION
   ============================================ */

.footer-description {
    margin-bottom: 25px;
}

.footer-description p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 25px 0;
    max-width: 300px;
}

/* ============================================
   SOCIAL MEDIA ICONS
   ============================================ */

.footer-social {
    margin-top: 25px;
}

.social-icons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgb(169, 83, 76);
    /* Dark red background - exact color from design */
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
}

.social-icon.linkedin {
    font-size: 16px;
}

.social-icon.facebook {
    font-size: 18px;
}

.social-icon.instagram svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: #4ecdc4;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.social-icons a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   FOOTER TITLE
   ============================================ */

.footer-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 24px;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Work Sans', sans-serif;
}

/* ============================================
   FOOTER MENU
   ============================================ */

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    color: #FFFFFFCE;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 21px;
}

.footer-menu a:hover {
    color: #0AA1DD;
     
}

/* ============================================
   FOOTER CONTACT
   ============================================ */

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    color: #FFFFFFCE;
    text-decoration: none;
    font-size: 18px;
    line-height:21px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #4ecdc4;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-text {
    line-height: 1.8;
    color: #b0b0b0;
}

/* ============================================
   FOOTER BOTTOM SECTION
   ============================================ */

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(224, 224, 224, 0.15);
}

.footer-copyright {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .footer-copyright {
        margin-bottom: 0;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .footer-copyright {
        text-align: center;
    }
}

.footer-copyright p {
    margin: 0;
    color: #FFFFFFCE;
    font-size: 14px;
    line-height: 1.6;
}

.footer-policies {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .footer-policies {
        margin-bottom: 0;
        text-align: right;
    }
}

@media (max-width: 767px) {
    .footer-policies {
        text-align: center;
    }
}

.policy-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

@media (min-width: 768px) {
    .policy-links {
        justify-content: flex-end;
    }
}

.policy-links li {
    margin: 0;
}

.policy-links a {
    color: #FFFFFFCE;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.policy-links a:hover {
    color: #4ecdc4;
}

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

@media (max-width: 991px) {
    .footer-column {
        margin-bottom: 40px;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .footer-about .footer-logo {
        text-align: center;
    }
    
    .footer-about .footer-logo a::after {
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    
    .footer-social .social-icons {
        justify-content: center;
    }
    
    .footer-description p {
        max-width: 100%;
        margin: 0 auto 25px;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-column {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-menu {
        text-align: center;
    }
    
    .footer-menu li {
        margin-bottom: 10px;
    }
    
    .footer-contact-list {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 15px;
		 
    }
	.contact-item, .contact-link {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    flex-direction: column;
}
    
    .contact-link {
        justify-content: center;
    }
    
    .footer-description p {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .footer-top {
        padding: 30px 0 20px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .policy-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   CROSS-BROWSER COMPATIBILITY
   ============================================ */

/* Flexbox fallbacks */
.social-icons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.contact-item,
.contact-link {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
}

.policy-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/* Grid fallback for older browsers */
.footer-top .row,
.footer-bottom .row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-top .row > [class*="col-"],
.footer-bottom .row > [class*="col-"] {
    padding: 0 15px;
}

/* Text alignment fallback */
.text-md-end {
    text-align: right;
}

@media (max-width: 767px) {
    .text-md-end {
        text-align: center;
    }
}

/* Transform fallbacks */
.social-icon:hover {
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
}

.footer-about .footer-logo a::after {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

/* Ensure proper background color across browsers */
.rprocess-footer {
    background-color: #1A2347;
    background: #1A2347;
    /* Fallback for older browsers */
}

/* Transition fallbacks */
.social-icon,
.footer-menu a,
.contact-link,
.policy-links a {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* Box shadow fallbacks */
.social-icon:hover {
    -webkit-box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
    -moz-box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

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

.footer-menu a:focus,
.policy-links a:focus,
.contact-link:focus,
.social-icon:focus {
    outline:none;
    outline-offset: 0px;
    border-radius: 0px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .footer-social {
        display: none;
    }
    
    .policy-links {
        flex-direction: column;
    }
}

