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