/* ======================================== LEAP Therapy Services - Main Stylesheet ======================================== */ /* CSS Variables */ :root { /* Primary Colors */ --primary-green: #8BC34A; --accent-orange: #FF9800; --accent-red: #E53935; --accent-yellow: #FFC107; --accent-blue: #81D4FA; --accent-purple: #BA68C8; /* Backgrounds */ --background-cream: #FFFBF0; --background-white: #FFFFFF; /* Text Colors */ --text-dark: #333333; --text-medium: #666666; --text-light: #999999; /* UI Elements */ --border-light: #E0E0E0; --success-green: #4CAF50; --error-red: #F44336; /* Spacing System */ --spacing-xs: 8px; --spacing-sm: 16px; --spacing-md: 32px; --spacing-lg: 64px; --spacing-xl: 96px; } /* Reduced Motion */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } } /* Focus Visible */ :focus-visible { outline: 3px solid var(--primary-green); outline-offset: 2px; } /* Reset & Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } html { overflow-x: hidden; width: 100%; } body { font-family: 'Nunito', sans-serif; font-size: 16px; line-height: 1.6; color: var(--text-dark); background: var(--background-cream); overflow-x: hidden; width: 100%; position: relative; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Typography */ h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 600; line-height: 1.2; color: var(--text-dark); } h1 { font-size: 48px; } h2 { font-size: 36px; } h3 { font-size: 28px; } h4 { font-size: 22px; font-weight: 500; } p { margin-bottom: 16px; } a { color: var(--primary-green); text-decoration: none; transition: color 0.2s ease; } a:hover { color: #7CB342; } /* Homepage H1 - Coiny Font */ body.home h1 { font-family: "Coiny", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-weight: 400; color: var(--text-dark); font-synthesis: none; line-height: 1.1; } /* Hide mobile break on desktop */ .mobile-break { display: none; } /* Buttons */ .btn-primary { display: inline-block; background: var(--primary-green); color: white; padding: 16px 40px; border-radius: 50px; text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3); border: none; cursor: pointer; } .btn-primary:hover { background: #7CB342; box-shadow: 0 6px 16px rgba(139, 195, 74, 0.4); transform: translateY(-2px); color: white; } .btn-secondary { display: inline-block; background: white; color: var(--primary-green); border: 2px solid var(--primary-green); padding: 14px 36px; border-radius: 50px; text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; } .btn-secondary:hover { background: var(--primary-green); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3); } /* ======================================== HEADER - Three Pill Design ======================================== */ /* Keyframe Animation for Pill Slide Down */ @keyframes slideDown { 0% { transform: translateY(-100px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } /* Individual Pill Animations (Staggered Left-to-Right) */ @keyframes slideDownPill { 0% { transform: translateY(-100px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } /* Mobile-specific animation for logo pill (preserves X centering) */ @keyframes slideDownPillCentered { 0% { transform: translateX(-50%) translateY(-100px); opacity: 0; } 100% { transform: translateX(-50%) translateY(0); opacity: 1; } } .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0 0 0; background: transparent; transition: background 0.3s ease, backdrop-filter 0.3s ease; } /* Apply staggered animation to pills when triggered */ body.home .site-header .logo-pill, body.home .site-header .nav-pill, body.home .site-header .phone-pill, body.home .site-header .hamburger-menu { opacity: 1; /* Default state - visible */ } body.home .site-header.header-animated .logo-pill { animation: slideDownPill 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 0.1s; opacity: 0; transform: translateY(-100px); /* Initial position for desktop */ } body.home .site-header.header-animated .nav-pill { animation: slideDownPill 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 0.2s; opacity: 0; } body.home .site-header.header-animated .phone-pill { animation: slideDownPill 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 0.3s; opacity: 0; } body.home .site-header.header-animated .hamburger-menu { animation: slideDownPill 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; animation-delay: 0.1s; opacity: 0; } .header-pills { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .header-pill { background: white; border-radius: 50px; padding: 12px 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s ease; } .header-pill:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .logo-pill { padding: 8px 20px; } .logo-pill img { height: 50px; width: auto; display: block; } .nav-pill { flex: 1; max-width: 600px; } .nav-links { display: flex; list-style: none; margin: 0; padding: 0; justify-content: space-around; } .nav-link { color: var(--text-dark); text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 50px; transition: background 0.2s ease, color 0.2s ease; } .nav-link:hover, .nav-link.active { background: var(--primary-green); color: white; } .phone-pill { padding: 12px 24px; } .phone-link { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-dark); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; transition: color 0.3s ease; } .phone-link:hover { color: var(--primary-green); } .phone-icon { font-size: 18px; } /* Mobile Menu Elements - Hidden by default */ .mobile-only { display: none !important; } .hamburger-menu { background: transparent; border: none; border-radius: 50px; width: 50px; height: 50px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; box-shadow: none; } .hamburger-menu span { width: 25px; height: 3px; background: var(--primary-green); transition: transform 0.2s ease, opacity 0.2s ease; } /* Mobile Navigation Dropdown */ .mobile-nav { position: fixed; top: 90px; left: 0; right: 0; background: white; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); z-index: 999; } .mobile-nav ul { list-style: none; padding: 0; margin: 0; } .mobile-nav li { border-bottom: 1px solid var(--border-light); } .mobile-nav li:last-child { border-bottom: none; } .mobile-nav a { display: block; padding: 16px 20px; color: var(--text-dark); text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 500; transition: background 0.3s ease; } .mobile-nav a:hover { background: var(--background-cream); color: var(--primary-green); } /* ======================================== BREADCRUMB NAVIGATION ======================================== */ .breadcrumb-nav { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .breadcrumb-list { list-style: none; padding: 0; margin: 0; } /* ======================================== HERO SECTION ======================================== */ .hero-section { background: var(--background-cream); padding: 100px 0 50px; min-height: auto; position: relative; overflow: hidden; isolation: isolate; } /* Home page hero - full height */ .hero-section.hero-home { padding: 140px 0 80px; min-height: 80vh; } .hero-content { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; } /* Home page hero - two column layout */ .hero-home .hero-content { grid-template-columns: 1fr 1fr; text-align: left; max-width: 100%; margin: 0; } .hero-text h1 { font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 600; color: var(--text-dark); margin-bottom: 16px; line-height: 1.2; } .hero-text h2 { font-family: 'Nunito', sans-serif; font-size: 20px; font-weight: 400; color: var(--text-medium); margin-bottom: 0; line-height: 1.5; } /* Home page hero - larger text */ .hero-home .hero-text h1 { font-size: 48px; margin-bottom: 20px; } .hero-home .hero-text h2 { font-size: 24px; margin-bottom: 32px; } /* Desktop: show full h2, hide mobile h2 */ .mobile-h2 { display: none; } .hero-btn { display: inline-block; background: var(--primary-green); color: white; padding: 16px 40px; border-radius: 50px; text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3); } .hero-btn:hover { background: #7CB342; box-shadow: 0 6px 16px rgba(139, 195, 74, 0.4); transform: translateY(-2px); color: white; } .hero-image { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0px; } .nikkita-photo { width: 100%; max-width: 450px; height: auto; display: block; background: transparent; position: relative; margin-left: -500px; margin-bottom: -400px; z-index: 2; } .lady-photo { width: 100%; max-width: 450px; height: auto; display: block; margin: 150px auto 0; background: transparent; } /* Clipart Container - Container-based positioning for responsive clipart */ .clipart-container { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1200px; height: 100%; pointer-events: none; contain: layout size; overflow: hidden; } /* Decorative Clipart */ .clipart { position: absolute; z-index: 1; opacity: 0.8; pointer-events: auto; } .frog-clipart { width: 70px; height: auto; bottom: 10px; left: 565px; z-index: 2; } .bee-new-clipart { width: 80px; height: auto; top: 140px; left: 225px; z-index: 3; } .beehive-clipart { width: 180px; height: auto; top: 100px; left: 50px; z-index: 2; } .monkey-clipart { width: 110px; height: auto; top: 80px; right: 88px; z-index: 3; } .branch-clipart { width: 200px; height: auto; bottom: 10px; z-index: 1; } .branch-left { left: 344px; } .branch-right { right: 344px; transform: scaleX(-1); } /* ======================================== SERVICE LOCATIONS SECTION ======================================== */ .service-locations-section { background: white; padding: 80px 0; position: relative; } .section-heading { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 600; color: var(--text-dark); text-align: center; margin-bottom: 60px; } .service-locations-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; } .service-location-item { display: flex; flex-direction: column; align-items: center; gap: 16px; } .service-icon { width: 80px; height: 80px; transition: transform 0.3s ease; } .service-icon:hover { transform: scale(1.1); } .service-label { background: white; border: 2px solid var(--primary-green); border-radius: 50px; padding: 10px 20px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 14px; color: var(--text-dark); text-align: center; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; } .service-label:hover { background: var(--primary-green); color: white; } /* ======================================== EXPERTISE SECTION ======================================== */ .expertise-section { background: var(--background-cream); padding: 80px 0; position: relative; } .section-subheading { font-family: 'Nunito', sans-serif; font-size: 18px; color: var(--text-medium); text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; } .expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; } .expertise-card { background: white; border-radius: 12px; padding: 32px; text-align: center; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transform: translateY(0); transition: transform 0.3s ease, box-shadow 0.3s ease; will-change: transform; } .expertise-card:hover { transform: translateY(-8px); box-shadow: 0 8px 24px rgba(139, 195, 74, 0.3); } .expertise-icon { width: 64px; height: 64px; margin-bottom: 20px; display: block; margin-left: auto; margin-right: auto; } .expertise-title { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; min-height: 50px; display: flex; align-items: center; justify-content: center; } .expertise-description { font-family: 'Nunito', sans-serif; font-size: 15px; color: var(--text-medium); line-height: 1.5; min-height: 45px; } .section-cta { text-align: center; } /* Expertise Section Clipart */ .expertise-section .clipart-container { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1200px; height: 100%; pointer-events: none; } .lion-clipart { width: 120px; height: auto; top: 65px; right: 80px; z-index: 2; } .hippo-clipart { width: 120px; height: auto; top: 65px; left: 80px; z-index: 2; } /* ======================================== ABOUT ME SECTION ======================================== */ .about-me-section { background: white; padding: 80px 0; position: relative; } .about-content { max-width: 1200px; margin: 0 auto 60px; display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: start; } .about-text { font-family: 'Nunito', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text-dark); } /* Center the text block in service detail sections (no image sidebar) */ .about-content > .about-text:only-child { max-width: 800px; margin-left: auto; margin-right: auto; } .about-image { position: sticky; top: 120px; } .about-photo { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); } /* ======================================== IMAGE CAROUSEL - STACKED CARDS ======================================== */ /* Carousel Container */ .image-carousel { position: relative; width: 100%; height: 500px; margin-bottom: 20px; cursor: pointer; perspective: 1000px; } /* Individual Carousel Cards */ .carousel-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); will-change: transform, opacity; } /* Card Images */ .carousel-card img { width: 100%; height: 100%; object-fit: cover; display: block; } /* Stacking Order - Default State */ .carousel-card:nth-child(1) { z-index: 4; transform: translateX(0) translateY(0); opacity: 1; } .carousel-card:nth-child(2) { z-index: 3; transform: translateX(8px) translateY(8px); opacity: 0.85; } .carousel-card:nth-child(3) { z-index: 2; transform: translateX(16px) translateY(16px); opacity: 0.7; } .carousel-card:nth-child(4) { z-index: 1; transform: translateX(24px) translateY(24px); opacity: 0.55; } /* Active Card (Front) */ .carousel-card.active { /* z-index, transform, and opacity are now controlled by JavaScript */ } /* Hover Effect - Subtle Scale */ .carousel-card:hover { transform: scale(1.02); } /* Navigation Dots */ .carousel-dots { display: flex; justify-content: center; gap: 12px; margin-top: 24px; margin-bottom: 12px; } .carousel-dots .dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--primary-green); background: transparent; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; padding: 0; } .carousel-dots .dot:hover { background: var(--accent-yellow); border-color: var(--accent-yellow); transform: scale(1.2); } .carousel-dots .dot.active { background: var(--primary-green); transform: scale(1.3); } /* Hint Text */ .carousel-hint { text-align: center; font-family: 'Nunito', sans-serif; font-size: 14px; color: #666; font-style: italic; margin-top: 8px; } .about-text p { margin-bottom: 20px; } .about-text h3 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 600; color: var(--primary-green); margin-top: 32px; margin-bottom: 16px; } .about-cta { text-align: center; } .about-cta .cta-text { margin-top: 16px; font-family: 'Nunito', sans-serif; font-size: 16px; color: var(--text-medium); } .about-cta .cta-text a { color: var(--primary-green); text-decoration: none; font-weight: 600; } .about-cta .cta-text a:hover { text-decoration: underline; } /* About Section Clipart */ .about-me-section .clipart-container { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1200px; height: 100%; pointer-events: none; } .flowerbees-clipart { width: 62px; height: auto; top: 65px; right: 100px; z-index: 2; } /* ======================================== FAQ SECTION ======================================== */ .faq-section { background: var(--background-cream); padding: 80px 0; } .faq-container { max-width: 900px; margin: 0 auto; } .faq-item { margin-bottom: 16px; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .faq-question { padding: 20px 24px; font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s ease; } .faq-question:hover { background: var(--background-cream); } .faq-question::after { content: '+'; font-size: 24px; color: var(--primary-green); font-weight: 600; transition: transform 0.3s ease; } .faq-question.active::after { content: '−'; transform: rotate(180deg); } .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; } .faq-answer-content { padding: 0 24px 20px; font-family: 'Nunito', sans-serif; font-size: 16px; line-height: 1.6; color: var(--text-medium); } /* ======================================== CONTACT SECTION ======================================== */ .contact-section { background: var(--background-cream); padding: 80px 0; position: relative; } .contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; } .contact-form-wrapper { background: white; border-radius: 16px; padding: 40px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); } /* Modern Connected Form Design */ .modern-form { display: flex; flex-direction: column; gap: 0; } .form-group { position: relative; } .form-group label { display: block; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 14px; color: var(--text-dark); margin-bottom: 8px; padding-left: 20px; } .required { color: var(--accent-red); } .form-group input, .form-group textarea { width: 100%; padding: 16px 20px; border: 1px solid var(--border-light); background: #FAFAFA; font-family: 'Nunito', sans-serif; font-size: 16px; color: var(--text-dark); border-radius: 0; transition: border-color 0.2s ease, background 0.2s ease; } .form-group:first-of-type input { border-top-left-radius: 8px; border-top-right-radius: 8px; } .form-group:nth-last-of-type(2) input, .form-group:nth-last-of-type(2) textarea { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; } .form-group:not(:first-of-type) input, .form-group:not(:first-of-type) textarea { border-top: none; } .form-group input:focus, .form-group textarea:focus { outline: none; background: white; border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1); } .form-group input.error, .form-group textarea.error { border-color: var(--error-red); background: #FFEBEE; } .form-submit { margin-top: 24px; width: 100%; padding: 16px; border: none; cursor: pointer; } /* Messages */ .message { margin-top: 20px; padding: 16px; border-radius: 8px; text-align: center; } .success-message { background: #E8F5E9; color: #2E7D32; border: 1px solid var(--success-green); } .error-message { background: #FFEBEE; color: #C62828; border: 1px solid var(--error-red); } .error-message a { color: #C62828; font-weight: 600; } /* Right Column: Map & Info */ .contact-info-wrapper { display: flex; flex-direction: column; gap: 32px; } .map-container { background: white; border-radius: 16px; padding: 20px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); } .service-map { width: 100%; height: auto; border-radius: 8px; display: block; min-height: 350px; object-fit: cover; } .contact-details { background: white; border-radius: 16px; padding: 32px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); } .contact-details h3 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 600; color: var(--primary-green); margin-bottom: 20px; } .contact-details p { font-family: 'Nunito', sans-serif; font-size: 16px; color: var(--text-dark); margin-bottom: 12px; line-height: 1.6; } .contact-details a { color: var(--primary-green); text-decoration: none; font-weight: 600; } .contact-details a:hover { text-decoration: underline; } .response-time { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-light); font-style: italic; color: var(--text-medium); } .contact-details ul { list-style: none; padding: 0; margin: 0; } .contact-details li { margin-bottom: 16px; } /* Contact Section Clipart */ .contact-section .clipart-container { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1200px; height: 100%; pointer-events: none; } .crocodile-clipart { width: 115px; height: auto; bottom: 15px; left: 50%; transform: translateX(-50%); z-index: 2; } .vine-clipart { width: 180px; height: auto; bottom: 15px; z-index: 1; } .vine-left { left: 250px; } .vine-right { right: 250px; } /* NDIS Logo - Contact Page */ .ndis-logo-clipart { width: 120px; height: auto; top: 100px; right: 50px; z-index: 2; opacity: 1; } /* ======================================== FOOTER ======================================== */ .site-footer { background: var(--text-dark); color: white; padding: 60px 0 20px; } .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; } .footer-column h4 { color: white; font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 20px; } .footer-column p { font-size: 14px; line-height: 1.6; color: #CCCCCC; } .footer-logo { margin-top: 20px; } .footer-logo img { height: 40px; width: auto; } .footer-links { list-style: none; padding: 0; margin: 0; } .footer-links li { margin-bottom: 10px; } .footer-links a { color: #CCCCCC; text-decoration: none; font-size: 14px; transition: color 0.3s ease; } .footer-links a:hover { color: var(--primary-green); } .footer-contact { list-style: none; padding: 0; margin: 0; } .footer-contact li { margin-bottom: 16px; font-size: 14px; color: #CCCCCC; line-height: 1.6; } .footer-contact a { color: var(--primary-green); text-decoration: none; font-weight: 600; } .footer-contact a:hover { text-decoration: underline; } .footer-bottom { border-top: 1px solid #555555; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; } .footer-legal p { font-size: 13px; color: #999999; margin-bottom: 4px; } .footer-legal-links { display: flex; gap: 12px; align-items: center; } .footer-legal-links a { font-size: 13px; color: #999999; text-decoration: none; } .footer-legal-links a:hover { color: var(--primary-green); } .footer-legal-links span { color: #555555; } /* ======================================== BLOG SECTION STYLES ======================================== */ /* Blog Articles Section */ .blog-articles-section { background: var(--background-white); padding: 80px 0; } /* Blog Grid */ .blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 40px; margin-top: 60px; } /* Blog Card */ .blog-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; height: 100%; text-decoration: none; } .blog-card:hover { transform: translateY(-8px); box-shadow: 0 8px 24px rgba(139, 195, 74, 0.2); } .blog-card-image { width: 100%; height: 240px; position: relative; background: white; overflow: hidden; } .blog-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.3s ease; } .blog-card:hover .blog-card-image img { transform: scale(1.03); } .blog-card-content { padding: 32px; display: flex; flex-direction: column; flex-grow: 1; } .blog-card-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; } .blog-card-date { font-size: 14px; color: var(--text-medium); font-weight: 500; } .blog-card-title { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 16px; color: var(--text-dark); } .blog-card-excerpt { font-size: 15px; line-height: 1.6; color: var(--text-medium); margin-bottom: 24px; flex-grow: 1; } .blog-card-link { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--primary-green); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s ease; } .blog-card-link:hover { gap: 12px; } /* ======================================== ARTICLE PAGE STYLES ======================================== */ /* Article Hero */ .article-hero-content { display: flex; flex-direction: row; align-items: center; gap: 60px; max-width: 1100px; margin: 0 auto; } .article-hero-text { flex: 1; } .article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 15px; color: var(--text-medium); } .article-author { font-weight: 600; color: var(--text-dark); } .article-date { color: var(--text-medium); } .article-hero h1 { font-size: 42px; line-height: 1.2; margin-bottom: 16px; } .article-hero h2 { font-size: 18px; font-weight: 400; color: var(--text-medium); } .article-hero-image { flex-shrink: 0; width: 400px; height: 400px; overflow: hidden; border-radius: 16px; } .article-hero-image img { width: 100%; height: 100%; object-fit: cover; } /* Article Content */ .article-content-section { background: var(--background-cream); padding: 80px 0; } .article-content { max-width: 800px; margin: 0 auto; background: white; padding: 60px; border-radius: 16px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); } .article-content h3 { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 600; color: var(--text-dark); margin-top: 40px; margin-bottom: 20px; } .article-content h3:first-child { margin-top: 0; } .article-content p { font-size: 17px; line-height: 1.8; color: var(--text-dark); margin-bottom: 24px; } .article-content ul, .article-content ol { margin-bottom: 24px; padding-left: 24px; } .article-content li { font-size: 17px; line-height: 1.8; color: var(--text-dark); margin-bottom: 12px; } .article-content li strong { color: var(--primary-green); font-weight: 600; } .article-content a { color: var(--primary-green); text-decoration: underline; transition: color 0.3s ease; } .article-content a:hover { color: var(--accent-orange); } /* Article Footer */ .article-footer { max-width: 800px; margin: 60px auto 0; } .article-share { background: #F5F5F5; padding: 32px; border-radius: 12px; text-align: center; margin-bottom: 40px; } .article-share p { font-size: 17px; color: var(--text-dark); margin: 0; } .article-author-bio { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); text-align: center; } .article-author-bio h3 { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 600; color: var(--text-dark); margin-bottom: 16px; } .article-author-bio p { font-size: 16px; line-height: 1.7; color: var(--text-medium); margin-bottom: 24px; } .article-author-bio .btn-secondary { display: inline-block; } /* ======================================== MULTIDISCIPLINARY SECTION ======================================== */ .multidisciplinary-section { background: var(--background-white); padding: 80px 0; position: relative; } .multidisciplinary-section .section-subheading { font-size: 20px; max-width: 800px; } .multidisciplinary-intro { max-width: 800px; margin: 0 auto 60px; text-align: center; font-family: 'Nunito', sans-serif; font-size: 17px; line-height: 1.7; color: var(--text-medium); } .benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto 60px; } .benefit-card { background: var(--background-cream); border-radius: 12px; padding: 32px; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); transition: transform 0.3s ease, box-shadow 0.3s ease; } .benefit-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(139, 195, 74, 0.2); } .benefit-icon { font-size: 40px; margin-bottom: 16px; } .benefit-card h3 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; } .benefit-card p { font-family: 'Nunito', sans-serif; font-size: 15px; color: var(--text-medium); line-height: 1.6; margin-bottom: 0; } .collaboration-highlight { max-width: 800px; margin: 0 auto 40px; background: #F1F8E9; border-left: 4px solid var(--primary-green); border-radius: 0 12px 12px 0; padding: 32px 40px; } .collaboration-highlight h3 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 600; color: var(--primary-green); margin-bottom: 12px; } .collaboration-highlight p { font-family: 'Nunito', sans-serif; font-size: 16px; color: var(--text-dark); line-height: 1.7; margin-bottom: 0; }/* ======================================== LEAP Therapy Services - Responsive Styles Desktop First Approach ======================================== */ /* ======================================== TABLET - Max Width 768px ======================================== */ @media (max-width: 768px) { /* Typography Adjustments */ h1 { font-size: 36px; } h2 { font-size: 28px; } h3 { font-size: 22px; } /* Header - Hide desktop nav, show hamburger */ .desktop-only { display: none !important; } .mobile-only { display: flex !important; } .header-pills { display: flex; justify-content: space-between; align-items: center; position: relative; } /* Mobile Navigation Layout: Hamburger - Logo - Phone */ .hamburger-menu { order: 1; flex-shrink: 0; } .logo-pill { order: 2; position: absolute; left: 50%; transform: translateX(-50%); margin: 0; } .logo-pill a { display: flex; align-items: center; justify-content: center; } /* Mobile-specific animation keyframes for centered logo pill */ @keyframes slideDownPillCentered { 0% { transform: translateX(-50%) translateY(-100px); opacity: 0; } 100% { transform: translateX(-50%) translateY(0); opacity: 1; } } /* Override animation for centered logo pill on mobile */ body.home .site-header.header-animated .logo-pill { animation-name: slideDownPillCentered !important; animation-duration: 0.5s !important; animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important; animation-fill-mode: forwards !important; animation-delay: 0.1s !important; /* CRITICAL: Set initial transform to preserve centering */ transform: translateX(-50%) translateY(-100px) !important; } .phone-pill { order: 3; flex-shrink: 0; } .phone-pill .phone-text { display: inline; } /* Hero Section */ .hero-section { padding: 80px 0 40px; } .hero-section.hero-home { padding: 120px 0 60px; position: relative; overflow: visible; } .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; } /* Remove hero-image from grid flow on mobile */ .hero-home .hero-content { display: block; } /* Add spacing below button for images */ .hero-home .hero-text { margin-bottom: 40px; } .hero-text h1 { font-size: 36px; } .hero-text h2 { font-size: 20px; } /* Show mobile break on tablet screens */ .mobile-break { display: inline; } /* Hero Images - Positioned below button */ .hero-home .hero-image { position: relative; height: 280px; pointer-events: none; display: block; margin-top: 30px; overflow: hidden; width: 100%; } .nikkita-photo { max-width: 240px; position: absolute; bottom: -10px; /* Moved down slightly (was 0) */ left: 50%; margin-left: -160px; /* Moved more to the right (was -170px) */ margin-bottom: 0; } .lady-photo { max-width: 240px; position: absolute; bottom: 0; left: 50%; margin-left: 10px; margin-top: 0; } /* Clipart - Scaled for tablet */ .frog-clipart { width: 60px; bottom: 10px; left: 50%; transform: translateX(-50%); } .bee-new-clipart { width: 60px; top: 80px; left: 120px; } .beehive-clipart { width: 130px; top: 80px; left: 30px; } .monkey-clipart { width: 90px; top: 70px; right: 50px; } .branch-clipart { width: 150px; bottom: 10px; } .branch-left { left: 80px; } .branch-right { right: 80px; } /* Service Locations Grid */ .service-locations-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } .service-icon { width: 64px; height: 64px; } .service-label { font-size: 13px; padding: 8px 16px; } /* Expertise Grid */ .expertise-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } .expertise-card { padding: 24px; } .expertise-icon { width: 56px; height: 56px; } .expertise-title { font-size: 18px; min-height: 45px; } .expertise-description { font-size: 14px; min-height: 40px; } /* Expertise Section Clipart */ .lion-clipart { width: 90px; top: 55px; right: 60px; } .hippo-clipart { width: 90px; top: 55px; left: 60px; } /* About Section */ .about-content { grid-template-columns: 1fr; gap: 40px; } .about-image { position: relative; top: 0; order: -1; } .about-photo { max-width: 350px; margin: 0 auto; display: block; } /* Image Carousel - Tablet */ .image-carousel { height: 400px; max-width: 450px; margin: 0 auto 16px; } .carousel-card:nth-child(2) { transform: translateX(6px) translateY(6px); } .carousel-card:nth-child(3) { transform: translateX(12px) translateY(12px); } .carousel-card:nth-child(4) { transform: translateX(18px) translateY(18px); } .carousel-dots { gap: 10px; } .carousel-hint { font-size: 13px; } /* About Section Clipart */ .flowerbees-clipart { width: 46px; top: 55px; right: 80px; } /* Contact Section */ .contact-content { grid-template-columns: 1fr; gap: 40px; } .contact-form-wrapper { padding: 32px; } .service-map { min-height: 300px; } /* Contact Section Clipart */ .crocodile-clipart { width: 92px; bottom: 5px; } .vine-clipart { width: 132px; bottom: 5px; } .vine-left { left: 210px; } .vine-right { right: 210px; } /* NDIS Logo - Tablet */ .ndis-logo-clipart { width: 90px; top: 80px; right: 30px; } /* Multidisciplinary Section - Tablet */ .benefits-grid { gap: 24px; } .collaboration-highlight { padding: 28px 32px; } /* Blog Grid - Tablet */ .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } /* Article Hero - Tablet */ .article-hero-content { gap: 40px; } .article-hero h1 { font-size: 36px; } .article-hero-image { width: 320px; height: 320px; } /* Footer */ .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } .footer-bottom { flex-direction: column; gap: 16px; text-align: center; } } /* ======================================== MOBILE - Max Width 480px ======================================== */ @media (max-width: 480px) { /* Typography */ h1 { font-size: 28px; } h2 { font-size: 24px; } h3 { font-size: 20px; } .section-heading { font-size: 28px; } /* Container Padding */ .container { padding: 0 16px; } /* Header */ .site-header { padding: 16px 0; } .header-pills { gap: 12px; padding: 0 16px; position: relative; } /* Maintain mobile layout order: Hamburger - Logo - Phone */ .hamburger-menu { order: 1; width: 45px; height: 45px; flex-shrink: 0; } .logo-pill { order: 2; position: absolute; left: 50%; transform: translateX(-50%); margin: 0; } .logo-pill a { display: flex; align-items: center; justify-content: center; } .logo-pill img { height: 40px; } .phone-pill { order: 3; flex-shrink: 0; background: transparent !important; box-shadow: none !important; padding: 0 !important; } .phone-pill:hover { box-shadow: none !important; } .phone-pill .phone-text { display: none; } .phone-icon { width: 24px !important; /* Increased by 35%: 18px * 1.35 = 24.3px ≈ 24px */ height: 24px !important; color: var(--primary-green); } /* Hero Section */ .hero-section { padding: 80px 0 30px; } .hero-section.hero-home { padding: 100px 0 50px; position: relative; overflow: visible; } /* Remove hero-image from grid flow on mobile */ .hero-home .hero-content { display: block; } /* Add spacing below button for images */ .hero-home .hero-text { margin-bottom: 30px; } .hero-text h1 { font-size: 28px; text-align: center; margin-top: 20px; } .hero-text h2 { font-size: 14px; text-align: center; } /* Show mobile break on mobile screens */ .mobile-break { display: inline; } /* Mobile H1 - Sniglet Font */ body.home h1 { font-family: "Sniglet", cursive, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #8BC34A; font-weight: 400; } /* Mobile: hide desktop h2, show mobile h2 */ .desktop-h2 { display: none; } .mobile-h2 { display: block; } /* Mobile button wrapper with bird decoration */ .mobile-btn-wrapper { position: relative; display: inline-block; margin: 0 auto; } .hero-btn { font-size: 16px; padding: 14px 32px; position: relative; z-index: 2; } .btn-bird-decoration { position: absolute; width: 60px; height: 60px; left: 15px; top: -35px; z-index: 1; pointer-events: none; } /* Mobile expertise section - clipart container override */ .expertise-section .clipart-container.mobile-only { display: block !important; position: absolute; top: 0; left: 0; right: 0; width: 100%; max-width: none; height: 100%; pointer-events: none; transform: none; } /* Mobile expertise section - elephant with glasses (left) */ .elephant-glasses-clipart { position: absolute !important; display: block !important; width: 70px; height: auto; top: 1px; left: 50%; transform: translateX(-69px); z-index: 999 !important; opacity: 0.8; pointer-events: auto; } /* Mobile expertise section - baby elephant (right) */ .elephant-baby-clipart { position: absolute !important; display: block !important; width: 42px; height: auto; top: 20px; left: 50%; transform: translateX(10px); z-index: 999 !important; opacity: 0.8; pointer-events: auto; } /* Hero Images - Positioned below button */ .hero-home .hero-image { position: relative; height: 240px; pointer-events: none; display: block; margin-top: 20px; overflow: hidden; width: 100%; } .nikkita-photo { max-width: 180px; position: absolute; bottom: 92px; /* Moved down slightly (was 100px) */ left: 50%; margin-left: -120px; /* Moved more to the right (was -130px) */ margin-bottom: 0; } .lady-photo { max-width: 180px; position: absolute; bottom: 0; left: 50%; margin-left: 5px; margin-top: 0; } /* Hide most clipart on mobile, show selected ones */ .clipart { display: none; } /* Show selected clipart on mobile - resized and repositioned */ .monkey-clipart { display: block; width: 60px; right: 15px; top: 70px; /* Positioned just below nav bar, near phone icon */ } /* Hide frog and branches in hero section on mobile */ .hero-home .frog-clipart, .hero-home .branch-left, .hero-home .branch-right { display: none !important; } /* Show frog and branches only in service-locations section on mobile */ .service-locations-section .frog-mobile-only { display: block; width: 32px; left: 50%; transform: translateX(-50%); top: 15px; } .service-locations-section .branch-mobile-only.branch-left { display: block; width: 70px; left: 50%; margin-left: -90px; top: 30px; /* Positioned lower to align with frog's feet */ } .service-locations-section .branch-mobile-only.branch-right { display: block; width: 70px; right: 50%; margin-right: -90px; top: 30px; /* Positioned lower to align with frog's feet */ } /* Image Carousel - Mobile */ .image-carousel { height: 280px; max-width: 320px; margin: 0 auto 12px; } .carousel-card:nth-child(2) { transform: translateX(5px) translateY(5px); } .carousel-card:nth-child(3) { transform: translateX(10px) translateY(10px); } .carousel-card:nth-child(4) { transform: translateX(15px) translateY(15px); } .carousel-dots .dot { width: 10px; height: 10px; } .carousel-hint { font-size: 12px; } /* Remove sticky positioning on mobile */ .about-image { position: relative; top: auto; } /* Multidisciplinary Section - Mobile */ .multidisciplinary-section { padding: 60px 0; } .benefits-grid { grid-template-columns: 1fr; gap: 20px; } .benefit-card { padding: 24px; } .collaboration-highlight { padding: 24px; } /* Section Padding */ .service-locations-section, .expertise-section, .about-me-section, .faq-section, .contact-section { padding: 60px 0; } /* Service locations needs relative positioning for clipart on mobile */ .service-locations-section { position: relative; } .section-heading { margin-bottom: 40px; } .section-subheading { font-size: 16px; margin-bottom: 40px; } /* Service Locations */ .service-locations-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } .service-icon { width: 56px; height: 56px; } .service-label { font-size: 12px; padding: 8px 14px; } /* Expertise Grid */ .expertise-grid { grid-template-columns: 1fr; gap: 20px; } .expertise-card { padding: 24px; } .expertise-title { min-height: auto; } .expertise-description { min-height: auto; } /* Buttons */ .btn-primary, .btn-secondary { font-size: 16px; padding: 14px 32px; } /* Contact Form */ .contact-form-wrapper { padding: 24px; } .form-group input, .form-group textarea { padding: 14px 16px; font-size: 16px; /* Prevent zoom on iOS */ } .form-group label { font-size: 13px; padding-left: 16px; } .service-map { min-height: 250px; } .contact-details { padding: 24px; } .contact-details h3 { font-size: 20px; } /* FAQ */ .faq-question { padding: 16px 20px; font-size: 16px; } .faq-answer-content { padding: 0 20px 16px; font-size: 15px; } /* Footer */ .site-footer { padding: 40px 0 20px; } .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-column { text-align: center; } .footer-logo { display: flex; justify-content: center; } .footer-bottom { flex-direction: column; gap: 12px; text-align: center; } .footer-legal-links { justify-content: center; } /* Blog Grid - Mobile */ .blog-grid { grid-template-columns: 1fr; gap: 32px; } .blog-card-image { height: 200px; } .blog-card-content { padding: 24px; } .blog-card-title { font-size: 20px; } /* Article Hero - Mobile */ .article-hero-content { flex-direction: column; gap: 32px; } .article-hero h1 { font-size: 28px; } .article-hero h2 { font-size: 16px; } .article-hero-image { width: 100%; height: 280px; } /* Article Content - Mobile */ .article-content { padding: 32px 24px; } .article-content h3 { font-size: 22px; } .article-content p, .article-content li { font-size: 16px; } .article-author-bio { padding: 32px 24px; } } /* ======================================== VERY SMALL SCREENS - Max Width 360px ======================================== */ @media (max-width: 360px) { h1 { font-size: 24px; } .section-heading { font-size: 24px; } .hero-text h1 { font-size: 24px; } .hero-text h2 { font-size: 14px; } .logo-pill img { height: 35px; } .service-locations-grid { grid-template-columns: repeat(2, 1fr); /* Keep 2x2 grid even on very small screens */ } } /* ======================================== PRINT STYLES ======================================== */ @media print { .site-header, .mobile-nav, .site-footer, .btn-primary, .btn-secondary { display: none; } body { background: white; color: black; } .hero-section, .service-locations-section, .expertise-section, .about-me-section, .contact-section { background: white; padding: 20px 0; } a { color: black; text-decoration: underline; } } /* Mobile Navigation Fix Resolves the issue where the logo pill drops down to the right on mobile load. This overrides the desktop animation with a mobile-specific one that preserves centering. */ @keyframes slideDownPillCentered { 0% { transform: translateX(-50%) translateY(-100px); opacity: 0; } 100% { transform: translateX(-50%) translateY(0); opacity: 1; } } @media (max-width: 768px) { body.home .site-header.header-animated .logo-pill { animation-name: slideDownPillCentered !important; animation-duration: 0.5s !important; animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important; animation-fill-mode: forwards !important; animation-delay: 0.1s !important; /* CRITICAL: Set initial transform to preserve centering */ transform: translateX(-50%) translateY(-100px); } } /* Fix for "Falling Frog" Issue Ensures the frog in the Service Locations section stays contained and doesn't fall to the footer. */ .service-locations-section { position: relative; } /* Fix for "Double Up" Issue Hide the mobile-only frog and branches on desktop by default. */ .frog-mobile-only, .branch-mobile-only { display: none; } /* Show them only on mobile screens */ @media (max-width: 480px) { .frog-mobile-only, .branch-mobile-only { display: block; } } /* About Me Section Fixes - Increase indentation for text - Center all headers */ .about-me-section .about-text { padding-left: 20px; padding-right: 20px; } .about-me-section h2 { text-align: center; } .about-me-section .about-text h3 { text-align: left; } /* Ensure the container itself handles the padding nicely on larger screens if needed */ @media (min-width: 769px) { .about-me-section .about-text { padding-left: 40px; padding-right: 40px; } } /* Mobile Footer Compact Fix - Uses CSS Grid to put Quick Links and Services side-by-side - Reduces vertical spacing - Centers links under headers */ @media (max-width: 768px) { .site-footer .footer-grid { display: grid; grid-template-columns: 1fr 1fr; /* Two equal columns */ gap: 20px; text-align: left; } /* Make the About column (1st) and Contact column (4th) span full width */ .site-footer .footer-column:nth-child(1), .site-footer .footer-column:nth-child(4) { grid-column: 1 / -1; text-align: center; } /* Adjust specific columns for the side-by-side layout */ .site-footer .footer-column:nth-child(2), .site-footer .footer-column:nth-child(3) { text-align: center; /* Center links under headers */ padding-left: 0; } /* Reduce spacing */ .site-footer { padding: 40px 0 20px; } .site-footer .footer-column { margin-bottom: 10px; } .site-footer h4 { margin-bottom: 15px; font-size: 18px; text-align: center; /* Ensure headers are centered */ } .site-footer ul li { margin-bottom: 8px; } }