Fix mobile navigation and improve homepage layout

- Fixed mobile navigation dropdown functionality
- Improved homepage responsive design and styling
- Enhanced CSS components for better mobile experience
- Optimized page loading and performance
This commit is contained in:
2025-06-06 14:49:12 +05:30
parent 1c95e237b3
commit 09541f03f7
2 changed files with 7 additions and 31 deletions

View File

@@ -53,7 +53,7 @@
.hero-content h1 { .hero-content h1 {
font-size: 4rem; font-size: 4rem;
line-height: 1.1; line-height: 1.1;
margin-bottom: 1rem; margin-bottom: 0.0005rem;
letter-spacing: 1.5px; letter-spacing: 1.5px;
font-weight: 100; font-weight: 100;
position: relative; position: relative;
@@ -83,7 +83,7 @@
/* ===== HERO TYPEWRITER SECTION ===== */ /* ===== HERO TYPEWRITER SECTION ===== */
.hero-typewriter-section { .hero-typewriter-section {
margin: 0.2rem 0 1.2rem 0; margin: 0.0005rem 0;
width: 100%; /* Full width */ width: 100%; /* Full width */
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -93,7 +93,7 @@
.hero-subheading { .hero-subheading {
font-size: 1.4rem; font-size: 1.4rem;
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
margin-bottom: 0.6rem; margin-bottom: 0.0005rem;
font-weight: 100; font-weight: 100;
text-align: center; text-align: center;
} }
@@ -108,8 +108,7 @@
max-width: 100%; /* Ensure it doesn't exceed viewport width */ max-width: 100%; /* Ensure it doesn't exceed viewport width */
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center; margin-bottom: 0.0005rem;
margin-bottom: 0.4rem;
padding: 0.2rem 0; /* Reduced horizontal padding */ padding: 0.2rem 0; /* Reduced horizontal padding */
line-height: 1.0; line-height: 1.0;
} }
@@ -118,7 +117,7 @@
font-size: 1.3rem; font-size: 1.3rem;
color: rgba(255, 255, 255, 0.8); color: rgba(255, 255, 255, 0.8);
line-height: 1.8; line-height: 1.8;
margin: 1.2rem auto; margin: 0.0005rem auto 0 auto;
max-width: 600px; max-width: 600px;
text-align: center; text-align: center;
} }

View File

@@ -22,29 +22,7 @@
padding: 0; padding: 0;
opacity: 0; opacity: 0;
transition: opacity 0.3s ease; transition: opacity 0.3s ease;
overflow-x: hidden; overflow-x: hidden; line-height: 1.6;
line-height: 1.6;
}
/* Custom styles for hero section font sizes */
#hero .hero-content h1 {
font-size: 4rem;
margin-bottom: 0.4rem;
line-height: 1.0;
font-weight: 100;
}
#hero .hero-subheading {
font-size: 1.8rem;
font-weight: 100;
margin-bottom: 0.4rem;
line-height: 1.0;
color: #52eef5;
}
#hero .hero-supporting-text {
margin-top: 0rem;
line-height: 1.0;
} }
/* Preloader styles */ /* Preloader styles */
@@ -480,10 +458,9 @@
</div> </div>
</div> </div>
</section> </section>
<!-- FOOTER --> <!-- FOOTER -->
<footer class="site-footer"> <footer class="site-footer">
<div class="container"> <div class="container gn-responsive-container">
<div class="footer-content"> <div class="footer-content">
<div class="footer-col footer-col-logo"> <div class="footer-col footer-col-logo">
<a href="index.html" class="logo"> <a href="index.html" class="logo">