/* =============================================================================
   FOOTER STYLES — MegaTrend Fabcon Child Theme
   File: assets/css/footer.css
   Colors from :root in style.css
   ============================================================================= */

/* Footer Base */
.site-footer {
	background-color: var(--white);
    padding: 100px 0 0;
}

/* Footer Top Section */
.footer-top {
    padding-bottom: 60px;
}

/* Footer Heading — "Let's Build Better, Together" */
.footer-top h2 {
	font-size: 44px;
	line-height: 1.2;
	font-weight: 700;
	margin-bottom: 60px;
    background: var(--title-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
}

.footer-top h2 span {
	color: var(--dark-blue);
}

/* Footer Grid — 4 columns */
.footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px 40px;
}

.footer-col:first-child{
    max-width: 140px;
    width: 100%;
}

.footer-col:nth-child(2){
    max-width: 530px;
    width: 100%;
}

.footer-col:nth-child(3),
.footer-col:nth-child(4){
    max-width: 360px;
    width: 100%;    
}


/* Individual Column */
.footer-col h4 {
	font-size: 22px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--dark-grey);
	margin-bottom: 25px;
}

/* Quick Links / Our Products menu list */
.footer-col .footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
    gap: 15px;
}

.footer-col .footer-menu li a {
    font-size: 18px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--grey-clr);
	text-decoration: none;
	transition: color 0.2s ease;
	display: inline-block;
}

.footer-col .footer-menu li a:hover {
	color: var(--blue);
}

/* Office Columns — address paragraph */
.footer-col p {
	display: flex;
    align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 400;
	color: var(--grey-clr);
	line-height: 1.6;
	margin-bottom: 15px;
}

.footer-col p img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	flex-shrink: 0;
	margin-top: 0px;
}

/* Office contact list */
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
    gap: 15px;
}

.footer-col ul li a {
	display: flex;
	align-items: center;
	gap: 10px;
    font-size: 16px;
	font-weight: 400;
	color: var(--grey-clr);
	text-decoration: none;
	line-height: 1.5;
	transition: color 0.2s ease;
}

.footer-col ul li a:hover {
	color: var(--blue);
}

.footer-col ul li a img {
    width: 20px;
    height: 20px;
	object-fit: contain;
	flex-shrink: 0;
}

/* Footer Bottom — copyright + social */
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid rgb(135 135 135 / 25%);
    padding: 24px 0;
	gap: 16px;
}

/* Copyright text */
.copyright {
    font-size: 16px;
	font-weight: 400;
	color: var(--dark-grey);
	line-height: 1.5;
}

.copyright p {
	margin: 0;
}

/* Social Icons */
.footer-social {
	display: flex;
	align-items: center;
	gap: 15px;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    width: 32px;
    height: 32px;
	border-radius: 50%;
	background-color: var(--main-brand);
	transition: background-color 0.2s ease;
	flex-shrink: 0;
}

.footer-social a:hover {
	background-color: var(--dark-blue);
}

.footer-social a img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

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

/* 1366px */
@media (max-width: 1399px) {

    .footer-top {
        padding-bottom: 45px;
    }

	.footer-top h2 {
		font-size: 40px;
        margin-bottom: 45px;
	}

	.footer-grid {
        gap: 30px;
	}

    .footer-col h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .footer-col .footer-menu {
        gap: 10px;
    }

    .footer-col .footer-menu li a {
        font-size: 16px;
    }

    .footer-col p {
        font-size: 14px;
    }

    .footer-col ul {
        gap: 10px;
    }
    
    .footer-col p img,
    .footer-col ul li a img {
        width: 18px;
        height: 18px;
    }

    .footer-col ul li a{
        font-size: 14px;
    }

    .copyright {
        font-size: 14px;
    }

    .footer-social a {
        width: 30px;
        height: 30px;
    }

    .footer-social a img {
        width: 14px;
        height: 14px;
    }
}

/* 991px */
@media (max-width: 991px) {
	.site-footer {
		padding-top: 60px;
	}

	.footer-top h2 {
        font-size: 36px;
        margin-bottom: 40px;
	}

    .footer-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-col:nth-child(3), .footer-col:nth-child(4) {
        max-width: 350px;
    }

    .footer-col h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* 768px */
@media (max-width: 767px) {
	.site-footer {
		padding-top: 40px;
	}

	.footer-top {
		padding-bottom: 35px;
	}

	.footer-top h2 {
        font-size: 30px;
        margin-bottom: 30px;
	}

    .footer-col:first-child {
        max-width: 120px;
        width: 100%;
    }

    .footer-col:nth-child(2) {
        max-width: 400px;
        width: 100%;
    }

    .footer-col:nth-child(3), .footer-col:nth-child(4) {
        max-width: 266px;
    }
}

/* 576px */
@media (max-width: 575px) {
    .footer-col:first-child,
    .footer-col:nth-child(2),
    .footer-col:nth-child(3), 
    .footer-col:nth-child(4) {
        max-width: 100%;
        width: 100%;
    }

	.footer-top h2 {
		font-size: 26px;
	}

    .footer-col p img, .footer-col ul li a img {
        width: 16px;
        height: 16px;
    }

	.footer-col h4 {
		margin-bottom: 10px;
	}

    .footer-col .footer-menu {
        gap: 6px;
    }

    .footer-col .footer-menu li{
        line-height: normal;
    }

    .footer-col .footer-menu li a {
        font-size: 14px;
    }
    
	.footer-top {
		padding-bottom: 30px;
	}

    .footer-bottom{
        flex-direction: column;
        row-gap: 10px;
        padding: 15px 0;
    }

    .footer-social a {
        width: 25px;
        height: 25px;
    }

    .footer-social a img {
        width: 12px;
        height: 12px;
    }

    .footer-col p {
        margin-bottom: 10px;
    }

    .footer-col ul {
        gap: 6px;
    }
}

