Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
264 changes: 249 additions & 15 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,205 @@
}

}

/* ===== FOOTER STYLES ===== */
footer {
background: #111827;
color: #fff;
padding: 3rem 2rem 2rem 2rem;
}

.footer-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
margin-bottom: 2rem;
text-align: left;
}

.footer-col h3 {
margin-bottom: 1rem;
color: #28a745;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 0.5rem;
justify-content: flex-start;
}

.footer-col a {
display: flex;
align-items: center;
gap: 0.5rem;
color: #d1d5db;
text-decoration: none;
margin-bottom: 0.5rem;
transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
color: #28a745;
transform: translateX(5px);
}

.footer-col p {
display: flex;
align-items: center;
gap: 0.5rem;
justify-content: flex-start;
}

.social-icons {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.social-icons a {
display: flex;
align-items: center;
gap: 0.5rem;
color: #fff;
text-decoration: none;
transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
color: #28a745;
transform: scale(1.05);
}

/* ===== FOOTER BOTTOM ROW ===== */
.footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
border-top: 1px solid #374151;
padding-top: 1rem;
margin-top: 1rem;
}

.footer-left {
color: #9ca3af;
font-size: 0.9rem;
}

.footer-right a {
color: #9ca3af;
margin-left: 1rem;
text-decoration: none;
font-size: 0.9rem;
position: relative;
padding-bottom: 2px;
transition: all 0.3s ease;
}

.footer-right a:hover {
color: #28a745;
}

.footer-right a::after {
content: '';
position: absolute;
width: 0%;
height: 2px;
left: 0;
bottom: 0;
background-color: #28a745;
transition: width 0.3s ease;
}

.footer-right a:hover::after {
width: 100%;
}

/* ===== MEDIA QUERIES ===== */
/* Tablets */
@media (max-width: 1024px) {
.footer-container {
grid-template-columns: repeat(2, 1fr);
text-align: center;
gap: 1.5rem;
}
.footer-col h3 {
justify-content: center;
}
.footer-col p,
.footer-col a {
justify-content: center;
}
.social-icons {
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
gap: 1rem;
}
}

/* Mobile */
@media (max-width: 768px) {
.footer-container {
grid-template-columns: 1fr;
text-align: center;
}
.footer-col {
align-items: center;
margin-bottom: 1.5rem;
}
.footer-col h3 {
justify-content: center;
}
.footer-col p,
.footer-col a {
justify-content: center;
}
.social-icons {
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.footer-bottom {
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.footer-right a {
margin: 0.3rem 0.5rem;
}
}

/* Very small screens */
@media (max-width: 480px) {
.footer-col h3 {
font-size: 1rem;
}
.footer-col a,
.footer-right a {
font-size: 0.85rem;
}
.footer-left {
font-size: 0.85rem;
}
}
/* Important Links margin for large screens */
.footer-col.important-links {
margin-left: 70px; /* margin only on large screens */
}

/* Tablets and smaller laptops */
@media (max-width: 1024px) {
.footer-col.important-links {
margin-left: 0; /* remove margin on smaller screens */
}
}

/* Mobile devices */
@media (max-width: 768px) {
.footer-col.important-links {
margin-left: 0; /* remove margin on mobile too */
}
}
</style>
</head>

Expand Down Expand Up @@ -856,15 +1055,56 @@ <h3 id="whoCardTitle">Services + Student Experience</h3>
<button id="backToTop" title="Go to top" type="button">
<i class="fas fa-chevron-up"></i>
</button>
<!-- ===== FOOTER ===== -->
<footer>
<div class="footer-container ">
<!-- About GrowCraft -->
<div class="footer-col">
<h3><i class="fa-solid fa-briefcase"></i> GrowCraft</h3>
<p>Boost your career with skill-focused training and internship opportunities.</p>
</div>

<div id="footer-placeholder"></div>
<script>
fetch('src/components/footer.html')
.then(response => response.text())
.then(data => {
document.getElementById('footer-placeholder').innerHTML = data;
});
</script>
<!-- Important Links -->
<div class="footer-col important-links">
<h3>Important Links</h3>
<a href="index.html"><i class="fa-solid fa-house"></i> Home</a>
<a href="about.html"><i class="fa-solid fa-building"></i> About Us</a>
<a href="#services"><i class="fa-solid fa-laptop-code"></i> Services</a>
<a href="work.html"><i class="fa-solid fa-graduation-cap"></i> Our Works</a>
<a href="src/faq.html"><i class="fa-solid fa-clock"></i> FAQ</a>
</div>

<!-- Contact -->
<div class="footer-col">
<h3>Contact</h3>
<p><i class="fa-solid fa-phone"></i> +91 98765 43210</p>
<p><i class="fa-solid fa-envelope"></i> support@GrowCraft.com</p>
</div>

<!-- Social -->
<div class="footer-col">
<h3>Follow Us</h3>
<div class="social-icons">
<a href="#"><i class="fa-brands fa-facebook"></i> Facebook</a>
<a href="#"><i class="fa-brands fa-twitter"></i> Twitter</a>
<a href="#"><i class="fa-brands fa-linkedin"></i> LinkedIn</a>
<a href="#"><i class="fa-brands fa-instagram"></i> Instagram</a>
</div>
</div>
</div>

<!-- Footer Bottom Row: Credit + Legal -->
<div class="footer-bottom">
<div class="footer-left">
&copy; 2025 GrowCraft. All rights reserved.
</div>
<div class="footer-right">
<a href="privacy.html"><i class="fa-solid fa-lock"></i> Privacy</a>
<a href="terms.html"><i class="fa-solid fa-file-lines"></i> Terms</a>
<a href="sitemap.html"><i class="fa-solid fa-map"></i> Sitemap</a>
</div>
</div>
</footer>

<script src="src/script.js"></script>
<script src="src/utils.js"></script>
Expand Down Expand Up @@ -946,13 +1186,7 @@ <h3 id="whoCardTitle">Services + Student Experience</h3>
window.location.href = 'index.html#our-story';
});

// Current year in footer
document.addEventListener("DOMContentLoaded", function () {
const yearSpan = document.getElementById("currentYear");
if (yearSpan) {
yearSpan.textContent = new Date().getFullYear();
}
});


// Back to top button functionality
(function() {
Expand Down
Loading