diff --git a/index.html b/index.html index b685a86..17e5fae 100644 --- a/index.html +++ b/index.html @@ -534,6 +534,86 @@ + +
+ + +
+

Practice Coding & Ace Hiring Assessments

+

Level up your coding skills by practicing the hiring assessments of your dream companies & ace your placement game!

+ +
+ +
+
+
+
💻
+

Coding Practice

+

Level up your coding skills by practicing the hiring Questions.

+
+ Start Now ➤ +
+
+ Coding Practice +
+
+ + +
+
+
+
📋
+

Interview Preparation

+

Crack Top companies in just 5 days.

+ +
+ Start Now ➤ +
+
+ Coding Practice +
+
+ + +
+
+
+
📂
+

Projects

+

Projects epitomize perfect synergy for success.

+ +
+ Start Now ➤ +
+
+ Coding Practice +
+
+ + +
+
+
+
📝
+

Skill Based Assessments

+

Assess your skills and get ahead of the curve.

+ +
+ Start Now ➤ +
+
+ Coding Practice +
+
+
+
+ + +
+ + + +
diff --git a/main.css b/main.css index 751866d..a0bb5c0 100644 --- a/main.css +++ b/main.css @@ -1475,4 +1475,330 @@ width: 90%; max-height: 100%; } - } \ No newline at end of file + } + + /*----------------------------------------------------------------------------------------------------------------------*/ + + + /* Practice Cards Component CSS - Unique class names to prevent conflicts */ +.practice-cards-container * { + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: 'Segoe UI', system-ui, sans-serif; +} + +.practice-cards-container { + background-color: #ffffff; + color: #1f2937; + padding: 40px 20px; + display: flex; + flex-direction: column; + align-items: center; +} + +.practice-container { + max-width: 1300px; + width: 100%; +} + +.practice-title { + font-size: 32px; + font-weight: 700; + margin-bottom: 12px; + color: #111827; + text-align: left; +} + +.practice-subtitle { + font-size: 18px; + color: #6b7280; + max-width: 700px; + /* margin: 0 auto 40px; */ + line-height: 1.5; + text-align: left; +} + +.practice-cards-wrapper { + margin: 30px 0; + display: flex; + height: 380px; + border-radius: 12px; + overflow: hidden; + /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */ + position: relative; + gap: 1px; + background-color: #d1d5db; + padding: 1px; +} + +.practice-card { + flex: 1; + display: flex; + transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); + cursor: pointer; + position: relative; + overflow: hidden; + transform-origin: center; + background-color: white; + border-radius: 0; +} + +.practice-card:first-child { + border-radius: 11px 0 0 11px; +} + +.practice-card:last-child { + border-radius: 0 11px 11px 0; +} + +.practice-card-content { + flex: 1; + padding: 24px; + display: flex; + flex-direction: column; + justify-content: space-between; + transition: all 0.7s ease; + min-width: 0; + z-index: 2; + position: relative; +} + +/* Color changes for active and hover states */ +.practice-card.active { background-color: #c6e0f1; } +.practice-card:nth-child(1):hover, +.practice-card:nth-child(1).active { background-color: #89CFF0; } +.practice-card:nth-child(2):hover, +.practice-card:nth-child(2).active { background-color: #FEB4CF; } +.practice-card:nth-child(3):hover, +.practice-card:nth-child(3).active { background-color: #DFC5FE; } +.practice-card:nth-child(4):hover, +.practice-card:nth-child(4).active { background-color: #FFE186; } + +/* SVG Container */ +.practice-card-svg { + width: 0; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + transition: all 1.3s cubic-bezier(0.23, 1, 0.32, 1); + opacity: 0; + padding: 20px; + background: transparent; +} + +.practice-card-svg svg { + width: 100%; + height: 100%; + max-width: 180px; + max-height: 180px; + filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); +} + +.practice-card-icon { + width: 48px; + height: 48px; + border-radius: 10px; + display: flex; + align-items: center; + justify-content: center; + font-size: 24px; + margin-bottom: 16px; + transition: transform 0.5s ease; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); +} + +.practice-card:nth-child(1) .practice-card-icon { background-color: #1268f3; color: white; } +.practice-card:nth-child(2) .practice-card-icon { background-color: #ef4444; color: white; } +.practice-card:nth-child(3) .practice-card-icon { background-color: #8b5cf6; color: white; } +.practice-card:nth-child(4) .practice-card-icon { background-color: #f59e0b; color: white; } + +.practice-card h3 { + font-size: 20px; + font-weight: 600; + margin-bottom: 12px; + color: #111827; + transition: transform 0.5s ease; +} + +.practice-card p { + font-size: 15px; + color: #6b7280; + line-height: 1.5; + margin-bottom: 16px; + transition: transform 0.5s ease; +} + +.practice-meta-info { + display: flex; + align-items: center; + margin-bottom: 16px; + font-size: 14px; + color: #4b5563; + transition: transform 0.5s ease; +} + +.practice-meta-logo { + width: 24px; + height: 24px; + background-color: #3b82f6; + border-radius: 4px; + margin-right: 8px; + display: flex; + align-items: center; + justify-content: center; + color: white; + font-size: 12px; + font-weight: bold; +} + +.practice-footer-text { + font-size: 14px; + font-weight: 600; + color: #374151; + margin-top: auto; + transition: transform 0.5s ease; +} + +.practice-cta-btn { + margin-top: 16px; + background-color: #111827; + color: white; + padding: 10px 16px; + border-radius: 8px; + font-size: 14px; + font-weight: 600; + text-decoration: none; + width: fit-content; + display: inline-flex; + align-items: center; + gap: 6px; + transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1); + opacity: 0; + transform: translateY(15px); + position: relative; + overflow: hidden; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); +} + +.practice-cta-btn::before { + content: ''; + position: absolute; + top: 0; + left: -100%; + width: 100%; + height: 100%; + background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); + transition: left 0.8s; +} + +.practice-cta-btn:hover::before { + left: 100%; +} + +.practice-cta-btn:hover { + background-color: #374151; + transform: translateY(-2px); + box-shadow: 0 6px 12px rgba(0,0,0,0.15); +} + +/* Active card styles */ +.practice-card.active { + flex: 3.5; + transform: translateY(-8px) scale(1.02); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); + z-index: 10; +} + +.practice-card.active .practice-card-svg { + width: 45%; + opacity: 1; +} + +.practice-card.active .practice-cta-btn { + opacity: 1; + transform: translateY(0); +} + +.practice-card.active .practice-card-icon { + transform: scale(1.1) rotate(5deg); +} + +.practice-card.active h3 { + transform: translateY(-3px); +} + +.practice-card.active p, +.practice-card.active .practice-meta-info, +.practice-card.active .practice-footer-text { + transform: translateY(-2px); +} + +/* Hover effects for non-active cards */ +.practice-card:hover:not(.active) { + flex: 1.3; + transform: translateY(-4px) scale(1.01); + box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); + z-index: 5; +} + +.practice-card:hover:not(.active) .practice-card-svg { + width: 25%; + opacity: 0.8; +} + +/* Subtle overlay effect */ +.practice-card::after { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%); + opacity: 0; + transition: opacity 0.6s ease; + pointer-events: none; +} + +.practice-card.active::after, +.practice-card:hover::after { + opacity: 1; +} + +@media (max-width: 992px) { + .practice-cards-wrapper { + flex-direction: column; + height: auto; + border-radius: 12px; + } + + .practice-card { + flex-direction: column; + height: auto; + border-radius: 0 !important; + } + + .practice-card:first-child { + border-radius: 12px 12px 0 0 !important; + } + + .practice-card:last-child { + border-radius: 0 0 12px 12px !important; + } + + .practice-card.active .practice-card-svg, + .practice-card:hover .practice-card-svg { + width: 100%; + height: 200px; + } + + .practice-card.active { + transform: translateY(-5px) scale(1.01); + } + + .practice-card:hover:not(.active) { + transform: translateY(-3px) scale(1.005); + } +} \ No newline at end of file