diff --git a/app/(public)/page.tsx b/app/(public)/page.tsx index 9a59204..d23b10d 100644 --- a/app/(public)/page.tsx +++ b/app/(public)/page.tsx @@ -1,5 +1,6 @@ import Hero from "@/features/landing/hero"; import Universities from "@/features/landing/universities"; +import ContactSection from "@/components/contact/ContactSection"; import { Suspense } from "react"; export default function HomePage() { @@ -9,6 +10,7 @@ export default function HomePage() { }> + ); } diff --git a/components/contact/ContactSection.module.css b/components/contact/ContactSection.module.css index 1184379..dcf6f9f 100644 --- a/components/contact/ContactSection.module.css +++ b/components/contact/ContactSection.module.css @@ -545,24 +545,53 @@ @media (max-width: 768px) { .heading { - font-size: 4rem; + font-size: 3.2rem; } .contactSection { - padding: 100px 24px; + padding: 64px 20px; + } + .description { + font-size: 0.95rem; + margin-bottom: 32px; + } + .horizontalDivider { + display: none; } .featuresHorizontal { flex-direction: column; - align-items: center; - gap: 24px; + align-items: flex-start; + width: max-content; + margin: 0 auto; + gap: 20px; } .contactCard { - padding: 48px 32px; + padding: 28px 20px; + border-radius: 16px; + } + .cardHeading { + font-size: 1.6rem; + } + .cardSubtitle { + margin-bottom: 24px; + font-size: 0.85rem; + } + .form { + gap: 20px; + } + .input { + padding: 6px 28px 6px 0; + font-size: 0.85rem; + } + .textarea { + min-height: 36px; } .submitRow { - position: relative; - bottom: 0; + position: absolute; + bottom: -20px; + left: 50%; + transform: translateX(-50%); display: flex; - justify-content: flex-end; - margin-top: 32px; + justify-content: center; + margin-top: 0; } } diff --git a/components/contact/ContactSection.tsx b/components/contact/ContactSection.tsx index 31a5104..97a1792 100644 --- a/components/contact/ContactSection.tsx +++ b/components/contact/ContactSection.tsx @@ -36,7 +36,7 @@ export default function ContactSection() { }; return ( -
+
{/* Background Effects */}
diff --git a/components/footer.tsx b/components/footer.tsx index b09d241..4e42d56 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -253,7 +253,7 @@ export default function Footer() {
{/* Navigation Container */} -
+
{/* Platform */}

@@ -311,12 +311,12 @@ export default function Footer() {

{/* Company */} -
+

Company

-
    +
      {[ { name: "About Us", href: "/about" }, { name: "Contact", href: "/contact" }, @@ -340,8 +340,8 @@ export default function Footer() {
{/* Feature Cards */} -
-
+
+
{[ { title: "AI-Powered", @@ -393,7 +393,7 @@ export default function Footer() {
{/* Bottom Section */} -
+
{/* Left: Copyright */}

© {new Date().getFullYear()} Hyper Learning. All rights reserved. diff --git a/components/navbar.tsx b/components/navbar.tsx index 53438af..278160b 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -18,12 +18,12 @@ const navLinks = [ href: "/#Universities", }, { - label: "About", - href: "/about", + label: "Contact", + href: "/#Contact", }, { - label: "Contact", - href: "/contact", + label: "About", + href: "/about", }, ]; diff --git a/features/landing/hero.tsx b/features/landing/hero.tsx index 5769593..5fbbc26 100644 --- a/features/landing/hero.tsx +++ b/features/landing/hero.tsx @@ -97,7 +97,7 @@ export default function Hero() {

-
+
{/* Left Content */} Master
@@ -269,9 +269,9 @@ export default function Hero() { > {/* Glowing aura for Light Mode behind AI card */}
-
+
{/* Chat Header */} -
+
-
+
{/* User Message */}
-
+
Explain Big O notation with an example.
@@ -314,7 +314,7 @@ export default function Hero() {
-
+

Big O notation represents the maximum growth rate of an @@ -335,7 +335,7 @@ export default function Hero() { {/* Related Questions */}

-
+

Related Previous Year Questions @@ -343,7 +343,7 @@ export default function Hero() {

-
+
-
+
-
+
-
+
Ask Hyper AI anything... diff --git a/features/landing/universities.tsx b/features/landing/universities.tsx index 45c41b1..a64f6af 100644 --- a/features/landing/universities.tsx +++ b/features/landing/universities.tsx @@ -52,7 +52,7 @@ export default function Universities() { }); return ( -
+
{/* Background Layers */}
{/* Light Mode Wavy Refraction Background (Inverted) */} @@ -150,7 +150,7 @@ export default function Universities() { animate={{ opacity: 1, scale: 1 }} exit={{ opacity: 0, scale: 0.9 }} transition={{ duration: 0.3 }} - className={`group relative flex flex-col overflow-hidden rounded-3xl border border-border/50 dark:border-white/10 bg-card dark:bg-gradient-to-b dark:from-white/5 dark:to-transparent p-5 shadow-lg dark:shadow-2xl backdrop-blur-xl transition-all duration-500 hover:-translate-y-[5.5px] hover:border-blue-400/30 hover:shadow-[0_0_15px_rgba(59,130,246,0.15)] dark:hover:border-blue-400/30 dark:hover:shadow-[0_0_15px_rgba(59,130,246,0.2)] ${ + className={`group relative flex flex-col overflow-hidden rounded-[20px] md:rounded-3xl border border-border/50 dark:border-white/10 bg-card dark:bg-gradient-to-b dark:from-white/5 dark:to-transparent p-4 md:p-5 shadow-lg dark:shadow-2xl backdrop-blur-xl transition-all duration-500 hover:-translate-y-[5.5px] hover:border-blue-400/30 hover:shadow-[0_0_15px_rgba(59,130,246,0.15)] dark:hover:border-blue-400/30 dark:hover:shadow-[0_0_15px_rgba(59,130,246,0.2)] ${ university.status === "Available" ? "cursor-pointer" : "" }`} > @@ -162,8 +162,8 @@ export default function Universities() { {/* Badge */}
-
- +
+
-

+

{university.name}

@@ -187,7 +187,7 @@ export default function Universities() { {university.fullName}

-

+

{university.description}

@@ -208,7 +208,7 @@ export default function Universities() {
{university.status === "Available" ? ( -
+
Explore University