/* home page css styling */ .page-content { max-width: 100% !important; padding: 0 !important; } .home-container { display: flex; flex-direction: column; width: 100%; max-width: 100%; } .main-content-wrapper { display: flex; flex-direction: column; gap: 2rem; padding: 2rem; } @media (min-width: 1024px) { .main-content-wrapper { flex-direction: row; align-items: flex-start; } .left-column { position: sticky; top: 2rem; width: 35%; flex-shrink: 0; } .right-column { flex-grow: 1; width: 65%; } } .welcome-message { text-align: center; padding: 4rem 2rem; perspective: 1000px; margin-bottom: 2rem; } .welcome-intro { display: block; font-size: 1.8rem; color: var(--md-primary-fg-color); opacity: 0.8; margin-bottom: 0.5rem; font-weight: 500; } .welcome-message h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); background: linear-gradient( 45deg, #2196f3 10%, #64b5f6 20%, #90caf9 30%, #bbdefb 40%, #90caf9 50%, #64b5f6 60%, #2196f3 70% ); color: transparent; -webkit-background-clip: text; background-clip: text; text-transform: uppercase; font-weight: 900; letter-spacing: 3px; margin-bottom: 1.5rem; position: relative; animation: shine 8s linear infinite; text-shadow: 2px 2px 0px #1565C0, 4px 4px 0px #0D47A1, 8px 8px 0px #052555, 12px 12px 25px rgba(0,0,0,0.3), 16px 16px 35px rgba(0,0,0,0.2); transform: perspective(1000px) rotateX(-15deg); } .welcome-message h1::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient( 135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100% ); -webkit-background-clip: text; background-clip: text; pointer-events: none; } .welcome-message h1::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100% ); transform: skewX(-20deg); animation: sunray 3s ease-in-out infinite; opacity: 0; } @keyframes shine { 0% { background-position: 200% 50%; } 100% { background-position: -200% 50%; } } @keyframes sunray { 0% { opacity: 0; transform: translateX(-100%) skewX(-20deg); } 50% { opacity: 0.7; } 100% { opacity: 0; transform: translateX(100%) skewX(-20deg); } } .welcome-message p { font-size: 1.5rem; max-width: 800px; margin: 0 auto; color: var(--md-typeset-color); } .welcome-message img { max-width: 100%; height: auto; } /* Ensure consistent width and centering for both grid sections */ .grid-section { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 1.5rem; width: calc(100% - 3rem); max-width: 1200px; margin: 2rem 0; } /* Add spacing between grid sections */ .grid-section + .grid-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--md-primary-fg-color--lightest); } .grid-item { background: var(--md-primary-fg-color--light); color: var(--md-primary-bg-color); border-radius: 10px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; box-shadow: 0 8px 15px rgba(0,0,0,0.15), 0 12px 25px rgba(0,0,0,0.1), inset 0 -4px 0px #1565C0, inset 0 -8px 0px #0D47A1; transition: transform 0.2s ease-in-out, box-shadow 0.2s ease, background-color 0.3s ease; text-align: center; } .grid-item:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(0,0,0,0.2), 0 20px 40px rgba(0,0,0,0.15), inset 0 -4px 0px #1565C0, inset 0 -8px 0px #0D47A1; background-color: #2196f3; } /* Ensure consistent height for grid items */ .grid-item h2 { color: var(--md-primary-bg-color); margin-top: 0; font-size: 1.6rem; /* Slightly smaller font */ font-weight: 700; /* Making headers bold */ } .grid-item p { color: var(--md-primary-bg-color); opacity: 0.9; flex-grow: 1; margin: 0.75rem 0; /* Reduced from 1rem */ font-size: 0.95rem; /* Slightly smaller text */ } /* Responsive adjustments */ @media (max-width: 1023px) { .grid-section { grid-template-columns: 1fr !important; } } @media (max-width: 768px) { .welcome-message { padding: 0.5rem 0; margin: 0; } .welcome-intro { font-size: 1.4rem; } .welcome-message h1 { white-space: nowrap; } .welcome-message p { font-size: 1rem; padding: 0 0.5rem; margin: 0.5rem 0; } .welcome-message img { width: 100% !important; max-width: 300px !important; height: auto !important; margin: 1rem auto !important; } .grid-section { grid-template-columns: 1fr !important; gap: 0.5rem; padding: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0.5rem -0.25rem !important; } .grid-item { min-height: 180px; width: 100% !important; margin: 0 !important; padding: 1rem !important; border-radius: 0; } /* Align wealth-section width with grid items */ .wealth-section { width: 100% !important; margin: 0.5rem -0.25rem !important; padding: 1rem !important; max-width: 100% !important; border-radius: 0; } .newsletter-container { padding: 1rem; margin: 0.5rem -0.25rem; width: 100%; max-width: 100%; border-radius: 0; } .left-column, .right-column { width: 100% !important; padding: 0 !important; margin: 0 !important; } .main-content-wrapper { padding: 0.25rem !important; } .grid-section { grid-template-columns: 1fr !important; gap: 0.5rem; padding: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0.5rem -0.25rem !important; } .grid-item { min-height: 180px; width: 100% !important; margin: 0 !important; padding: 1rem !important; border-radius: 0; } /* Align wealth-section width with grid items */ .wealth-section { width: 100% !important; margin: 0.5rem -0.25rem !important; padding: 1rem !important; max-width: 100% !important; border-radius: 0; } .newsletter-container { padding: 1rem; margin: 0.5rem -0.25rem; width: 100%; max-width: 100%; border-radius: 0; } .left-column, .right-column { width: 100% !important; padding: 0 !important; margin: 0 !important; } .main-content-wrapper { padding: 0 !important; margin: 0 !important; } .grid-section { grid-template-columns: 1fr !important; gap: 0.25rem; padding: 0 !important; width: 100vw !important; max-width: 100vw !important; margin: 0 !important; } .grid-item { min-height: 180px; width: 100% !important; margin: 0 !important; padding: 1rem !important; border-radius: 0; } .wealth-section { width: 100vw !important; margin: 0 !important; padding: 1rem !important; max-width: 100vw !important; border-radius: 0; } .newsletter-container { padding: 1rem; margin: 0; width: 100vw; max-width: 100vw; border-radius: 0; } .left-column, .right-column { width: 100vw !important; padding: 0 !important; margin: 0 !important; } .welcome-message { padding: 1rem 0; margin: 0; } .page-content { margin: 0 !important; padding: 0 !important; } .quote-box { padding: 80px 20px !important; margin: 0 !important; width: 100vw !important; border-radius: 0; } .quote-box > div { padding: 20px 25px !important; } .wealth-section { width: 100vw !important; margin: 0 !important; padding: 1rem !important; } .wealth-section h2 { font-size: 1.4rem; margin: 0.5rem 0; } .wealth-section p { margin: 0.5rem 0; font-size: 1rem; line-height: 1.4; } .main-content-wrapper { padding: 0.5rem !important; margin: 0 !important; } .grid-section { grid-template-columns: 1fr !important; gap: 0.25rem; padding: 0.5rem !important; width: calc(100% - 1rem) !important; max-width: 100% !important; margin: 0 auto !important; } .grid-item { min-height: 180px; width: 100% !important; margin: 0.25rem 0 !important; padding: 1.25rem !important; border-radius: 4px; } .wealth-section { width: calc(100% - 1rem) !important; margin: 0.5rem auto !important; padding: 1.25rem !important; max-width: 100% !important; border-radius: 4px; } .newsletter-container { padding: 1.25rem; margin: 0.5rem auto; width: calc(100% - 1rem); max-width: 100%; border-radius: 4px; } .quote-box { padding: 80px 20px !important; margin: 0.5rem auto !important; width: calc(100% - 1rem) !important; border-radius: 4px; } .left-column, .right-column { width: 100% !important; padding: 0 0.5rem !important; margin: 0 !important; } .welcome-message { padding: 1rem 0.5rem; margin: 0; } .page-content { margin: 0 !important; padding: 0.5rem !important; } } .cta-button { display: inline-block; padding: 0.6rem 1.2rem; /* Reduced from 0.8rem 1.6rem */ margin-top: 0.75rem; /* Reduced from 1rem */ background-color: var(--md-primary-bg-color); color: var(--md-primary-fg-color) !important; border-radius: 4px; text-decoration: none; font-weight: bold; transition: background-color 0.2s ease, transform 0.2s ease; } .cta-button:hover { background-color: var(--md-accent-fg-color); color: var(--md-accent-bg-color) !important; transform: translateY(-2px); } [data-md-color-scheme="slate"] .welcome-message h1 { text-shadow: 2px 2px 0px #1565C0, 4px 4px 0px #0D47A1, 8px 8px 0px #052555, 12px 12px 25px rgba(255,255,255,0.1), 16px 16px 35px rgba(0,0,0,0.3); } [data-md-color-scheme="slate"] .welcome-message h1::before { background: linear-gradient( 135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(0,0,0,0.15) 100% ); } [data-md-color-scheme="slate"] .grid-item { background: var(--md-primary-fg-color--light); box-shadow: 0 8px 15px rgba(0,0,0,0.25), 0 12px 25px rgba(0,0,0,0.2), inset 0 -4px 0px #0D47A1, inset 0 -8px 0px #052555; } [data-md-color-scheme="slate"] .grid-item:hover { box-shadow: 0 16px 30px rgba(0,0,0,0.3), 0 20px 40px rgba(0,0,0,0.25), inset 0 -4px 0px #0D47A1, inset 0 -8px 0px #052555; } [data-md-color-scheme="slate"] .cta-button { transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease; } [data-md-color-scheme="slate"] .cta-button:hover { background-color: var(--md-accent-fg-color); color: var(--md-accent-bg-color) !important; transform: translateY(-2px); } .quote-box { font-style: italic; background: var(--md-code-bg-color); padding: 1rem; border-radius: 4px; margin: 2rem 0; max-width: 800px; text-align: center; width: 100% !important; left: 0 !important; transform: none !important; } .newsletter-container { background: var(--md-primary-fg-color--light); padding: 1.5rem; border-radius: 10px; margin: 1rem 0; max-width: 400px; } .listmonk-form { padding: 1rem; } .listmonk-form h3 { font-size: 1.4rem; margin-bottom: 1rem; } .listmonk-form input[type="email"], .listmonk-form input[type="text"] { padding: 0.6rem; margin-bottom: 0.75rem; } .checkbox-wrapper { margin-bottom: 1rem; } .wealth-section { margin: 2rem 0 !important; width: 100% !important; } .free-resources-button { text-align: center; margin: 2rem 0; } .cta-button-red { background-color: #dc3545 !important; color: white !important; font-size: 1.2rem; padding: 1.5rem !important; width: 150px; height: 150px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2; box-shadow: 0 8px 15px rgba(220, 53, 69, 0.25), 0 12px 25px rgba(220, 53, 69, 0.2), inset 0 -4px 0px #c82333, inset 0 -8px 0px #a51925; transition: transform 0.2s ease-in-out, box-shadow 0.2s ease; } .cta-button-red:hover { background-color: #c82333 !important; color: white !important; transform: translateY(-5px); box-shadow: 0 16px 30px rgba(220, 53, 69, 0.3), 0 20px 40px rgba(220, 53, 69, 0.25), inset 0 -4px 0px #c82333, inset 0 -8px 0px #a51925; } [data-md-color-scheme="slate"] .cta-button-red { background-color: #dc3545 !important; box-shadow: 0 8px 15px rgba(220, 53, 69, 0.35), 0 12px 25px rgba(220, 53, 69, 0.3), inset 0 -4px 0px #c82333, inset 0 -8px 0px #a51925; } [data-md-color-scheme="slate"] .cta-button-red:hover { background-color: #c82333 !important; box-shadow: 0 16px 30px rgba(220, 53, 69, 0.4), 0 20px 40px rgba(220, 53, 69, 0.35), inset 0 -4px 0px #c82333, inset 0 -8px 0px #a51925; } /* Red circular button styles with higher specificity */ .free-resources-button .cta-button.cta-button-red { background-color: #dc3545; color: white !important; font-size: 1.2rem; padding: 1.5rem !important; width: 150px; height: 150px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2; box-shadow: 0 8px 15px rgba(220, 53, 69, 0.25), 0 12px 25px rgba(220, 53, 69, 0.2), inset 0 -4px 0px #c82333, inset 0 -8px 0px #a51925; transition: transform 0.2s ease-in-out, box-shadow 0.2s ease; margin-top: 0; } .free-resources-button .cta-button.cta-button-red:hover { background-color: #c82333; color: white !important; transform: translateY(-5px); box-shadow: 0 16px 30px rgba(220, 53, 69, 0.3), 0 20px 40px rgba(220, 53, 69, 0.25), inset 0 -4px 0px #c82333, inset 0 -8px 0px #a51925; } [data-md-color-scheme="slate"] .free-resources-button .cta-button.cta-button-red { background-color: #dc3545; box-shadow: 0 8px 15px rgba(220, 53, 69, 0.35), 0 12px 25px rgba(220, 53, 69, 0.3), inset 0 -4px 0px #c82333, inset 0 -8px 0px #a51925; } [data-md-color-scheme="slate"] .free-resources-button .cta-button.cta-button-red:hover { background-color: #c82333; box-shadow: 0 16px 30px rgba(220, 53, 69, 0.4), 0 20px 40px rgba(220, 53, 69, 0.35), inset 0 -4px 0px #c82333, inset 0 -8px 0px #a51925; } /* Mobile responsive adjustments for circular button */ @media (max-width: 768px) { .cta-button-red { width: 120px; height: 120px; font-size: 1rem; padding: 1rem !important; } } .button-base { background: rgba(220, 53, 69, 0.1); width: 200px; height: 200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 8px; box-shadow: 0 4px 6px rgba(220, 53, 69, 0.1), inset 0 1px 3px rgba(220, 53, 69, 0.2); } [data-md-color-scheme="slate"] .button-base { background: rgba(220, 53, 69, 0.15); box-shadow: 0 4px 6px rgba(220, 53, 69, 0.15), inset 0 1px 3px rgba(220, 53, 69, 0.25); }