/* Reset box sizing */ *, *::before, *::after { box-sizing: border-box; } body { margin: 0; font-family: 'Poppins', sans-serif; background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%); color: #1e1e1e; scroll-behavior: smooth; } .hero { background: linear-gradient(135deg, #9be15d 0%, #00e3ae 100%); color: white; padding: 6rem 2rem; text-align: center; } .hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); /* scales between mobile and large desktop */ font-weight: 800; letter-spacing: 2px; margin-bottom: 1rem; } .hero p { font-size: clamp(1rem, 3vw, 1.5rem); /* responsive subtitle */ font-weight: 300; max-width: 700px; margin: 0 auto; line-height: 1.6; } /* Optional: Add some padding adjustment for smaller screens */ @media (max-width: 480px) { .hero { padding: 4rem 1rem; } } .section { max-width: 1200px; margin: auto; padding: 5rem 2rem; } .section h2 { text-align: center; font-size: clamp(2rem, 5vw, 2.8rem); /* Responsive heading size */ color: #3a3a3a; margin-bottom: 2rem; font-weight: 700; } .section p { text-align: center; font-size: clamp(1rem, 2.5vw, 1.25rem); /* Responsive paragraph size */ max-width: 900px; margin: 0 auto; line-height: 1.7; color: #444; } /* Optional tighter padding on very small screens */ @media (max-width: 480px) { .section { padding: 3rem 1rem; } } .features-section { display: flex; flex-wrap: wrap; justify-content: center; padding: 40px 20px; background: linear-gradient(to bottom, #f5f7fa, #ffffff); } /* Card Styles */ .feature-card { background: #ffffff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border-radius: 16px; overflow: hidden; margin: 15px; flex: 1 1 calc(33.333% - 40px); max-width: 360px; display: flex; flex-direction: column; transition: transform 0.3s ease; } .feature-card:hover { transform: translateY(-8px); } .feature-card img { width: 100%; height: 200px; object-fit: cover; } .feature-content { padding: 20px; } .feature-content h3 { margin: 0 0 10px; font-size: 1.4rem; color: #333; } .feature-content p { margin: 0; font-size: 1rem; line-height: 1.5; color: #555; } /* Responsive Media Queries */ @media (max-width: 992px) { .feature-card { flex: 1 1 calc(45% - 30px); } } @media (max-width: 600px) { .feature-card { flex: 1 1 100%; max-width: 100%; } .feature-content { padding: 15px; } .feature-content h3 { font-size: 1.2rem; } .feature-content p { font-size: 0.95rem; } } .future { background: linear-gradient(to right, #e0f7fa, #fff3e0); padding: 5rem 2rem; text-align: center; } .future h2 { font-size: 2.8rem; margin-bottom: 1.5rem; color: #2e7d32; } .future p { font-size: 1.2rem; max-width: 900px; margin: auto; color: #333; }